diff --git a/src/app/dashboard/page.tsx b/src/app/dashboard/page.tsx index 3234b1a..027affa 100644 --- a/src/app/dashboard/page.tsx +++ b/src/app/dashboard/page.tsx @@ -8,7 +8,7 @@ import MetricCardSeven from '@/components/sections/metrics/MetricCardSeven'; import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline'; import { CheckCircle } from "lucide-react"; -export default function LandingPage() { +export default function DashboardPage() { return ( @@ -49,22 +41,8 @@ export default function LandingPage() { textboxLayout="default" useInvertedBackground={false} metrics={[ - { - id: "1", - value: "3", - title: "Active Cases", - items: [ - "Reported by you", - ], - }, - { - id: "2", - value: "12", - title: "Sightings", - items: [ - "Total sightings", - ], - }, + { id: "1", value: "3", title: "Active Cases", items: ["Reported by you"] }, + { id: "2", value: "12", title: "Sightings", items: ["Total sightings"] } ]} title="Your Dashboard" description="Manage your cases and view matches." @@ -80,62 +58,36 @@ export default function LandingPage() { description="Actions you can take today." features={[ { - title: "Quick Actions", - description: "Update statuses.", - bentoComponent: "3d-task-list", - items: [ - { - icon: CheckCircle, - label: "Review New Sighting", - time: "2m ago", - }, - ], - imageSrc: "http://img.b2bpic.net/free-vector/20-maps-travel-line-filled-icon-presentation_1142-25244.jpg?_wi=2", - imageAlt: "20 Maps Travel line Filled icon for presentation", - }, + title: "Quick Actions", description: "Update statuses.", bentoComponent: "3d-task-list", items: [ + { icon: CheckCircle, label: "Review New Sighting", time: "2m ago" } + ] + } ]} /> ); -} +} \ No newline at end of file diff --git a/src/app/map/page.tsx b/src/app/map/page.tsx index 1828d98..d1a3a64 100644 --- a/src/app/map/page.tsx +++ b/src/app/map/page.tsx @@ -6,7 +6,7 @@ import FeatureBento from '@/components/sections/feature/FeatureBento'; import FooterMedia from '@/components/sections/footer/FooterMedia'; import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline'; -export default function LandingPage() { +export default function MapPage() { return ( @@ -48,12 +40,8 @@ export default function LandingPage() { useInvertedBackground={false} features={[ { - title: "Map Interface", - description: "Placeholder for full map interactive view.", - bentoComponent: "map", - imageSrc: "http://img.b2bpic.net/free-vector/20-navigation-flat-color-icon-presentation-vector-icons-illustration_1142-15473.jpg", - imageAlt: "20 Navigation Flat Color icon for presentation Vector icons illustration", - }, + title: "Map Interface", description: "Placeholder for full map interactive view.", bentoComponent: "map" + } ]} title="Live Map" description="View all active rescue cases in your area." @@ -69,55 +57,34 @@ export default function LandingPage() { description="See regional activity." features={[ { - title: "Regional Stats", - description: "View heatmap of activity.", - bentoComponent: "animated-bar-chart", - imageSrc: "http://img.b2bpic.net/free-vector/20-maps-travel-line-filled-icon-presentation_1142-25244.jpg?_wi=1", - imageAlt: "20 Maps Travel line Filled icon for presentation", - }, + title: "Regional Stats", description: "View heatmap of activity.", bentoComponent: "animated-bar-chart" + } ]} /> ); -} +} \ No newline at end of file diff --git a/src/app/page.tsx b/src/app/page.tsx index 4ae9769..95cdd3c 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -29,132 +29,33 @@ export default function LandingPage() {
@@ -164,8 +65,7 @@ export default function LandingPage() { useInvertedBackground={false} title="A smarter way to rescue" description="We take chaotic social media reports and turn them into structured, actionable intelligence on a real-time map." - imageSrc="http://img.b2bpic.net/free-vector/creative-maps-travel-25-flat-icon-pack-such-as-travel-road-water-pin-location_1142-21468.jpg?_wi=1" - imageAlt="Platform features" + imageSrc="http://img.b2bpic.net/free-vector/creative-maps-travel-25-flat-icon-pack-such-as-travel-road-water-pin-location_1142-21468.jpg" /> @@ -176,44 +76,19 @@ export default function LandingPage() { useInvertedBackground={false} features={[ { - title: "Real-time Map", - description: "See nearby lost or found pets on an interactive map.", - bentoComponent: "map", - imageSrc: "http://img.b2bpic.net/free-vector/maps-travel-25-flat-color-icon-pack-including-map-pointer-sync-map-traffic_1142-25137.jpg", - imageAlt: "Maps Travel 25 Flat Color icon pack including map pointer sync map traffic", + title: "Real-time Map", description: "See nearby lost or found pets on an interactive map.", bentoComponent: "map" }, { - title: "Smart Matching", - description: "Our algorithm compares lost reports to found sightings automatically.", - bentoComponent: "reveal-icon", - icon: Sparkles, - imageSrc: "http://img.b2bpic.net/free-photo/elegant-cozy-office-with-laptop-desk_23-2149636248.jpg?_wi=2", - imageAlt: "Maps Travel 25 Flat Color icon pack including map pointer sync map traffic", + title: "Smart Matching", description: "Our algorithm compares lost reports to found sightings automatically.", bentoComponent: "reveal-icon", icon: Sparkles }, { - title: "Case Timeline", - description: "Follow every step of a rescue effort in one feed.", - bentoComponent: "timeline", - heading: "Rescue Effort", - subheading: "Tracking progress", - items: [ - { - label: "Case created", - detail: "User reports animal", - }, - { - label: "Community notified", - detail: "Nearby users alerted", - }, - { - label: "Sighting confirmed", - detail: "Location pinpointed", - }, + title: "Case Timeline", description: "Follow every step of a rescue effort in one feed.", bentoComponent: "timeline", heading: "Rescue Effort", subheading: "Tracking progress", items: [ + { label: "Case created", detail: "User reports animal" }, + { label: "Community notified", detail: "Nearby users alerted" }, + { label: "Sighting confirmed", detail: "Location pinpointed" } ], - completedLabel: "Completed", - imageSrc: "http://img.b2bpic.net/free-vector/creative-maps-travel-25-flat-icon-pack-such-as-travel-road-water-pin-location_1142-21468.jpg?_wi=2", - imageAlt: "Maps Travel 25 Flat Color icon pack including map pointer sync map traffic", - }, + completedLabel: "Completed" + } ]} title="Features that save lives" description="Powerful tools for community-driven rescue efforts." @@ -225,21 +100,9 @@ export default function LandingPage() { textboxLayout="default" useInvertedBackground={false} faqs={[ - { - id: "1", - title: "How do I report a pet?", - content: "Simply click the 'Report a Case' button and follow our 60-second flow.", - }, - { - id: "2", - title: "Is the map real-time?", - content: "Yes, cases and sightings update as soon as they are submitted.", - }, - { - id: "3", - title: "How does matching work?", - content: "We compare pet description, location, and photos to identify potential matches.", - }, + { id: "1", title: "How do I report a pet?", content: "Simply click the 'Report a Case' button and follow our 60-second flow." }, + { id: "2", title: "Is the map real-time?", content: "Yes, cases and sightings update as soon as they are submitted." }, + { id: "3", title: "How does matching work?", content: "We compare pet description, location, and photos to identify potential matches." } ]} title="Common Questions" description="How PetRescue supports your community." @@ -253,64 +116,35 @@ export default function LandingPage() { title="Partner with us" description="Are you a shelter or rescue organization looking to join the network?" inputs={[ - { - name: "name", - type: "text", - placeholder: "Your Name", - }, - { - name: "email", - type: "email", - placeholder: "Email Address", - }, + { name: "name", type: "text", placeholder: "Your Name" }, + { name: "email", type: "email", placeholder: "Email Address" } ]} - textarea={{ - name: "message", - placeholder: "Tell us about your organization", - }} - imageSrc="http://img.b2bpic.net/free-vector/creative-maps-travel-25-flat-icon-pack-such-as-travel-road-water-pin-location_1142-21468.jpg?_wi=3" + textarea={{ name: "message", placeholder: "Tell us about your organization" }} /> ); -} +} \ No newline at end of file