tasko/app/(marketing)/page.tsx

54 lines
1.7 KiB
TypeScript
Raw Normal View History

2024-02-16 01:49:19 +00:00
import { Medal } from 'lucide-react';
import localFont from 'next/font/local';
import { Poppins } from 'next/font/google';
import Link from 'next/link';
2024-02-15 02:30:10 +00:00
2024-02-16 01:49:19 +00:00
import { cn } from '@/lib/utils';
import { Button } from '@/components/ui/button';
2024-02-15 02:30:10 +00:00
2024-02-16 01:49:19 +00:00
const headingFont = localFont({ src: '../../public/fonts/font.woff2' });
2024-02-15 02:30:10 +00:00
const textFont = Poppins({
2024-02-16 01:49:19 +00:00
subsets: ['latin'],
weight: ['100', '200', '300', '400', '500', '600', '700', '800', '900'],
2024-02-15 02:30:10 +00:00
});
const MarketingPage = () => {
return (
2024-02-16 01:49:19 +00:00
<div className='flex flex-col items-center justify-center'>
2024-02-15 02:30:10 +00:00
<div
className={cn(
2024-02-16 01:49:19 +00:00
'flex flex-col items-center justify-center',
2024-02-15 02:30:10 +00:00
headingFont.className
)}
>
2024-02-16 01:49:19 +00:00
<div className='mb-4 flex items-center rounded-full border bg-amber-100 p-4 uppercase text-amber-700 shadow-sm'>
<Medal className='mr-2 h-6 w-6' />
2024-02-15 02:30:10 +00:00
No 1 task management app
</div>
2024-02-16 01:49:19 +00:00
<h1 className='mb-6 text-center text-3xl text-neutral-800 md:text-6xl'>
2024-02-15 02:30:10 +00:00
Tasko helps teams move
</h1>
2024-02-16 01:49:19 +00:00
<div className='w-fit rounded-md bg-gradient-to-r from-fuchsia-600 to-pink-600 p-2 px-4 pb-4 text-3xl text-white md:text-6xl'>
2024-02-15 02:30:10 +00:00
Work forward
</div>
</div>
<div
className={cn(
2024-02-16 01:49:19 +00:00
'mx-auto mt-4 max-w-xs text-center text-sm text-neutral-400 md:max-w-2xl md:text-xl',
2024-02-15 02:30:10 +00:00
textFont.className
)}
>
Collaborate, manage projects, and reach new productivity peaks. From
high rises to the home office, the way your team works is unique -
accomplish it all with Tasko.
</div>
2024-02-16 01:49:19 +00:00
<Button className='mt-6' size='lg' asChild>
<Link href='/sign-up'>Get Tasko for free</Link>
2024-02-15 02:30:10 +00:00
</Button>
</div>
);
};
export default MarketingPage;