diff --git a/src/components/ui/gist-landing.tsx b/src/components/ui/gist-landing.tsx index dc414d2..98b7995 100644 --- a/src/components/ui/gist-landing.tsx +++ b/src/components/ui/gist-landing.tsx @@ -8,7 +8,7 @@ import { ChevronRightIcon, DownloadIcon, FolderOpen, LogIn, ShareIcon } from 'lu import { useRef } from 'react' import { Codearea } from '../shadcn/codearea' import { getLanguage } from '@/lib/language' -import { Dialog, DialogContent, DialogHeader, DialogTitle, DialogTrigger } from '../shadcn/dialog' +import { Dialog, DialogContent, DialogTitle, DialogTrigger } from '../shadcn/dialog' import { Button } from '../shadcn/button' interface GistLandingProps { @@ -50,10 +50,10 @@ export default function GistLanding({ gist, onDownload, onLogin, onShare, onShar
Welcome in Gists.app - - {gist.name} + + {gist.name}
-
+
@@ -72,7 +72,7 @@ export default function GistLanding({ gist, onDownload, onLogin, onShare, onShar - onDownload(gist.name, gist.code)} icon={} variant={'header'}> + onDownload(gist.name, gist.code)} icon={} variant={'header'}> Download @@ -99,7 +99,7 @@ export default function GistLanding({ gist, onDownload, onLogin, onShare, onShar Code
-
1
+ {/*
1
*/} {showLandingInformations && ( @@ -109,7 +109,7 @@ export default function GistLanding({ gist, onDownload, onLogin, onShare, onShar

All your data is saved locally in your browser, so just start typing.

-
+
@@ -132,7 +132,22 @@ export default function GistLanding({ gist, onDownload, onLogin, onShare, onShar
-
+
+ + + + onDownload(gist.name, gist.code)} icon={} variant={'header'}> + Download + + + + Download your Gist + + + + + + + diff --git a/src/components/ui/menu-button.tsx b/src/components/ui/menu-button.tsx index 38eb05a..f0d1ede 100644 --- a/src/components/ui/menu-button.tsx +++ b/src/components/ui/menu-button.tsx @@ -16,14 +16,12 @@ interface MenuButtonProps extends React.ButtonHTMLAttributes export default function MenuButton({ href, icon, children, letter, className, variant, size, ...props }: MenuButtonProps) { const ButtonContent = ( - )