-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove unused imports and update home page layout
- Loading branch information
1 parent
a9472c5
commit 0975b19
Showing
4 changed files
with
36 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,41 @@ | ||
import Link from "next/link"; | ||
import HomeLayout from "../components/layout/HomeLayout"; | ||
import { Button } from "../components/ui/button"; | ||
export default function Home() { | ||
return ( | ||
<HomeLayout> | ||
<main> | ||
<h1>Home</h1> | ||
<p>Welcome to the home page</p> | ||
</main> | ||
<section className="flex items-center justify-between"> | ||
<div className="max-w-lg space-y-4 flex flex-col"> | ||
<h1 className="text-5xl font-bold leading-tight text-gray-900"> | ||
Topluluğunuzu Oluşturun ve Yönetin | ||
</h1> | ||
<p> | ||
DÜSosyal, topluluklarınızı oluşturmanıza ve yönetmenize yardımcı | ||
olur. Ücretsizdir ve her zaman öyle kalacaktır. | ||
</p> | ||
<div className="flex flex-row space-x-4"> | ||
<Button asChild> | ||
<Link href="/communities/create">Topluluk Oluştur</Link> | ||
</Button> | ||
<Button asChild variant="outline"> | ||
<Link href="/contact">İletişime Geçin</Link> | ||
</Button> | ||
</div> | ||
</div> | ||
<div className="flex-shrink-0"> | ||
<img | ||
alt="Hero illustration" | ||
className="h-auto w-full max-w-lg rounded-lg" | ||
height="300" | ||
src="/assets/images/auth-layout-image.jpg" | ||
style={{ | ||
aspectRatio: "400/300", | ||
objectFit: "cover", | ||
}} | ||
width="400" | ||
/> | ||
</div> | ||
</section> | ||
</HomeLayout> | ||
); | ||
} |