From 6f7614e9283f529ec9fcf301e3cf72ed7dea4c56 Mon Sep 17 00:00:00 2001 From: jhpin2 Date: Mon, 3 Mar 2025 12:06:32 +0600 Subject: [PATCH 1/5] black line removed from gif --- src/components/FeatureCardSection.tsx | 7 ++++++- src/components/FeatureSection.tsx | 7 +++++-- src/components/PricingSection.tsx | 2 +- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/src/components/FeatureCardSection.tsx b/src/components/FeatureCardSection.tsx index 4f2d9ac..075d40c 100644 --- a/src/components/FeatureCardSection.tsx +++ b/src/components/FeatureCardSection.tsx @@ -65,7 +65,12 @@ const FeatureCardSection: React.FC = ({ alt={card.imageAlt} width={360} height={480} - className="h-full w-full" + className="h-full w-full clip-path" + style={ + card.imageUrl.endsWith(".gif") + ? { clipPath: "inset(0 4px 0 0)" } + : {} + } />
diff --git a/src/components/FeatureSection.tsx b/src/components/FeatureSection.tsx index 14de2e8..62bf6ce 100644 --- a/src/components/FeatureSection.tsx +++ b/src/components/FeatureSection.tsx @@ -66,13 +66,16 @@ const FeatureSection: React.FC = ({ className={`w-full rotate-180 ${imageContainerClasses}`} style={{ backgroundColor }} > -
+
{imageAlt}
diff --git a/src/components/PricingSection.tsx b/src/components/PricingSection.tsx index 1b98a24..123ce76 100644 --- a/src/components/PricingSection.tsx +++ b/src/components/PricingSection.tsx @@ -72,7 +72,7 @@ export default function PricingSection() { name: "Growth", users: "10 user", monthlyPrice: "$59", - yearlyPrice: "$50", + yearlyPrice: "$30", description: "Advanced features to boost productivity and expand your reach", highlight: true, From 2663c9da045a0f378e48649d34effd5eaaae117f Mon Sep 17 00:00:00 2001 From: jhpin2 Date: Mon, 3 Mar 2025 12:50:14 +0600 Subject: [PATCH 2/5] contact page added --- src/app/contact/page.tsx | 5 + src/components/contact-page.tsx | 232 ++++++++++++++++++++++++++++++++ src/components/ui/textarea.tsx | 22 +++ 3 files changed, 259 insertions(+) create mode 100644 src/app/contact/page.tsx create mode 100644 src/components/contact-page.tsx create mode 100644 src/components/ui/textarea.tsx diff --git a/src/app/contact/page.tsx b/src/app/contact/page.tsx new file mode 100644 index 0000000..df5289b --- /dev/null +++ b/src/app/contact/page.tsx @@ -0,0 +1,5 @@ +import ContactPage from "@/components/contact-page"; + +export default function Contact() { + return ; +} diff --git a/src/components/contact-page.tsx b/src/components/contact-page.tsx new file mode 100644 index 0000000..6f6494d --- /dev/null +++ b/src/components/contact-page.tsx @@ -0,0 +1,232 @@ +"use client"; + +import type React from "react"; + +import { useState } from "react"; +import { Facebook, Twitter, Linkedin, Instagram, MapPin } from "lucide-react"; +import { Button } from "@/components/ui/button"; +import { Input } from "@/components/ui/input"; +import { Textarea } from "@/components/ui/textarea"; + +export default function ContactPage() { + const [formData, setFormData] = useState({ + name: "", + email: "", + phone: "", + company: "", + message: "", + }); + + const handleChange = ( + e: React.ChangeEvent + ) => { + const { name, value } = e.target; + setFormData((prev) => ({ ...prev, [name]: value })); + }; + + const handleSubmit = (e: React.FormEvent) => { + e.preventDefault(); + console.log("Form submitted:", formData); + // toast({ + // title: "Message sent!", + // description: "We'll be in touch with you shortly.", + // }); + // Reset form + setFormData({ + name: "", + email: "", + phone: "", + company: "", + message: "", + }); + }; + + return ( +
+
+
+
+ {/* Left Column - Contact Information */} +
+
+

+ Get in touch
+ with us directly +

+

+ We are here to help you! Tell us how we can help & we'll be + in touch with an expert within the next 24 hours. +

+
+ +
+
+

Send us an email:

+ + contact@adspillar.com + +
+ +
+

Give us a call:

+ + +880 1784-493232 + +
+ +
+

Follow us:

+ +
+
+
+ + {/* Right Column - Contact Form */} +
+
+
+
+ + +
+
+ + +
+
+ +
+
+ + +
+
+ + +
+
+ +
+ +