Update src/app/contact/page.tsx
This commit is contained in:
@@ -3,22 +3,11 @@
|
||||
import ReactLenis from "lenis/react";
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import NavbarLayoutFloatingOverlay from "@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay";
|
||||
import ContactCenter from '@/components/sections/contact/ContactCenter';
|
||||
import FooterBase from '@/components/sections/footer/FooterBase';
|
||||
import { Mail } 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."
|
||||
};
|
||||
import ContactForm from "@/components/form/ContactForm";
|
||||
import FooterBaseCard from "@/components/sections/footer/FooterBaseCard";
|
||||
import { MessageCircle } from "lucide-react";
|
||||
|
||||
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 (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="text-stagger"
|
||||
@@ -36,43 +25,43 @@ export default function ContactPage() {
|
||||
<NavbarLayoutFloatingOverlay
|
||||
brandName="Webild"
|
||||
navItems={[
|
||||
{ name: "Work", href: "/#work" },
|
||||
{ name: "Services", href: "/#services" },
|
||||
{ name: "About", href: "/#about" },
|
||||
{ name: "Contact", href: "/contact" }
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "Services", id: "/services" },
|
||||
{ name: "Work", id: "/work" },
|
||||
{ name: "About", id: "/about" }
|
||||
]}
|
||||
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"
|
||||
tagIcon={Mail}
|
||||
title="Let's Build Something Great Together"
|
||||
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"
|
||||
background={{ variant: "radial-gradient" }}
|
||||
inputPlaceholder="Your Email Address"
|
||||
buttonText="Send Inquiry"
|
||||
termsText="By sending an inquiry, you agree to our Privacy Policy and Terms of Service."
|
||||
onSubmit={handleContactSubmit}
|
||||
useInvertedBackground={false}
|
||||
tagIcon={MessageCircle}
|
||||
inputPlaceholder="Your email address"
|
||||
buttonText="Send Message"
|
||||
termsText="By sending a message, you're confirming that you agree with our Privacy Policy."
|
||||
centered={true}
|
||||
/>
|
||||
<FooterBase
|
||||
|
||||
<FooterBaseCard
|
||||
logoText="Webild"
|
||||
copyrightText="© 2026 | Webild"
|
||||
columns={[
|
||||
{
|
||||
title: "Company", items: [
|
||||
{ label: "About", href: "/#about" },
|
||||
{ label: "Services", href: "/#services" },
|
||||
{ label: "Work", href: "/#work" },
|
||||
{ label: "About", href: "/about" },
|
||||
{ label: "Services", href: "/services" },
|
||||
{ label: "Work", href: "/work" },
|
||||
{ label: "Contact", href: "/contact" }
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Services", items: [
|
||||
{ label: "Web Development", href: "#" },
|
||||
{ label: "SEO", href: "#" },
|
||||
{ label: "Branding", href: "#" },
|
||||
{ label: "UI/UX Design", href: "#" },
|
||||
{ label: "Web Development", href: "/services" },
|
||||
{ label: "SEO", href: "/services" },
|
||||
{ label: "Branding", href: "/services" },
|
||||
{ label: "UI/UX Design", href: "/services" },
|
||||
],
|
||||
},
|
||||
{
|
||||
@@ -82,7 +71,7 @@ export default function ContactPage() {
|
||||
{ label: "Instagram", href: "#" },
|
||||
{ label: "Dribbble", href: "#" },
|
||||
],
|
||||
}
|
||||
},
|
||||
]}
|
||||
/>
|
||||
</ReactLenis>
|
||||
|
||||
Reference in New Issue
Block a user