Add src/app/contact-us/page.tsx
This commit is contained in:
87
src/app/contact-us/page.tsx
Normal file
87
src/app/contact-us/page.tsx
Normal file
@@ -0,0 +1,87 @@
|
||||
"use client";
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import ReactLenis from "lenis/react";
|
||||
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
|
||||
import FooterCard from '@/components/sections/footer/FooterCard';
|
||||
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
|
||||
import { Twitter, Linkedin, Instagram } from "lucide-react";
|
||||
|
||||
export default function ContactUsPage() {
|
||||
const navItems = [
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "About", id: "#about" },
|
||||
{ name: "Features", id: "#features" },
|
||||
{ name: "Explore", id: "#explore" },
|
||||
{ name: "Metrics", id: "#metrics" },
|
||||
{ name: "Testimonials", id: "#testimonials" },
|
||||
{ name: "Partners", id: "#partners" },
|
||||
{ name: "FAQ", id: "#faq" },
|
||||
{ name: "Contact Us", id: "/contact-us" },
|
||||
{ name: "Privacy Policy", id: "/privacy-policy" },
|
||||
{ name: "Terms of Service", id: "/terms-of-service" },
|
||||
];
|
||||
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="hover-magnetic"
|
||||
defaultTextAnimation="entrance-slide"
|
||||
borderRadius="rounded"
|
||||
contentWidth="mediumSmall"
|
||||
sizing="mediumLargeSizeMediumTitles"
|
||||
background="circleGradient"
|
||||
cardStyle="subtle-shadow"
|
||||
primaryButtonStyle="radial-glow"
|
||||
secondaryButtonStyle="layered"
|
||||
headingFontWeight="extrabold"
|
||||
>
|
||||
<ReactLenis root>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleFullscreen
|
||||
navItems={navItems}
|
||||
logoSrc="http://img.b2bpic.net/free-vector/gradient-electronics-logos-pack_23-2148971491.jpg"
|
||||
logoAlt="LifeAtlas X Logo"
|
||||
brandName="LifeAtlas X"
|
||||
bottomLeftText="Global Community"
|
||||
bottomRightText="explore@lifeatlasx.com"
|
||||
button={{
|
||||
text: "Begin Your Exploration", href: "/"}}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="contact-form-section" data-section="contact-form-section">
|
||||
<ContactSplitForm
|
||||
title="Get in Touch"
|
||||
description="We're here to help! Fill out the form below or reach out to us through our social channels."
|
||||
inputs={[
|
||||
{ name: "name", type: "text", placeholder: "Your Name", required: true },
|
||||
{ name: "email", type: "email", placeholder: "Your Email", required: true },
|
||||
]}
|
||||
textarea={{ name: "message", placeholder: "Your Message", rows: 5, required: true }}
|
||||
buttonText="Send Message"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/communication-connection-technology-internet_1421-43.jpg"
|
||||
imageAlt="People communicating"
|
||||
mediaPosition="right"
|
||||
useInvertedBackground={false}
|
||||
onSubmit={(data) => {
|
||||
console.log("Contact form submitted:", data);
|
||||
alert("Your message has been sent!");
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterCard
|
||||
logoText="LifeAtlas X"
|
||||
copyrightText="© 2024 LifeAtlas X. All rights reserved."
|
||||
socialLinks={[
|
||||
{ icon: Twitter, href: "#", ariaLabel: "Twitter" },
|
||||
{ icon: Linkedin, href: "#", ariaLabel: "LinkedIn" },
|
||||
{ icon: Instagram, href: "#", ariaLabel: "Instagram" },
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user