We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c03cbd commit 2275a73Copy full SHA for 2275a73
1 file changed
apps/landing/src/app/(detail)/components/layout.tsx
@@ -2,12 +2,14 @@ import { Box, Flex } from '@devup-ui/react'
2
3
import { RightIndex } from '../docs/RightIndex'
4
import { LeftMenu } from './LeftMenu'
5
+import { ScrollToTop } from './ScrollToTop'
6
7
export default function Layout({
8
children,
9
}: Readonly<{ children: React.ReactNode }>) {
10
return (
11
<>
12
+ <ScrollToTop />
13
<Flex maxW="1920px" minH="calc(100vh - 500px)" mx="auto">
14
<Box display={['none', null, 'initial']} p="20px 16px" w="220px">
15
<Box pos="sticky" top={['70px', null, '90px']}>
0 commit comments