Merge version_2 into main

Merge version_2 into main
This commit was merged in pull request #3.
This commit is contained in:
2026-06-10 05:05:07 +00:00
2 changed files with 122 additions and 19 deletions

108
src/app/contact/page.tsx Normal file
View File

@@ -0,0 +1,108 @@
"use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import FooterMedia from '@/components/sections/footer/FooterMedia';
export default function ContactPage() {
const updatedNavItems = [
{ name: "Home", id: "/" },
{ name: "Features", id: "#features" },
{ name: "How It Works", id: "#how-it-works" },
{ name: "Impact", id: "#metrics" },
{ name: "Testimonials", id: "#testimonials" },
{ name: "FAQ", id: "#faq" },
{ name: "Contact", id: "/contact" },
];
return (
<ThemeProvider
defaultButtonVariant="shift-hover"
defaultTextAnimation="entrance-slide"
borderRadius="soft"
contentWidth="smallMedium"
sizing="mediumLargeSizeLargeTitles"
background="floatingGradient"
cardStyle="gradient-mesh"
primaryButtonStyle="gradient"
secondaryButtonStyle="solid"
headingFontWeight="semibold"
>
<ReactLenis root>
<div id="nav" data-section="nav">
<NavbarStyleCentered
navItems={updatedNavItems}
button={{
text: "Start Segregating Now", href: "/contact"
}}
logoSrc="http://img.b2bpic.net/free-photo/incense-sticks-with-herbs-near-monster-leaf-coaster_23-2147844956.jpg"
logoAlt="EcoSegregate Logo"
brandName="EcoSegregate"
/>
</div>
<div id="contact-page-section" data-section="contact-page-section">
<ContactSplitForm
useInvertedBackground={false}
title="Get in Touch with moin"
description="Call us at 9876573475 or fill out the form below. We'd love to hear from you."
inputs={[
{ name: "name", type: "text", placeholder: "Your Name", required: true },
{ name: "email", type: "email", placeholder: "Your Email", required: true },
{ name: "phone", type: "tel", placeholder: "Your Phone Number", required: false },
{ name: "subject", type: "text", placeholder: "Subject" },
]}
textarea={{
name: "message", placeholder: "Your Message", rows: 5,
required: true,
}}
imageSrc="http://img.b2bpic.net/free-photo/3d-abstract-landscape-cubes-with-depth-field_1048-12642.jpg"
imageAlt="Abstract network illustration for contact section"
mediaAnimation="slide-up"
mediaPosition="right"
buttonText="Send Message"
onSubmit={(data) => {
console.log("Contact form submitted:", data);
alert("Your message has been sent!");
}}
/>
</div>
<div id="footer" data-section="footer">
<FooterMedia
imageSrc="http://img.b2bpic.net/free-photo/person-using-zero-emissions-mean-transportation-go-around-city_23-2151261371.jpg"
imageAlt="Clean city park with smart bins"
logoSrc="http://img.b2bpic.net/free-photo/incense-sticks-with-herbs-near-monster-leaf-coaster_23-2147844956.jpg"
logoText="EcoSegregate"
columns={[
{
title: "Platform", items: [
{ label: "Features", href: "#features" },
{ label: "How It Works", href: "#how-it-works" },
{ label: "Impact", href: "#metrics" },
],
},
{
title: "Company", items: [
{ label: "About Us", href: "#about" },
{ label: "Testimonials", href: "#testimonials" },
{ label: "Partnerships", href: "#social-proof" },
],
},
{
title: "Support", items: [
{ label: "FAQ", href: "#faq" },
{ label: "Contact", href: "/contact" },
{ label: "Privacy Policy", href: "#" },
],
},
]}
copyrightText="© 2024 EcoSegregate. All rights reserved."
/>
</div>
</ReactLenis>
</ThemeProvider>
);
}

View File

@@ -16,6 +16,16 @@ import TestimonialCardThirteen from '@/components/sections/testimonial/Testimoni
import { CheckCircle, DollarSign, FileText, LineChart, Recycle, Sparkles, TrendingUp, Trophy } from "lucide-react"; import { CheckCircle, DollarSign, FileText, LineChart, Recycle, Sparkles, TrendingUp, Trophy } from "lucide-react";
export default function LandingPage() { export default function LandingPage() {
const updatedNavItems = [
{ name: "Home", id: "/" },
{ name: "Features", id: "#features" },
{ name: "How It Works", id: "#how-it-works" },
{ name: "Impact", id: "#metrics" },
{ name: "Testimonials", id: "#testimonials" },
{ name: "FAQ", id: "#faq" },
{ name: "Contact", id: "/contact" },
];
return ( return (
<ThemeProvider <ThemeProvider
defaultButtonVariant="shift-hover" defaultButtonVariant="shift-hover"
@@ -32,24 +42,9 @@ export default function LandingPage() {
<ReactLenis root> <ReactLenis root>
<div id="nav" data-section="nav"> <div id="nav" data-section="nav">
<NavbarStyleCentered <NavbarStyleCentered
navItems={[ navItems={updatedNavItems}
{
name: "Home", id: "#hero"},
{
name: "Features", id: "#features"},
{
name: "How It Works", id: "#how-it-works"},
{
name: "Impact", id: "#metrics"},
{
name: "Testimonials", id: "#testimonials"},
{
name: "FAQ", id: "#faq"},
{
name: "Contact", id: "#contact"},
]}
button={{ button={{
text: "Start Segregating Now", href: "#contact"}} text: "Start Segregating Now", href: "/contact"}}
logoSrc="http://img.b2bpic.net/free-photo/incense-sticks-with-herbs-near-monster-leaf-coaster_23-2147844956.jpg" logoSrc="http://img.b2bpic.net/free-photo/incense-sticks-with-herbs-near-monster-leaf-coaster_23-2147844956.jpg"
logoAlt="EcoSegregate Logo" logoAlt="EcoSegregate Logo"
brandName="EcoSegregate" brandName="EcoSegregate"
@@ -64,7 +59,7 @@ export default function LandingPage() {
description="Snap a photo of your waste, get instant disposal guidance, and earn ecopoints while helping your city manage resources sustainably. Realtime AI identifies waste type and suggests the right bin—every time." description="Snap a photo of your waste, get instant disposal guidance, and earn ecopoints while helping your city manage resources sustainably. Realtime AI identifies waste type and suggests the right bin—every time."
buttons={[ buttons={[
{ {
text: "Start Segregating Now", href: "#contact"}, text: "Start Segregating Now", href: "/contact"},
]} ]}
carouselItems={[ carouselItems={[
{ {
@@ -311,7 +306,7 @@ export default function LandingPage() {
{ {
label: "FAQ", href: "#faq"}, label: "FAQ", href: "#faq"},
{ {
label: "Contact", href: "#contact"}, label: "Contact", href: "/contact"},
{ {
label: "Privacy Policy", href: "#"}, label: "Privacy Policy", href: "#"},
], ],