Update src/app/contact/page.tsx
This commit is contained in:
@@ -3,22 +3,11 @@
|
|||||||
import ReactLenis from "lenis/react";
|
import ReactLenis from "lenis/react";
|
||||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||||
import NavbarLayoutFloatingOverlay from "@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay";
|
import NavbarLayoutFloatingOverlay from "@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay";
|
||||||
import ContactCenter from '@/components/sections/contact/ContactCenter';
|
import ContactForm from "@/components/form/ContactForm";
|
||||||
import FooterBase from '@/components/sections/footer/FooterBase';
|
import FooterBaseCard from "@/components/sections/footer/FooterBaseCard";
|
||||||
import { Mail } from "lucide-react";
|
import { MessageCircle } from "lucide-react";
|
||||||
import type { Metadata } from "next";
|
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
|
||||||
title: "Contact Webild: Get Your Project Started", description: "Reach out to Webild for web development, SEO, and branding inquiries. Submit your budget, ask questions, or schedule a consultation."
|
|
||||||
};
|
|
||||||
|
|
||||||
export default function ContactPage() {
|
export default function ContactPage() {
|
||||||
const handleContactSubmit = (email: string) => {
|
|
||||||
console.log("Contact form submitted with email:", email);
|
|
||||||
alert(`Thank you for your inquiry! We'll be in touch soon at ${email}.`);
|
|
||||||
// In a real application, you'd send this to a backend API
|
|
||||||
};
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ThemeProvider
|
<ThemeProvider
|
||||||
defaultButtonVariant="text-stagger"
|
defaultButtonVariant="text-stagger"
|
||||||
@@ -36,43 +25,43 @@ export default function ContactPage() {
|
|||||||
<NavbarLayoutFloatingOverlay
|
<NavbarLayoutFloatingOverlay
|
||||||
brandName="Webild"
|
brandName="Webild"
|
||||||
navItems={[
|
navItems={[
|
||||||
{ name: "Work", href: "/#work" },
|
{ name: "Home", id: "/" },
|
||||||
{ name: "Services", href: "/#services" },
|
{ name: "Services", id: "/services" },
|
||||||
{ name: "About", href: "/#about" },
|
{ name: "Work", id: "/work" },
|
||||||
{ name: "Contact", href: "/contact" }
|
{ name: "About", id: "/about" }
|
||||||
]}
|
]}
|
||||||
button={{ text: "Get Started", href: "/contact" }}
|
button={{ text: "Get Started", href: "/contact" }}
|
||||||
/>
|
/>
|
||||||
<ContactCenter
|
|
||||||
|
<ContactForm
|
||||||
|
title="Let's Build Something Great"
|
||||||
|
description="Tell us about your project or simply say hello. We're excited to hear from you!"
|
||||||
tag="Get in Touch"
|
tag="Get in Touch"
|
||||||
tagIcon={Mail}
|
tagIcon={MessageCircle}
|
||||||
title="Let's Build Something Great Together"
|
inputPlaceholder="Your email address"
|
||||||
description="Have a project in mind, a question, or want to discuss your budget? Fill out the form below or reach us directly at: info@webild.com | +1 (555) 123-4567 | 456 Creative Lane, Suite 200, Digital Hub, CA 90210"
|
buttonText="Send Message"
|
||||||
background={{ variant: "radial-gradient" }}
|
termsText="By sending a message, you're confirming that you agree with our Privacy Policy."
|
||||||
inputPlaceholder="Your Email Address"
|
centered={true}
|
||||||
buttonText="Send Inquiry"
|
|
||||||
termsText="By sending an inquiry, you agree to our Privacy Policy and Terms of Service."
|
|
||||||
onSubmit={handleContactSubmit}
|
|
||||||
useInvertedBackground={false}
|
|
||||||
/>
|
/>
|
||||||
<FooterBase
|
|
||||||
|
<FooterBaseCard
|
||||||
logoText="Webild"
|
logoText="Webild"
|
||||||
copyrightText="© 2026 | Webild"
|
copyrightText="© 2026 | Webild"
|
||||||
columns={[
|
columns={[
|
||||||
{
|
{
|
||||||
title: "Company", items: [
|
title: "Company", items: [
|
||||||
{ label: "About", href: "/#about" },
|
{ label: "About", href: "/about" },
|
||||||
{ label: "Services", href: "/#services" },
|
{ label: "Services", href: "/services" },
|
||||||
{ label: "Work", href: "/#work" },
|
{ label: "Work", href: "/work" },
|
||||||
{ label: "Contact", href: "/contact" }
|
{ label: "Contact", href: "/contact" }
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "Services", items: [
|
title: "Services", items: [
|
||||||
{ label: "Web Development", href: "#" },
|
{ label: "Web Development", href: "/services" },
|
||||||
{ label: "SEO", href: "#" },
|
{ label: "SEO", href: "/services" },
|
||||||
{ label: "Branding", href: "#" },
|
{ label: "Branding", href: "/services" },
|
||||||
{ label: "UI/UX Design", href: "#" },
|
{ label: "UI/UX Design", href: "/services" },
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -82,7 +71,7 @@ export default function ContactPage() {
|
|||||||
{ label: "Instagram", href: "#" },
|
{ label: "Instagram", href: "#" },
|
||||||
{ label: "Dribbble", href: "#" },
|
{ label: "Dribbble", href: "#" },
|
||||||
],
|
],
|
||||||
}
|
},
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
</ReactLenis>
|
</ReactLenis>
|
||||||
|
|||||||
Reference in New Issue
Block a user