Bob AI: [SECTION ADD OPERATION]
You must create a COMPLETELY NEW sec
This commit is contained in:
35
src/components/sections/contact/ContactFormSection.tsx
Normal file
35
src/components/sections/contact/ContactFormSection.tsx
Normal file
@@ -0,0 +1,35 @@
|
||||
"use client";
|
||||
|
||||
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
|
||||
|
||||
export default function ContactFormSection() {
|
||||
return (
|
||||
<ContactSplitForm
|
||||
tag="Get in Touch"
|
||||
title="Have Questions?"
|
||||
description="We're here to help! Send us a message and we'll get back to you as soon as possible."
|
||||
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="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3A2kdHi1NSExmmN97qC0PBBxl6G/a-futuristic-secure-contact-input-field--1777233972960-0d92d59b.png" // Reusing an existing image
|
||||
/>
|
||||
);
|
||||
}
|
||||
@@ -9,6 +9,7 @@ import InfoCardMarquee from '@/components/ui/InfoCardMarquee';
|
||||
import TeamSection from '@/components/sections/team/TeamSection';
|
||||
import StatsSection from '@/components/sections/other/StatsSection';
|
||||
import BlogSection from '@/components/sections/blog/BlogSection';
|
||||
import { ContactFormSection } from '@/components/sections/contact/ContactFormSection';
|
||||
|
||||
export default function HomePage() {
|
||||
return (
|
||||
@@ -301,6 +302,10 @@ export default function HomePage() {
|
||||
<div id="blog" data-section="blog">
|
||||
<BlogSection />
|
||||
</div>
|
||||
|
||||
<div id="contact-form" data-section="contact-form">
|
||||
<ContactFormSection />
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user