Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 8dedc544b5 | |||
| 3f53d7371b | |||
| 3a9acff073 | |||
| 43120c3d11 | |||
| 54b9fe483e | |||
| 9133ced574 |
108
src/app/contact/page.tsx
Normal file
108
src/app/contact/page.tsx
Normal 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?_wi=1"
|
||||
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?_wi=1"
|
||||
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>
|
||||
);
|
||||
}
|
||||
@@ -16,6 +16,16 @@ import TestimonialCardThirteen from '@/components/sections/testimonial/Testimoni
|
||||
import { CheckCircle, DollarSign, FileText, LineChart, Recycle, Sparkles, TrendingUp, Trophy } from "lucide-react";
|
||||
|
||||
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 (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="shift-hover"
|
||||
@@ -32,24 +42,9 @@ export default function LandingPage() {
|
||||
<ReactLenis root>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleCentered
|
||||
navItems={[
|
||||
{
|
||||
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"},
|
||||
]}
|
||||
navItems={updatedNavItems}
|
||||
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"
|
||||
logoAlt="EcoSegregate Logo"
|
||||
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."
|
||||
buttons={[
|
||||
{
|
||||
text: "Start Segregating Now", href: "#contact"},
|
||||
text: "Start Segregating Now", href: "/contact"},
|
||||
]}
|
||||
carouselItems={[
|
||||
{
|
||||
@@ -271,7 +266,7 @@ export default function LandingPage() {
|
||||
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"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/3d-abstract-landscape-cubes-with-depth-field_1048-12642.jpg?_wi=2"
|
||||
imageAlt="Abstract network illustration for contact section"
|
||||
mediaAnimation="slide-up"
|
||||
mediaPosition="right"
|
||||
@@ -281,7 +276,7 @@ export default function LandingPage() {
|
||||
|
||||
<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"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/person-using-zero-emissions-mean-transportation-go-around-city_23-2151261371.jpg?_wi=2"
|
||||
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"
|
||||
@@ -311,7 +306,7 @@ export default function LandingPage() {
|
||||
{
|
||||
label: "FAQ", href: "#faq"},
|
||||
{
|
||||
label: "Contact", href: "#contact"},
|
||||
label: "Contact", href: "/contact"},
|
||||
{
|
||||
label: "Privacy Policy", href: "#"},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user