Files
3262477a-a077-4863-af93-e21…/src/app/page.tsx
2026-03-03 19:57:31 +00:00

376 lines
14 KiB
TypeScript

"use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import Link from "next/link";
import NavbarStyleFullscreen from "@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen";
import HeroBillboardTestimonial from "@/components/sections/hero/HeroBillboardTestimonial";
import FeatureBento from "@/components/sections/feature/FeatureBento";
import TextSplitAbout from "@/components/sections/about/TextSplitAbout";
import MetricCardSeven from "@/components/sections/metrics/MetricCardSeven";
import TestimonialCardTwo from "@/components/sections/testimonial/TestimonialCardTwo";
import ContactCTA from "@/components/sections/contact/ContactCTA";
import FooterLogoEmphasis from "@/components/sections/footer/FooterLogoEmphasis";
import {
Lock,
CheckCircle,
Home,
LogOut,
Clock,
Settings,
HelpCircle,
User,
AlertCircle,
Wrench,
Zap,
CreditCard,
Users,
Database,
Mail,
Bell,
Rocket,
Package,
} from "lucide-react";
const navItems = [
{ name: "Home", id: "/" },
{ name: "Features", id: "features" },
{ name: "Dashboard", id: "/dashboard" },
{ name: "Support", id: "/support" },
{ name: "Contact", id: "contact" },
];
const footerColumns = [
{
items: [
{ label: "Home", href: "/" },
{ label: "Features", href: "features" },
{ label: "Dashboard", href: "/dashboard" },
],
},
{
items: [
{ label: "About Us", href: "/about" },
{ label: "Support", href: "/support" },
{ label: "Contact", href: "contact" },
],
},
{
items: [
{ label: "Privacy Policy", href: "/privacy" },
{ label: "Terms of Service", href: "/terms" },
{ label: "Cookie Policy", href: "/cookies" },
],
},
{
items: [
{ label: "Twitter", href: "https://twitter.com/hostelhub" },
{ label: "Facebook", href: "https://facebook.com/hostelhub" },
{ label: "Instagram", href: "https://instagram.com/hostelhub" },
],
},
];
export default function HomePage() {
return (
<ThemeProvider
defaultButtonVariant="text-stagger"
defaultTextAnimation="entrance-slide"
borderRadius="rounded"
contentWidth="medium"
sizing="largeSizeMediumTitles"
background="none"
cardStyle="subtle-shadow"
primaryButtonStyle="primary-glow"
secondaryButtonStyle="layered"
headingFontWeight="bold"
>
<div id="nav" data-section="nav">
<NavbarStyleFullscreen
navItems={navItems}
brandName="HostelHub"
bottomLeftText="Student Housing Solutions"
bottomRightText="support@hostelhub.edu"
/>
</div>
<div id="hero" data-section="hero">
<HeroBillboardTestimonial
title="Simplify Your Hostel Experience"
description="Manage room checkout, report maintenance issues, and track fees all in one intuitive platform. Built for students, by students."
tag="Student Housing Platform"
tagAnimation="slide-up"
background={{ variant: "radial-gradient" }}
testimonials={[
{
name: "Priya Singh",
handle: "2nd Year, Engineering",
testimonial:
"Finally, a hassle-free way to handle maintenance requests. Response time is incredible!",
rating: 5,
imageSrc:
"http://img.b2bpic.net/free-photo/portrait-delighted-hipster-male-student-with-crisp-hair_176532-8157.jpg?_wi=1",
imageAlt: "Priya Singh",
},
{
name: "Aditya Patel",
handle: "1st Year, Business",
testimonial:
"The fee tracking feature saved me from missing a payment deadline. Highly recommend!",
rating: 5,
imageSrc:
"http://img.b2bpic.net/free-photo/portrait-delighted-hipster-male-student-with-crisp-hair_176532-8157.jpg?_wi=2",
imageAlt: "Aditya Patel",
},
{
name: "Neha Sharma",
handle: "3rd Year, Commerce",
testimonial:
"Room checkout process is so smooth. No more documentation chaos.",
rating: 5,
imageSrc:
"http://img.b2bpic.net/free-photo/portrait-delighted-hipster-male-student-with-crisp-hair_176532-8157.jpg?_wi=3",
imageAlt: "Neha Sharma",
},
]}
testimonialRotationInterval={5000}
mediaAnimation="slide-up"
imageSrc="http://img.b2bpic.net/free-vector/fitness-mobile-app-infographic-template-flat-style_23-2148219822.jpg"
imageAlt="HostelHub Dashboard Interface"
buttons={[
{ text: "Access Dashboard", href: "/dashboard" },
{ text: "Learn More", href: "features" },
]}
buttonAnimation="slide-up"
useInvertedBackground={false}
/>
</div>
<div id="features" data-section="features">
<FeatureBento
title="Powerful Features for Complete Management"
description="Everything you need to manage your hostel experience efficiently"
tag="Core Features"
tagAnimation="slide-up"
textboxLayout="default"
useInvertedBackground={false}
animationType="slide-up"
carouselMode="buttons"
features={[
{
title: "Room Checkout",
description:
"Simple, streamlined checkout process with digital verification",
bentoComponent: "phone",
statusIcon: Lock,
alertIcon: CheckCircle,
alertTitle: "Checkout Confirmed",
alertMessage:
"Your room checkout has been processed successfully",
apps: [
{ name: "Rooms", icon: Home },
{ name: "Checkout", icon: LogOut },
{ name: "Status", icon: CheckCircle },
{ name: "History", icon: Clock },
{ name: "Settings", icon: Settings },
{ name: "Help", icon: HelpCircle },
{ name: "Profile", icon: User },
{ name: "Logout", icon: LogOut },
],
},
{
title: "Issue Resolution Status",
description:
"Report issues and track resolution in real-time with status updates",
bentoComponent: "3d-task-list",
title: "Track Issues",
items: [
{ icon: AlertCircle, label: "Report Issue", time: "Immediate" },
{ icon: Clock, label: "Under Review", time: "2-4 hours" },
{ icon: Wrench, label: "In Progress", time: "24-48 hours" },
],
},
{
title: "Fee Management",
description:
"Track all hostel fees, payment history, and due dates",
bentoComponent: "line-chart",
},
{
title: "Integrations",
description:
"Connect with payment gateways and admin systems seamlessly",
bentoComponent: "orbiting-icons",
centerIcon: Zap,
items: [
{ icon: CreditCard, ring: 1 },
{ icon: Users, ring: 1 },
{ icon: Database, ring: 2 },
{ icon: Lock, ring: 2 },
{ icon: Mail, ring: 3 },
{ icon: Bell, ring: 3 },
],
},
]}
buttons={[{ text: "Explore Features", href: "/dashboard" }]}
buttonAnimation="slide-up"
/>
</div>
<div id="capabilities" data-section="capabilities">
<TextSplitAbout
title="Why HostelHub?"
description={[
"HostelHub is designed specifically for the modern student hostel experience. We understand the challenges of managing accommodation and have built a platform that puts you in control.",
"From instant maintenance reporting to transparent fee tracking, every feature is created with student needs in mind. Our system reduces administrative burden and increases response times for critical issues.",
"Join thousands of students who have already simplified their hostel management with HostelHub.",
]}
useInvertedBackground={false}
buttons={[{ text: "Start Using HostelHub", href: "/dashboard" }]}
buttonAnimation="slide-up"
showBorder={true}
/>
</div>
<div id="metrics" data-section="metrics">
<MetricCardSeven
title="Impact By The Numbers"
description="See how HostelHub has transformed student housing management across institutions"
tag="Growth & Success"
tagAnimation="slide-up"
textboxLayout="default"
useInvertedBackground={false}
animationType="slide-up"
carouselMode="buttons"
metrics={[
{
id: "1",
value: "50K+",
title: "Active Students",
items: ["Across 25+ hostels", "Growing daily"],
},
{
id: "2",
value: "99.2%",
title: "Issue Resolution Rate",
items: ["Average 24-hour response", "Real-time tracking"],
},
{
id: "3",
value: "₹2.5Cr",
title: "Fees Managed Annually",
items: ["Transparent payments", "Zero discrepancies"],
},
{
id: "4",
value: "100%",
title: "Student Satisfaction",
items: ["Highly rated platform", "Continuous improvements"],
},
]}
/>
</div>
<div id="testimonials" data-section="testimonials">
<TestimonialCardTwo
title="What Students Are Saying"
description="Real feedback from students using HostelHub daily"
tag="Student Reviews"
tagAnimation="slide-up"
textboxLayout="default"
useInvertedBackground={false}
animationType="slide-up"
carouselMode="buttons"
testimonials={[
{
id: "1",
name: "Raj Kumar",
role: "Final Year Engineering",
testimonial:
"The maintenance reporting system saved me hours of running around. Issues are resolved so fast now!",
imageSrc:
"http://img.b2bpic.net/free-photo/portrait-delighted-hipster-male-student-with-crisp-hair_176532-8157.jpg?_wi=4",
imageAlt: "Raj Kumar",
icon: Package,
},
{
id: "2",
name: "Ananya Gupta",
role: "2nd Year Medical",
testimonial:
"Fee tracking is transparent and accurate. No more confusion about what I owe or when it's due.",
imageSrc:
"http://img.b2bpic.net/free-photo/portrait-delighted-hipster-male-student-with-crisp-hair_176532-8157.jpg?_wi=5",
imageAlt: "Ananya Gupta",
icon: Package,
},
{
id: "3",
name: "Vikram Singh",
role: "1st Year Management",
testimonial:
"The checkout process is incredibly smooth. Got my deposit back in days instead of weeks!",
imageSrc:
"http://img.b2bpic.net/free-photo/portrait-delighted-hipster-male-student-with-crisp-hair_176532-8157.jpg?_wi=6",
imageAlt: "Vikram Singh",
icon: Package,
},
{
id: "4",
name: "Deepika Nair",
role: "3rd Year Commerce",
testimonial:
"Best platform for hostel management. Wish we had this when I started my first year.",
imageSrc:
"http://img.b2bpic.net/free-photo/portrait-delighted-hipster-male-student-with-crisp-hair_176532-8157.jpg?_wi=7",
imageAlt: "Deepika Nair",
icon: Package,
},
{
id: "5",
name: "Arjun Patel",
role: "2nd Year Law",
testimonial:
"Exceptional customer support. Any issues are resolved immediately with helpful guidance.",
imageSrc:
"http://img.b2bpic.net/free-photo/portrait-delighted-hipster-male-student-with-crisp-hair_176532-8157.jpg?_wi=8",
imageAlt: "Arjun Patel",
icon: Package,
},
{
id: "6",
name: "Kavya Sharma",
role: "Final Year IT",
testimonial:
"A game-changer for student housing. Finally, a platform that actually understands our needs!",
imageSrc:
"http://img.b2bpic.net/free-photo/portrait-delighted-hipster-male-student-with-crisp-hair_176532-8157.jpg?_wi=9",
imageAlt: "Kavya Sharma",
icon: Package,
},
]}
/>
</div>
<div id="contact" data-section="contact">
<ContactCTA
tag="Get Started Today"
tagIcon={Rocket}
tagAnimation="slide-up"
title="Ready to Simplify Your Hostel Experience?"
description="Join thousands of students already using HostelHub to manage their accommodation seamlessly. Access your dashboard now and take control of your hostel experience."
buttons={[
{ text: "Access Dashboard", href: "/dashboard" },
{ text: "Contact Support", href: "https://support.hostelhub.edu" },
]}
buttonAnimation="slide-up"
background={{ variant: "animated-grid" }}
useInvertedBackground={false}
/>
</div>
<div id="footer" data-section="footer">
<FooterLogoEmphasis logoText="HostelHub" columns={footerColumns} />
</div>
</ThemeProvider>
);
}