Add src/app/profile/page.tsx
This commit is contained in:
118
src/app/profile/page.tsx
Normal file
118
src/app/profile/page.tsx
Normal file
@@ -0,0 +1,118 @@
|
||||
"use client";
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import ReactLenis from "lenis/react";
|
||||
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
|
||||
import FooterSimple from '@/components/sections/footer/FooterSimple';
|
||||
import SplitAbout from '@/components/sections/about/SplitAbout';
|
||||
import ContactCTA from '@/components/sections/contact/ContactCTA';
|
||||
import { User, ShieldCheck, Mail, Settings2 } from "lucide-react"; // Import necessary icons
|
||||
|
||||
export default function ProfilePage() {
|
||||
const commonNavItems = [
|
||||
{ name: "Home", id: "#home" },
|
||||
{ name: "Dashboard", id: "/dashboard" },
|
||||
{ name: "Profile", id: "/profile" },
|
||||
{ name: "Features", id: "#features" },
|
||||
{ name: "Metrics", id: "#metrics" },
|
||||
{ name: "Pricing", id: "#pricing" },
|
||||
{ name: "Testimonials", id: "#testimonials" },
|
||||
{ name: "FAQ", id: "#faq" },
|
||||
{ name: "Contact", id: "#contact" },
|
||||
];
|
||||
|
||||
const themeProps = { // Copy from src/app/page.tsx
|
||||
defaultButtonVariant: "bounce-effect", defaultTextAnimation: "entrance-slide", borderRadius: "soft", contentWidth: "compact", sizing: "largeSmallSizeMediumTitles", background: "fluid", cardStyle: "inset", primaryButtonStyle: "radial-glow", secondaryButtonStyle: "layered", headingFontWeight: "semibold"};
|
||||
|
||||
return (
|
||||
<ThemeProvider {...themeProps}>
|
||||
<ReactLenis root>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarLayoutFloatingOverlay
|
||||
navItems={commonNavItems}
|
||||
logoSrc="http://img.b2bpic.net/free-vector/digital-connectivity-technology-icon-neon-gradient-background_53876-119515.jpg"
|
||||
logoAlt="CryptoSphere Logo"
|
||||
brandName="CryptoSphere"
|
||||
button={{ text: "Sign Up", href: "#contact" }}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="profile-settings" data-section="profile-settings">
|
||||
<SplitAbout
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={true}
|
||||
title="User Profile Settings"
|
||||
description="Manage your personal information, account security, and notification preferences here. Keep your profile up-to-date for a seamless experience."
|
||||
tag="Account Management"
|
||||
tagIcon={Settings2}
|
||||
bulletPoints={[
|
||||
{
|
||||
title: "Personal Details", description: "Update your name, email, and contact information.", icon: User,
|
||||
},
|
||||
{
|
||||
title: "Security Settings", description: "Change password, set up 2FA, and review login activity.", icon: ShieldCheck,
|
||||
},
|
||||
{
|
||||
title: "Notification Preferences", description: "Customize how you receive alerts and updates.", icon: Mail,
|
||||
},
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/user-settings-with-cogs_53876-104990.jpg" // Placeholder image for settings
|
||||
imageAlt="User profile settings interface"
|
||||
mediaAnimation="opacity"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="customize-profile" data-section="customize-profile">
|
||||
<ContactCTA
|
||||
tag="Profile Customization"
|
||||
title="Customize Your Profile"
|
||||
description="Personalize your CryptoSphere experience. Upload a profile picture, choose a display name, and set your preferences."
|
||||
buttons={[
|
||||
{ text: "Edit Profile", href: "#" },
|
||||
{ text: "Privacy Settings", href: "#" },
|
||||
]}
|
||||
background={{ variant: "radial-gradient" }}
|
||||
useInvertedBackground={false}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterSimple
|
||||
columns={[
|
||||
{
|
||||
title: "Platform", items: [
|
||||
{ label: "Features", href: "#features" },
|
||||
{ label: "Pricing", href: "#pricing" },
|
||||
{ label: "How It Works", href: "#about" },
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Company", items: [
|
||||
{ label: "About Us", href: "#about" },
|
||||
{ label: "Careers", href: "#" },
|
||||
{ label: "Blog", href: "#" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Support", items: [
|
||||
{ label: "FAQ", href: "#faq" },
|
||||
{ label: "Help Center", href: "#" },
|
||||
{ label: "Contact Us", href: "#contact" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Legal", items: [
|
||||
{ label: "Privacy Policy", href: "#" },
|
||||
{ label: "Terms of Service", href: "#" },
|
||||
{ label: "Disclaimer", href: "#" }
|
||||
]
|
||||
}
|
||||
]}
|
||||
bottomLeftText="© 2024 CryptoSphere. All rights reserved."
|
||||
bottomRightText="Built with Webild"
|
||||
/>
|
||||
</div>
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user