LandingPage
π Overviewβ
The LandingPage
component is the main entry point of the NAVIGO app. It introduces users to the game, describes its key features, and provides a call-to-action to begin onboarding via the Start Quest button.
π§ Purposeβ
- Serves as a promotional splash page for first-time or returning users.
- Provides an engaging visual and textual overview of NAVIGO.
- Acts as a gateway to user signup and game exploration.
π File Pathβ
src/pages/LandingPage.js
π§© Component Breakdownβ
-
Hero Section
- Displays the app name and a brief description.
- Includes a CTA button (Start Quest) that navigates users to the
/SignUp
route using<Link>
fromreact-router-dom
.
-
Features Section
- Highlights four main features using a reusable
FeatureCard
component:- π― Location Quests
- πΊοΈ Treasure Hunts
- π Collectibles
- π Leaderboard
- Highlights four main features using a reusable
-
Footer
- Simple footer with centered copyright.
π§± FeatureCard Componentβ
A stateless sub-component defined within the same file, used to render consistent visual blocks for each feature.
Props:
icon
β Emoji or symbol representing the feature.title
β Feature title.description
β Short explanation.
π¨ Design Notesβ
- Uses Tailwind CSS for layout and styling.
- Gradient background (blue to indigo) in the hero section.
- Responsive grid layout for features.
- Smooth hover and transition effects for interactive components.
βοΈ Dependenciesβ
- React
react-router-dom
(for<Link>
navigation)- Tailwind CSS (for styling)
π Planned Enhancementsβ
- Add animations or scroll effects for better engagement.
- Include testimonials or a gameplay preview (video or screenshots).
- Implement dynamic leaderboard data and feature highlights from the backend.
Note:
Consider adding semantic HTML and accessibility features as the component evolves.