generated from tapeds/next-template
-
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.
- Loading branch information
Showing
2 changed files
with
88 additions
and
0 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.
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,88 @@ | ||
"use client"; | ||
|
||
import useAuthStore from "@/app/stores/useAuthStore"; | ||
import BreadCrumbs from "@/components/BreadCrumbs"; | ||
import NextImage from "@/components/NextImage"; | ||
import Typography from "@/components/Typography"; | ||
import withAuth from "@/components/hoc/withAuth"; | ||
import { user } from "@nextui-org/theme"; | ||
import { FaPenToSquare } from "react-icons/fa6"; | ||
import Button from "@/components/buttons/Button"; | ||
|
||
const breadCrumbs = [ | ||
{ href: "/dashboard", Title: "Dashboard" }, | ||
{ href: "/dashboard/settings", Title: "Settings" }, | ||
]; | ||
|
||
// export default withAuth(Settings, "user"); | ||
export default function Settings() { | ||
return ( | ||
<section className="p-6"> | ||
<div className="relative w-full h-full rounded-[15px] min-h-[64px] overflow-hidden"> | ||
<NextImage | ||
src="/bgbreadcrumb.png" | ||
width={1920} | ||
height={1080} | ||
alt="Background" | ||
className="w-full h-full -z-10 min-h-[64px]" | ||
imgClassName="w-full h-[64px] md:h-[80px]" | ||
/> | ||
<div className="absolute z-10 top-4 left-6 max-md:top-2 max-md:left-3 max-md:mb-0"> | ||
<BreadCrumbs breadcrumbs={breadCrumbs} /> | ||
<span className="font-semibold text-white max-md:-pt-1"> | ||
Settings | ||
</span> | ||
</div> | ||
</div> | ||
<div className="w-[90%] rounded-lg z-10 mt-4 space-y-4 shadow-lg mx-auto p-12 max-sm:p-4"> | ||
<div className="space-y-4"> | ||
<Typography className="text-[#2D3748]" variant="h6" weight="bold"> | ||
Account Information | ||
</Typography> | ||
<div className="flex"> | ||
<Typography className="text-[#718096] font-bold">Nama :</Typography> | ||
<Typography className="text-[#718096]"> | ||
ProfJustin | ||
</Typography> | ||
<div> | ||
<FaPenToSquare className="ml-4 mt-1" color="#718096" /> | ||
</div> | ||
</div> | ||
<div className="flex"> | ||
<Typography className="text-[#718096] font-bold"> | ||
Email : | ||
</Typography> | ||
<Typography className="text-[#718096]"> | ||
[email protected] | ||
</Typography> | ||
<div> | ||
<FaPenToSquare className="ml-4 mt-1" color="#718096" /> | ||
</div> | ||
</div> | ||
<div className="flex"> | ||
<Typography className="text-[#718096] font-bold"> | ||
Password : | ||
</Typography> | ||
<Typography className="text-[#718096]"> ********</Typography> | ||
<div> | ||
<FaPenToSquare className="ml-4 mt-1" color="#718096" /> | ||
</div> | ||
</div> | ||
<div className="flex"> | ||
<Typography className="text-[#718096] font-bold">TTD :</Typography> | ||
<NextImage | ||
src="/Signify Logo.png" | ||
width={500} | ||
height={500} | ||
alt="TTD Preview" | ||
className="w-[100px] object-contain md:w-[160px] ml-4 rounded-lg overflow-hidden border-2 border-[#718096] p-2" | ||
/> | ||
<div> | ||
<FaPenToSquare className="ml-4 mt-1" color="#718096" /> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
); | ||
} |