generated from ainunns/laravel-react-ts-inertia-starter
-
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.
* feat: add navbar integrated with authenticated user * feat: add landing page
- Loading branch information
1 parent
7f2b4cf
commit ba759b8
Showing
10 changed files
with
437 additions
and
515 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1,89 @@ | ||
import ApplicationLogo from "@/Components/ApplicationLogo"; | ||
import Typography from "@/Components/Typography"; | ||
import { Link } from "@inertiajs/react"; | ||
import { Instagram } from "lucide-react"; | ||
import { Twitter } from "lucide-react"; | ||
import { Facebook } from "lucide-react"; | ||
|
||
export default function Footer() { | ||
return ( | ||
<footer className="bg-secondary-500 py-8 px-12 lg:px-24"> | ||
<div className="flex flex-col lg:flex-row gap-4"> | ||
<div className="flex items-center w-1/2 gap-2"> | ||
<ApplicationLogo width="50px" height="50px" /> | ||
<Typography variant="h3" className="text-primary-500"> | ||
Furnixy | ||
</Typography> | ||
</div> | ||
{/* Quick Links */} | ||
<div className="flex w-1/2 flex-col gap-2"> | ||
<Typography | ||
className="text-primary-500 underline decoration-2" | ||
variant="h3" | ||
> | ||
Quick Links | ||
</Typography> | ||
<div className="flex items-center gap-2"> | ||
<Link href="/"> | ||
<Typography className="text-primary-500 font-semibold"> | ||
Home | ||
</Typography> | ||
</Link> | ||
</div> | ||
<div className="flex items-center gap-2"> | ||
<Link href="/product"> | ||
<Typography className="text-primary-500 font-semibold"> | ||
Product | ||
</Typography> | ||
</Link> | ||
</div> | ||
<div className="flex items-center gap-2"> | ||
<Link href="/login"> | ||
<Typography className="text-primary-500 font-semibold"> | ||
Login | ||
</Typography> | ||
</Link> | ||
</div> | ||
<div className="flex items-center gap-2"> | ||
<Link href="/register"> | ||
<Typography className="text-primary-500 font-semibold"> | ||
Register | ||
</Typography> | ||
</Link> | ||
</div> | ||
</div> | ||
{/* Our Contact */} | ||
<div className="flex w-1/2 flex-col gap-2"> | ||
<Typography | ||
className="text-primary-500 underline decoration-2" | ||
variant="h3" | ||
> | ||
Our Contact | ||
</Typography> | ||
<div className="flex items-center gap-2"> | ||
<Instagram className="text-primary-500" /> | ||
<Typography className="text-primary-500 font-semibold"> | ||
</Typography> | ||
</div> | ||
<div className="flex items-center gap-2"> | ||
<Twitter className="text-primary-500" /> | ||
<Typography className="text-primary-500 font-semibold"> | ||
</Typography> | ||
</div> | ||
<div className="flex items-center gap-2"> | ||
<Facebook className="text-primary-500" /> | ||
<Typography className="text-primary-500 font-semibold"> | ||
</Typography> | ||
</div> | ||
</div> | ||
</div> | ||
<div className="mt-4 h-[2px] bg-primary-500"></div> | ||
<Typography className="mt-4"> | ||
© Copyright Furnixy! 2024. All Rights Reserved | ||
</Typography> | ||
</footer> | ||
); | ||
} |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { type PropsWithChildren } from "react"; | ||
import Footer from "./Footer"; | ||
import Navbar from "./Navbar"; | ||
|
||
export default function Layout({ children }: PropsWithChildren) { | ||
return ( | ||
<div> | ||
<Navbar /> | ||
<main>{children}</main> | ||
<Footer /> | ||
</div> | ||
); | ||
} |
Oops, something went wrong.