Update src/app/contact/page.tsx

This commit is contained in:
2026-03-26 14:51:53 +00:00
parent 8c3054d351
commit aa022e439d

View File

@@ -2,226 +2,72 @@
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FaqBase from '@/components/sections/faq/FaqBase';
import FeatureCardOne from '@/components/sections/feature/FeatureCardOne';
import FooterBase from '@/components/sections/footer/FooterBase';
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FooterMedia from '@/components/sections/footer/FooterMedia';
export default function ContactPage() {
const navItems = [
{ name: "Home", id: "/" },
{ name: "Anime", id: "/anime" },
{ name: "Watch Free", id: "#features" },
{ name: "FAQs", id: "/faqs" },
{ name: "Contact", id: "/contact" }
];
export default function LandingPage() {
return (
<ThemeProvider
defaultButtonVariant="icon-arrow"
defaultTextAnimation="entrance-slide"
borderRadius="rounded"
contentWidth="mediumSmall"
sizing="largeSizeMediumTitles"
background="grid"
cardStyle="gradient-bordered"
primaryButtonStyle="flat"
secondaryButtonStyle="layered"
headingFontWeight="normal"
defaultButtonVariant="icon-arrow"
defaultTextAnimation="entrance-slide"
borderRadius="rounded"
contentWidth="mediumSmall"
sizing="largeSizeMediumTitles"
background="grid"
cardStyle="gradient-bordered"
primaryButtonStyle="flat"
secondaryButtonStyle="layered"
headingFontWeight="normal"
>
<ReactLenis root>
<div id="nav" data-section="nav">
<NavbarLayoutFloatingOverlay
navItems={[
{
name: "Home",
id: "home",
href: "/",
},
{
name: "Anime",
id: "anime",
href: "#anime-catalog",
},
{
name: "Watch Free",
id: "watch-free",
href: "#features",
},
{
name: "FAQs",
id: "faqs",
href: "#faq",
},
{
name: "Contact",
id: "contact",
href: "#contact",
},
]}
brandName="AnimeFlix Hindi"
button={{
text: "Get Started",
href: "#anime-catalog",
}}
/>
</div>
<div id="nav" data-section="nav">
<NavbarLayoutFloatingOverlay
navItems={navItems}
brandName="AnimeFlix Hindi"
button={{ text: "Get Started", href: "#contact" }}
/>
</div>
<div id="contact-form" data-section="contact-form">
<ContactSplitForm
useInvertedBackground={false}
title="Reach Out to AnimeFlix Hindi"
description="Have a question, feedback, or need assistance? Fill out the form below, and our team will get back to you promptly."
inputs={[
{
name: "name",
type: "text",
placeholder: "Your Name",
required: true,
},
{
name: "email",
type: "email",
placeholder: "Your Email",
required: true,
},
{
name: "subject",
type: "text",
placeholder: "Subject",
required: true,
},
]}
textarea={{
name: "message",
placeholder: "Your Message",
rows: 5,
required: true,
}}
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BUGJOxrVi933hFXeJ6Lo4G9ZLq/a-stylized-3d-representation-of-a-futuri-1774536256768-63245fec.png?_wi=2"
imageAlt="Futuristic support center illustration"
mediaAnimation="slide-up"
buttonText="Send Message"
/>
</div>
<div id="contact" data-section="contact">
<ContactSplitForm
title="Get in Touch with Us"
description="Have questions, suggestions, or feedback? 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 }
]}
textarea={{ name: "message", placeholder: "Your Message", rows: 5, required: true }}
buttonText="Send Message"
useInvertedBackground={true}
mediaAnimation="slide-up"
mediaPosition="right"
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BUGJOxrVi933hFXeJ6Lo4G9ZLq/a-stylized-3d-representation-of-a-futuri-1774536256768-63245fec.png"
imageAlt="Stylized 3D communication hub"
/>
</div>
<div id="support-channels" data-section="support-channels">
<FeatureCardOne
textboxLayout="default"
gridVariant="three-columns-all-equal-width"
useInvertedBackground={true}
features={[
{
title: "Live Chat Support",
description: "Get instant help from our support agents for quick queries directly on our website.",
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BUGJOxrVi933hFXeJ6Lo4G9ZLq/a-3d-icon-representing-a-play-button-wit-1774536256725-87ec9725.png?_wi=2",
imageAlt: "Live chat icon",
},
{
title: "Email Us Directly",
description: "Send us a detailed email, and we'll respond within 24-48 hours for non-urgent matters.",
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BUGJOxrVi933hFXeJ6Lo4G9ZLq/a-3d-icon-of-a-microphone-or-sound-wave--1774536256259-fc9733aa.png?_wi=2",
imageAlt: "Email icon",
},
{
title: "Connect on Social Media",
description: "Stay updated with news, engage with our community, and send quick messages on our social channels.",
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BUGJOxrVi933hFXeJ6Lo4G9ZLq/a-dynamic-3d-anime-character-poster-with-1774536259245-b2042a9e.png?_wi=2",
imageAlt: "Social media icon",
},
]}
title="Alternative Ways to Connect"
description="We offer multiple channels for you to connect with us, ensuring you always get the support you need."
/>
</div>
<div id="quick-answers" data-section="quick-answers">
<FaqBase
textboxLayout="default"
useInvertedBackground={false}
faqs={[
{
id: "1",
title: "How long until I receive a response?",
content: "We strive to respond to all inquiries within 24-48 business hours. Complex issues may take a bit longer.",
},
{
id: "2",
title: "Can I report bugs via this form?",
content: "Yes, please do! Providing detailed information about any bugs or glitches helps us improve the service for everyone.",
},
{
id: "3",
title: "Is there a phone number for urgent issues?",
content: "Currently, we offer support primarily through email and our live chat. For urgent issues, please use the live chat option during business hours.",
},
]}
title="Common Contact Questions"
description="You might find your answer here before sending us a message! Save time by checking these frequently asked questions."
faqsAnimation="slide-up"
/>
</div>
<div id="footer" data-section="footer">
<FooterBase
columns={[
{
title: "Explore",
items: [
{
label: "All Anime",
href: "/anime",
},
{
label: "New Releases",
href: "#",
},
{
label: "Popular Titles",
href: "#",
},
{
label: "Genres",
href: "#",
},
],
},
{
title: "Company",
items: [
{
label: "About Us",
href: "#about",
},
{
label: "Contact",
href: "/contact",
},
{
label: "Careers",
href: "#",
},
],
},
{
title: "Support",
items: [
{
label: "FAQs",
href: "/faqs",
},
{
label: "Help Center",
href: "#",
},
{
label: "Privacy Policy",
href: "#",
},
{
label: "Terms of Service",
href: "#",
},
],
},
]}
logoText="AnimeFlix Hindi"
copyrightText="© 2024 AnimeFlix Hindi. All rights reserved."
/>
</div>
<div id="footer" data-section="footer">
<FooterMedia
videoSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3BUGJOxrVi933hFXeJ6Lo4G9ZLq/a-seamless-loop-3d-animation-of-abstract-1774536257204-5c9294f8.png"
videoAriaLabel="Abstract flowing particles background"
columns={[
{ title: "Quick Links", items: [{ label: "Home", href: "/" }, { label: "Anime Catalog", href: "/anime" }, { label: "Watch Free", href: "#features" }] },
{ title: "Support", items: [{ label: "FAQs", href: "/faqs" }, { label: "Contact Us", href: "/contact" }] },
{ title: "Legal", items: [{ label: "Privacy Policy", href: "#" }, { label: "Terms of Service", href: "#" }] }
]}
logoText="AnimeFlix Hindi"
copyrightText="© 2024 AnimeFlix Hindi. All rights reserved."
/>
</div>
</ReactLenis>
</ThemeProvider>
);