Add src/app/map/page.tsx
This commit is contained in:
84
src/app/map/page.tsx
Normal file
84
src/app/map/page.tsx
Normal file
@@ -0,0 +1,84 @@
|
||||
"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 MapPage() {
|
||||
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: "History", id: "/history" },
|
||||
{ name: "Profile", id: "/profile" },
|
||||
{ name: "Settings", id: "/settings" },
|
||||
]}
|
||||
brandName="ParkSpot"
|
||||
bottomLeftText="Interactive Map"
|
||||
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">Interactive Parking Map</h1>
|
||||
<p className="text-lg mb-8">Tap on the map to save your parking location. Add photos, notes, and set reminders.</p>
|
||||
|
||||
<div className="w-full h-96 bg-card rounded-lg border border-accent flex items-center justify-center">
|
||||
<div className="text-center">
|
||||
<p className="text-foreground/60">Map component will be integrated here with:</p>
|
||||
<ul className="mt-4 text-left text-sm text-foreground/60">
|
||||
<li>• Interactive map with parking pins</li>
|
||||
<li>• One-tap location saving</li>
|
||||
<li>• Photo capture and storage</li>
|
||||
<li>• Note-taking capability</li>
|
||||
<li>• Arrival time tracking</li>
|
||||
<li>• Smart reminders</li>
|
||||
<li>• Google Maps navigation integration</li>
|
||||
<li>• Location sharing with friends</li>
|
||||
<li>• Browser-based data persistence</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