Add src/app/profile/page.tsx
This commit is contained in:
105
src/app/profile/page.tsx
Normal file
105
src/app/profile/page.tsx
Normal file
@@ -0,0 +1,105 @@
|
||||
"use client";
|
||||
|
||||
import { useEffect, useState } from "react";
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import NavbarStyleFullscreen from "@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen";
|
||||
import FooterLogoReveal from "@/components/sections/footer/FooterLogoReveal";
|
||||
|
||||
export default function ProfilePage() {
|
||||
const [isClient, setIsClient] = useState(false);
|
||||
|
||||
useEffect(() => {
|
||||
setIsClient(true);
|
||||
}, []);
|
||||
|
||||
if (!isClient) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="bounce-effect"
|
||||
defaultTextAnimation="background-highlight"
|
||||
borderRadius="soft"
|
||||
contentWidth="compact"
|
||||
sizing="large"
|
||||
background="none"
|
||||
cardStyle="glass-depth"
|
||||
primaryButtonStyle="double-inset"
|
||||
secondaryButtonStyle="radial-glow"
|
||||
headingFontWeight="bold"
|
||||
>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleFullscreen
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "Map", id: "/map" },
|
||||
{ name: "History", id: "/history" },
|
||||
{ name: "Settings", id: "/settings" },
|
||||
]}
|
||||
brandName="ParkSpot"
|
||||
bottomLeftText="User Profile"
|
||||
bottomRightText="support@parkspot.app"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<main className="min-h-screen bg-background text-foreground flex flex-col items-center justify-center p-4">
|
||||
<div className="w-full max-w-4xl">
|
||||
<h1 className="text-4xl font-bold mb-4">User Profile</h1>
|
||||
<p className="text-lg mb-8">Manage your account and preferences.</p>
|
||||
|
||||
<div className="w-full bg-card rounded-lg border border-accent p-6 space-y-6">
|
||||
<div className="border-b border-accent pb-6">
|
||||
<h2 className="text-2xl font-semibold mb-4">Account Information</h2>
|
||||
<p className="text-foreground/60">Profile management will include:</p>
|
||||
<ul className="mt-4 text-left text-sm text-foreground/60">
|
||||
<li>• User avatar and profile picture</li>
|
||||
<li>• Name and email address</li>
|
||||
<li>• Phone number</li>
|
||||
<li>• Account creation date</li>
|
||||
<li>• Account verification status</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div className="border-b border-accent pb-6">
|
||||
<h2 className="text-2xl font-semibold mb-4">Preferences</h2>
|
||||
<p className="text-foreground/60">Customize your experience:</p>
|
||||
<ul className="mt-4 text-left text-sm text-foreground/60">
|
||||
<li>• Notification preferences</li>
|
||||
<li>• Reminder settings</li>
|
||||
<li>• Privacy settings</li>
|
||||
<li>• Language and locale</li>
|
||||
<li>• Theme preferences (light/dark mode)</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<h2 className="text-2xl font-semibold mb-4">Account Actions</h2>
|
||||
<p className="text-foreground/60">Manage your account:</p>
|
||||
<ul className="mt-4 text-left text-sm text-foreground/60">
|
||||
<li>• Change password</li>
|
||||
<li>• Two-factor authentication</li>
|
||||
<li>• Download account data</li>
|
||||
<li>• Delete account</li>
|
||||
<li>• Logout</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
|
||||
<div id="contact" data-section="contact">
|
||||
<FooterLogoReveal
|
||||
logoText="ParkSpot"
|
||||
leftLink={{
|
||||
text: "Privacy Policy", href: "/privacy"
|
||||
}}
|
||||
rightLink={{
|
||||
text: "Terms of Service", href: "/terms"
|
||||
}}
|
||||
ariaLabel="Site footer"
|
||||
/>
|
||||
</div>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user