From 07df875da3917ad22363bd77eb27d88eecdb28b3 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Wed, 29 Apr 2026 21:56:38 +0000 Subject: [PATCH] Bob AI: Expand the 'about' section component to include more detaile --- src/components/sections/about/AboutText.tsx | 66 +++++++++++++++------ 1 file changed, 48 insertions(+), 18 deletions(-) diff --git a/src/components/sections/about/AboutText.tsx b/src/components/sections/about/AboutText.tsx index 7a5c119..163eb82 100644 --- a/src/components/sections/about/AboutText.tsx +++ b/src/components/sections/about/AboutText.tsx @@ -1,37 +1,67 @@ import Button from "@/components/ui/Button"; import TextAnimation from "@/components/ui/TextAnimation"; +import ScrollReveal from "@/components/ui/ScrollReveal"; interface AboutTextProps { - title: string; + title?: string; + subheading?: string; + paragraphs?: string[]; primaryButton?: { text: string; href: string }; secondaryButton?: { text: string; href: string }; } +const defaultParagraphs = [ + "We believe in pushing the boundaries of what's possible. Our team of dedicated professionals works tirelessly to bring innovative solutions to the forefront of the industry, ensuring that every project we undertake is a testament to our commitment to excellence.", + "With years of experience and a passion for design and technology, we have cultivated an environment where creativity thrives. We partner with our clients to understand their unique needs and deliver tailored experiences that resonate with their audiences.", + "Join us on our journey to redefine the standards of quality and performance. Together, we can build a future that is not only functional but also beautifully crafted." +]; + const AboutText = ({ - title, - primaryButton, + title = "About Us", + subheading = "Our Story and Vision", + paragraphs = defaultParagraphs, + primaryButton = { text: "Get in Touch", href: "#contact" }, secondaryButton, }: AboutTextProps) => { return (
-
- +
+
+ {subheading && ( +
+ {subheading} +
+ )} + +
- {(primaryButton || secondaryButton) && ( -
- {primaryButton &&
- )} +
+ {paragraphs.map((paragraph, index) => ( + +

+ {paragraph} +

+
+ ))} + + {(primaryButton || secondaryButton) && ( + +
+ {primaryButton &&
+
+ )} +
); }; -export default AboutText; +export default AboutText; \ No newline at end of file -- 2.49.1