Skip to content

Commit 2918a76

Browse files
authored
Merge pull request #242 from forestream/fix-overview
Fix overview content
2 parents 3017a5d + c19869e commit 2918a76

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

apps/landing/src/app/(detail)/components/MdxCardFooter.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,12 @@ export default function MdxCardFooter({
1818
const handleCopy = () => {
1919
navigator.clipboard
2020
.writeText(code)
21-
.then(() => setCopied(true))
21+
.then(() => {
22+
setCopied(true)
23+
setTimeout(() => {
24+
setCopied(false)
25+
}, 1000 * 5)
26+
})
2227
.catch(() => setCopied(false))
2328
}
2429

apps/landing/src/app/(detail)/components/overview/page.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,9 @@ export default function Page() {
1515
Devup UI Components
1616
</Text>
1717
<Text color="$text" typography="bodyReg">
18-
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam
19-
venenatis, elit in hendrerit porta, augue ante scelerisque diam, ac
20-
egestas lacus est nec urna. Cras commodo risus hendrerit, suscipit nibh
21-
at, porttitor dui. Vivamus tincidunt pretium nibh et pulvinar. Nam quis
22-
tristique neque, vitae facilisis justo. Ut non tristique dui.
18+
Devup UI is a library of components that can be used to build web
19+
applications. It is built with React and TypeScript and is designed to
20+
be used with the Devup framework.
2321
</Text>
2422
<VStack gap="16px" overflow="visible" py="30px">
2523
<Text color="$title" typography="h6">

0 commit comments

Comments
 (0)