Skip to content

Commit

Permalink
Merge pull request #15 from Hasnainahmad04/feat/landing-page
Browse files Browse the repository at this point in the history
design: design landing page
  • Loading branch information
Hasnainahmad04 authored Aug 17, 2024
2 parents d6bcb56 + ac3b24b commit 89e9736
Show file tree
Hide file tree
Showing 3 changed files with 371 additions and 15 deletions.
51 changes: 36 additions & 15 deletions app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,22 +1,43 @@
import Image from 'next/image';
import Link from 'next/link';

import { buttonVariants } from '@/components/ui/button';

export default function Home() {
return (
<main className="flex h-screen w-full items-center justify-center">
<ul className="flex gap-4">
<li>
<Link href="/dashboard">Dashboard</Link>
</li>
<li>
<Link href="/dashboard/issue/list">list</Link>
</li>
<li>
<Link href="/dashboard/issue/board">Board</Link>
</li>
<li>
<Link href="/dashboard/issue/new">Create</Link>
</li>
</ul>
<main className="flex min-h-screen flex-col items-center bg-gray-50">
<header className="flex w-full items-center justify-between border-b px-6 py-2">
<span className="text-2xl font-bold text-primary">Fixit</span>
<Link href="/sign-in" className={buttonVariants()}>
Sign in
</Link>
</header>

<div className="mt-10 flex w-full max-w-7xl flex-col-reverse items-center justify-between gap-10 px-10 lg:flex-row">
<div className="space-y-4 text-center lg:w-3/5 lg:text-left">
<h1 className="text-pretty text-4xl font-bold text-gray-800 lg:text-6xl">
<span className="text-blue-500">Transform</span> Your Task
Management
</h1>
<p className="text-lg text-gray-600">
Organize, prioritize, and achieve your goals more efficiently.
Simplify your workflow and focus on what matters most.
</p>
<Link href="/sign-in" className={buttonVariants()}>
Get Started
</Link>
</div>

<div className="flex justify-center lg:w-1/2 lg:justify-end">
<Image
src="/hero_icon.svg"
width={500}
height={500}
alt="hero"
className="aspect-square max-w-sm lg:max-w-full"
/>
</div>
</div>
</main>
);
}
1 change: 1 addition & 0 deletions public/hero.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 89e9736

Please sign in to comment.