diff --git a/apps/landing/src/app/(detail)/components/MdxCardFooter.tsx b/apps/landing/src/app/(detail)/components/MdxCardFooter.tsx index dc93fcfa..5d8f5266 100644 --- a/apps/landing/src/app/(detail)/components/MdxCardFooter.tsx +++ b/apps/landing/src/app/(detail)/components/MdxCardFooter.tsx @@ -18,7 +18,12 @@ export default function MdxCardFooter({ const handleCopy = () => { navigator.clipboard .writeText(code) - .then(() => setCopied(true)) + .then(() => { + setCopied(true) + setTimeout(() => { + setCopied(false) + }, 1000 * 5) + }) .catch(() => setCopied(false)) } diff --git a/apps/landing/src/app/(detail)/components/overview/page.tsx b/apps/landing/src/app/(detail)/components/overview/page.tsx index 437d5b92..488d27bf 100644 --- a/apps/landing/src/app/(detail)/components/overview/page.tsx +++ b/apps/landing/src/app/(detail)/components/overview/page.tsx @@ -15,11 +15,9 @@ export default function Page() { Devup UI Components - Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam - venenatis, elit in hendrerit porta, augue ante scelerisque diam, ac - egestas lacus est nec urna. Cras commodo risus hendrerit, suscipit nibh - at, porttitor dui. Vivamus tincidunt pretium nibh et pulvinar. Nam quis - tristique neque, vitae facilisis justo. Ut non tristique dui. + Devup UI is a library of components that can be used to build web + applications. It is built with React and TypeScript and is designed to + be used with the Devup framework.