Skip to content

Commit ca1eccb

Browse files
committed
Update layout and improve Discord component styles; bump package dependencies
1 parent 3b21bc5 commit ca1eccb

File tree

9 files changed

+830
-721
lines changed

9 files changed

+830
-721
lines changed

apps/landing/public/discord-bg.svg

Lines changed: 20 additions & 13 deletions
Loading

apps/landing/src/app/(detail)/docs/layout.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@ export default function DetailLayout({
1919
<Box className="markdown-body" flex={1} px="60px" py="40px">
2020
{children}
2121
</Box>
22-
<RightIndex />
22+
<Box>
23+
<Box pos="sticky" top={['50px', null, '70px']}>
24+
<RightIndex />
25+
</Box>
26+
</Box>
2327
</Flex>
2428
</>
2529
)

apps/landing/src/components/Discord.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ export function Discord() {
99
alignItems="center"
1010
bgColor="$joinBg"
1111
bgImage={`url(${URL_PREFIX}/discord-bg.svg)`}
12-
bgPositionY={['bottom', null, 'initial']}
13-
bgSize={['contain', null, 'initial']}
12+
bgPositionX={['-20vw', null, '-30%']}
13+
bgPositionY="bottom"
14+
bgSize={['contain', null, '70%']}
1415
borderRadius="40px 40px 0px 40px"
1516
h="380px"
1617
justifyContent={[null, null, 'center']}
@@ -22,7 +23,7 @@ export function Discord() {
2223
ml={[null, null, 'auto']}
2324
pr={[null, null, '100px']}
2425
>
25-
<VStack gap="16px" textAlign={['center', null, 'left']}>
26+
<VStack gap="16px" px={5} textAlign={['center', null, 'left']}>
2627
<Text color="$title" typography="h4">
2728
Join our community
2829
</Text>

benchmark/next-chakra-ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"lint": "next lint"
1111
},
1212
"dependencies": {
13-
"@chakra-ui/react": "^3.5.0",
13+
"@chakra-ui/react": "^3.6.0",
1414
"@emotion/react": "^11.14.0",
1515
"next": "^15.1.6",
1616
"next-themes": "^0.4.4",

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@
1313
},
1414
"devDependencies": {
1515
"eslint-plugin-devup": "^2.0.1",
16-
"eslint": "^9.18.0",
17-
"vitest": "^3.0.4",
18-
"@vitest/coverage-v8": "^3.0.4",
19-
"@changesets/cli": "^2.27.11",
20-
"@types/node": "^22.10.10",
21-
"happy-dom": "^16.7.2",
16+
"eslint": "^9.19.0",
17+
"vitest": "^3.0.5",
18+
"@vitest/coverage-v8": "^3.0.5",
19+
"@changesets/cli": "^2.27.12",
20+
"@types/node": "^22.13.1",
21+
"happy-dom": "^16.8.1",
2222
"@testing-library/react": "^16.2.0"
2323
},
2424
"author": "devfive",
25-
"packageManager": "pnpm@9.15.4",
25+
"packageManager": "pnpm@10.2.0",
2626
"resolutions": {
2727
"vite": "^6"
2828
}

packages/next-plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"devDependencies": {
3030
"vite": "^6.0.11",
3131
"vite-plugin-dts": "^4.5.0",
32-
"vitest": "^3.0.4",
32+
"vitest": "^3.0.5",
3333
"typescript": "^5.7.3"
3434
},
3535
"peerDependencies": {

packages/react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"rollup-plugin-preserve-directives": "^0.4.0",
3131
"vite": "^6.0.11",
3232
"vite-plugin-dts": "^4.5.0",
33-
"vitest": "^3.0.4",
33+
"vitest": "^3.0.5",
3434
"typescript": "^5.7.3",
3535
"@types/react": "^19"
3636
},

packages/webpack-plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"vite": "^6.0.11",
3939
"@types/webpack": "^5.28.5",
4040
"vite-plugin-dts": "^4.5.0",
41-
"vitest": "^3.0.4",
41+
"vitest": "^3.0.5",
4242
"typescript": "^5.7.3"
4343
}
4444
}

0 commit comments

Comments
 (0)