diff --git a/src/components/common/footer.tsx b/src/components/common/footer.tsx index b0d9c4a..e351e44 100644 --- a/src/components/common/footer.tsx +++ b/src/components/common/footer.tsx @@ -29,7 +29,7 @@ export const Footer = () => { href={contact.href} className='flex gap-2 items-center opacity-60 hover:opacity-100' > - + {contact.label} ))} diff --git a/src/components/common/header.tsx b/src/components/common/header.tsx index ff9b89e..08a7cb5 100644 --- a/src/components/common/header.tsx +++ b/src/components/common/header.tsx @@ -51,7 +51,7 @@ export const Header = () => { {/* */} -
+
@@ -68,11 +68,14 @@ export const Header = () => { - + + +
diff --git a/src/components/sections/faq.tsx b/src/components/sections/faq.tsx index e4b5da1..2f7df63 100644 --- a/src/components/sections/faq.tsx +++ b/src/components/sections/faq.tsx @@ -12,7 +12,6 @@ export const FAQ = () => {

FAQS

-

Common Questions

@@ -20,7 +19,6 @@ export const FAQ = () => { {DATA.faq.map(({ question, answer }, idx) => ( {question} - {answer} ))} diff --git a/src/components/sections/hero.tsx b/src/components/sections/hero.tsx index 91f8bfb..9b616f2 100644 --- a/src/components/sections/hero.tsx +++ b/src/components/sections/hero.tsx @@ -1,7 +1,7 @@ 'use client' import { ChevronRight, Github } from 'lucide-react' -// import Link from 'next/link' +import Link from 'next/link' import { Button } from '@/components/ui/button' @@ -17,34 +17,40 @@ export const Hero = () => {
-

Explore our documentations

+

Explore our documentation

- - + + - - Github - - + +
diff --git a/src/components/toogle-theme.tsx b/src/components/toogle-theme.tsx index 2febcf5..55fc429 100644 --- a/src/components/toogle-theme.tsx +++ b/src/components/toogle-theme.tsx @@ -1,29 +1,27 @@ import { useTheme } from 'next-themes' import { Moon, Sun } from 'lucide-react' - -import { Button } from '@/components/ui/button' +import Link from 'next/link' export const ToggleTheme = () => { const { theme, setTheme } = useTheme() return ( - + ) } diff --git a/src/components/ui/button.tsx b/src/components/ui/button.tsx index 65d4fcd..1597110 100644 --- a/src/components/ui/button.tsx +++ b/src/components/ui/button.tsx @@ -1,36 +1,33 @@ -import * as React from "react" -import { Slot } from "@radix-ui/react-slot" -import { cva, type VariantProps } from "class-variance-authority" +import * as React from 'react' +import { Slot } from '@radix-ui/react-slot' +import { cva, type VariantProps } from 'class-variance-authority' -import { cn } from "@/lib/utils" +import { cn } from '@/lib/utils' const buttonVariants = cva( - "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0", + 'inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0', { variants: { variant: { - default: - "bg-primary text-primary-foreground shadow hover:bg-primary/90", - destructive: - "bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90", + default: 'bg-primary text-primary-foreground shadow hover:bg-primary/90', + destructive: 'bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90', outline: - "border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground", - secondary: - "bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80", - ghost: "hover:bg-accent hover:text-accent-foreground", - link: "text-primary underline-offset-4 hover:underline", + 'border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground', + secondary: 'bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80', + ghost: 'hover:bg-accent hover:text-accent-foreground', + link: 'text-primary underline-offset-4 hover:underline' }, size: { - default: "h-9 px-4 py-2", - sm: "h-8 rounded-md px-3 text-xs", - lg: "h-10 rounded-md px-8", - icon: "h-9 w-9", - }, + default: 'h-9 px-4 py-2', + sm: 'h-8 rounded-md px-3 text-xs', + lg: 'h-10 rounded-md px-8', + icon: 'h-9 w-9' + } }, defaultVariants: { - variant: "default", - size: "default", - }, + variant: 'default', + size: 'default' + } } ) @@ -42,16 +39,12 @@ export interface ButtonProps const Button = React.forwardRef( ({ className, variant, size, asChild = false, ...props }, ref) => { - const Comp = asChild ? Slot : "button" + const Comp = asChild ? Slot : 'button' return ( - + ) } ) -Button.displayName = "Button" +Button.displayName = 'Button' export { Button, buttonVariants } diff --git a/src/pages/_meta.ts b/src/pages/_meta.ts new file mode 100644 index 0000000..29f4d11 --- /dev/null +++ b/src/pages/_meta.ts @@ -0,0 +1,5 @@ +const meta = { + docs: 'Documentation' +} + +export default meta diff --git a/src/pages/api/hello.ts b/src/pages/api/hello.ts index ea77e8f..9bafa6e 100644 --- a/src/pages/api/hello.ts +++ b/src/pages/api/hello.ts @@ -1,13 +1,10 @@ // Next.js API route support: https://nextjs.org/docs/api-routes/introduction -import type { NextApiRequest, NextApiResponse } from "next"; +import type { NextApiRequest, NextApiResponse } from 'next' type Data = { - name: string; -}; + name: string +} -export default function handler( - req: NextApiRequest, - res: NextApiResponse, -) { - res.status(200).json({ name: "John Doe" }); +export default function handler(req: NextApiRequest, res: NextApiResponse) { + res.status(200).json({ name: 'John Doe' }) } diff --git a/src/pages/docs/_meta.ts b/src/pages/docs/_meta.ts index b6a0144..d94e592 100644 --- a/src/pages/docs/_meta.ts +++ b/src/pages/docs/_meta.ts @@ -1,5 +1,5 @@ const meta = { - index: 'Documentations', + index: 'Welcome', drowser: 'Drowser', gelda: 'Gelda' } diff --git a/src/pages/docs/index.mdx b/src/pages/docs/index.mdx index 8b013d6..f82f58e 100644 --- a/src/pages/docs/index.mdx +++ b/src/pages/docs/index.mdx @@ -1 +1 @@ -# Index +# Welcome diff --git a/src/pages/fonts/GeistMonoVF.woff b/src/pages/fonts/GeistMonoVF.woff deleted file mode 100644 index f2ae185..0000000 Binary files a/src/pages/fonts/GeistMonoVF.woff and /dev/null differ diff --git a/src/pages/fonts/GeistVF.woff b/src/pages/fonts/GeistVF.woff deleted file mode 100644 index 1b62daa..0000000 Binary files a/src/pages/fonts/GeistVF.woff and /dev/null differ