Skip to content

Commit 43779b1

Browse files
authored
Merge pull request #383 from belltalion/LFOP-12
fix home page
2 parents 5313f59 + e88c4e2 commit 43779b1

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

apps/landing/script.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
import { glob, readFile, writeFile } from 'node:fs/promises'
1+
import { readFile, writeFile } from 'node:fs/promises'
2+
3+
import { glob } from 'glob'
24

35
const files = await glob('src/**/*.mdx')
46

apps/landing/src/app/OtherCard.tsx

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Box, Flex, Text, VStack } from '@devup-ui/react'
1+
import { css, Flex, Text, VStack } from '@devup-ui/react'
22
import Link from 'next/link'
33

44
interface OtherCardProps {
@@ -27,19 +27,17 @@ export function OtherCard({
2727
p={[6, null, '30px']}
2828
>
2929
<VStack gap="8px">
30-
<Box
31-
as={Link}
32-
props={{
33-
href: url,
34-
target: '_blank',
35-
children: (
36-
<Text color="$captionBold" typography="h6">
37-
{title}
38-
</Text>
39-
),
40-
}}
41-
textDecoration="none"
42-
/>
30+
<Link
31+
className={css({
32+
textDecoration: 'none',
33+
})}
34+
href={url}
35+
target="_blank"
36+
>
37+
<Text color="$captionBold" typography="h6">
38+
{title}
39+
</Text>
40+
</Link>
4341
<Text color="$captionBold" typography="textL">
4442
{version}
4543
</Text>

0 commit comments

Comments
 (0)