Add src/app/contact/page.tsx

This commit is contained in:
2026-04-15 03:36:30 +00:00
parent 01114237ca
commit e258b43f40

60
src/app/contact/page.tsx Normal file
View File

@@ -0,0 +1,60 @@
"use client";
import { useState } from "react";
import ReactLenis from "lenis/react";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from "@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay";
import ContactText from "@/components/sections/contact/ContactText";
import Textarea from "@/components/form/Textarea";
import FooterBase from "@/components/sections/footer/FooterBase";
export default function ContactPage() {
const [message, setMessage] = useState("");
return (
<ThemeProvider
defaultButtonVariant="text-stagger"
defaultTextAnimation="entrance-slide"
borderRadius="pill"
contentWidth="medium"
sizing="medium"
background="none"
cardStyle="glass-elevated"
primaryButtonStyle="metallic"
secondaryButtonStyle="glass"
headingFontWeight="medium"
>
<ReactLenis root>
<NavbarLayoutFloatingOverlay
brandName="Webild"
navItems={[
{ name: "Home", id: "/" },
{ name: "About", id: "/about" },
{ name: "Contact", id: "/contact" },
]}
button={{ text: "Get Started", href: "/contact" }}
/>
<ContactText
text="Book Your Consultation"
background={{ variant: "rotated-rays-animated" }}
/>
<div className="container mx-auto px-4 py-12">
<div className="max-w-xl mx-auto space-y-6">
<Textarea value={message} onChange={setMessage} placeholder="Tell us about your project..." />
<button className="px-6 py-3 bg-primary text-white rounded-full">Send Request</button>
<div className="mt-8 p-6 bg-secondary/10 rounded-xl">
<h3 className="font-bold mb-2">Our Location</h3>
<p>123 Barbershop Lane, Digital City, DC 12345</p>
</div>
</div>
</div>
<FooterBase
logoText="Webild"
copyrightText="© 2026 | Webild"
columns={[
{ title: "Company", items: [{ label: "Home", href: "/" }, { label: "About", href: "/about" }] }
]}
/>
</ReactLenis>
</ThemeProvider>
);
}