Update landing page
parent
1132d10ad7
commit
3cba701a01
@ -1,54 +1,77 @@
|
|||||||
import NextLink from "next/link";
|
import NextLink from 'next/link'
|
||||||
import { Link } from "@nextui-org/link";
|
import { Link } from '@nextui-org/link'
|
||||||
import { Snippet } from "@nextui-org/snippet";
|
import { button as buttonStyles } from '@nextui-org/theme'
|
||||||
import { Code } from "@nextui-org/code"
|
import { siteConfig } from '@/config/site'
|
||||||
import { button as buttonStyles } from "@nextui-org/theme";
|
import { title, subtitle } from '@/components/primitives'
|
||||||
import { siteConfig } from "@/config/site";
|
import { GithubIcon } from '@/components/icons'
|
||||||
import { title, subtitle } from "@/components/primitives";
|
import { Card, CardHeader } from '@nextui-org/card'
|
||||||
import { GithubIcon } from "@/components/icons";
|
import { Image } from '@nextui-org/image'
|
||||||
|
|
||||||
export default function Home() {
|
export default function Home() {
|
||||||
|
const demoCard = {
|
||||||
|
name: 'Dashboard',
|
||||||
|
url: 'https://next-dashboard.tzgyn.com',
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<section className="flex flex-col items-center justify-center gap-4 py-8 md:py-10">
|
<section className='flex flex-col items-center justify-center gap-4 py-8 md:py-10'>
|
||||||
<div className="inline-block max-w-lg text-center justify-center">
|
<div className='inline-block max-w-lg justify-center text-center'>
|
||||||
<h1 className={title()}>Make </h1>
|
<h1 className={title({ color: 'blue' })}>Beautiful </h1>
|
||||||
<h1 className={title({ color: "violet" })}>beautiful </h1>
|
<h1 className={title()}>Dashboard </h1>
|
||||||
<br />
|
<br />
|
||||||
<h1 className={title()}>
|
<h1 className={title()}>To Manage Your Bookmarks</h1>
|
||||||
websites regardless of your design experience.
|
<h2 className={subtitle({ class: 'mt-4' })}>
|
||||||
</h1>
|
Beautiful, fast and modern bookmark site.
|
||||||
<h2 className={subtitle({ class: "mt-4" })}>
|
|
||||||
Beautiful, fast and modern React UI library.
|
|
||||||
</h2>
|
</h2>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="flex gap-3">
|
<div className='my-4'>
|
||||||
|
<Card className='w-96 grow select-none'>
|
||||||
|
<CardHeader className='flex gap-3'>
|
||||||
|
<Image
|
||||||
|
alt='nextui logo'
|
||||||
|
height={40}
|
||||||
|
radius='sm'
|
||||||
|
src='https://avatars.githubusercontent.com/u/86160567?s=200&v=4'
|
||||||
|
width={40}
|
||||||
|
/>
|
||||||
<Link
|
<Link
|
||||||
isExternal
|
isExternal
|
||||||
|
href={demoCard.url}
|
||||||
|
color='foreground'
|
||||||
|
className='flex grow flex-col items-start'>
|
||||||
|
<p className='text-md'>{demoCard.name}</p>
|
||||||
|
<p className='text-small text-default-500'>
|
||||||
|
{demoCard.url}
|
||||||
|
</p>
|
||||||
|
</Link>
|
||||||
|
</CardHeader>
|
||||||
|
</Card>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div className='flex gap-3'>
|
||||||
|
<Link
|
||||||
as={NextLink}
|
as={NextLink}
|
||||||
href={siteConfig.links.docs}
|
href='/dashboard'
|
||||||
className={buttonStyles({ color: "primary", radius: "full", variant: "shadow" })}
|
className={buttonStyles({
|
||||||
>
|
color: 'primary',
|
||||||
Documentation
|
radius: 'full',
|
||||||
|
variant: 'shadow',
|
||||||
|
})}>
|
||||||
|
Dashboard
|
||||||
</Link>
|
</Link>
|
||||||
<Link
|
<Link
|
||||||
isExternal
|
isExternal
|
||||||
as={NextLink}
|
as={NextLink}
|
||||||
className={buttonStyles({ variant: "bordered", radius: "full" })}
|
className={buttonStyles({
|
||||||
href={siteConfig.links.github}
|
variant: 'bordered',
|
||||||
>
|
radius: 'full',
|
||||||
|
})}
|
||||||
|
href={siteConfig.links.github}>
|
||||||
<GithubIcon size={20} />
|
<GithubIcon size={20} />
|
||||||
GitHub
|
GitHub
|
||||||
</Link>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="mt-8">
|
|
||||||
<Snippet hideSymbol hideCopyButton variant="flat">
|
|
||||||
<span>
|
|
||||||
Get started by editing <Code color="primary">app/page.tsx</Code>
|
|
||||||
</span>
|
|
||||||
</Snippet>
|
|
||||||
</div>
|
|
||||||
</section>
|
</section>
|
||||||
);
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue