Update src/app/about/page.tsx
This commit is contained in:
@@ -13,25 +13,10 @@ export default function AboutPage() {
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "Shop", id: "/shop" },
|
||||
{ name: "About", id: "/about" },
|
||||
{ name: "Reviews", id: "/testimonials" },
|
||||
{ name: "Contact", id: "/contact" },
|
||||
{ name: "FAQ", id: "faq" },
|
||||
];
|
||||
|
||||
const handleNavClick = (id: string) => {
|
||||
if (id === "/") {
|
||||
window.location.href = "/";
|
||||
} else if (id.startsWith("/")) {
|
||||
window.location.href = id;
|
||||
} else if (id.startsWith("http")) {
|
||||
window.open(id, "_blank");
|
||||
} else {
|
||||
const element = document.getElementById(id);
|
||||
if (element) {
|
||||
element.scrollIntoView({ behavior: "smooth" });
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="bounce-effect"
|
||||
@@ -57,7 +42,8 @@ export default function AboutPage() {
|
||||
<TextSplitAbout
|
||||
title="Our Mission & Vision"
|
||||
description={[
|
||||
"StyleHub was founded on a simple belief: everyone deserves access to high-quality, stylish fashion. Since 2015, we've been on a mission to curate the world's best fashion and apparel.", "We believe in sustainable practices, ethical manufacturing, and building a community of style-conscious individuals who value quality over quantity. Our vision is to become the most trusted fashion destination globally."]}
|
||||
"StyleHub was founded on a simple belief: everyone deserves access to high-quality, stylish fashion. Since 2015, we've been on a mission to curate the world's best fashion and apparel.", "We believe in sustainable practices, ethical manufacturing, and building a community of style-conscious individuals who value quality over quantity. Our vision is to become the most trusted fashion destination globally."
|
||||
]}
|
||||
buttons={[
|
||||
{ text: "Shop Now", href: "/shop" },
|
||||
{ text: "Explore Values", href: "#" },
|
||||
@@ -76,9 +62,11 @@ export default function AboutPage() {
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
names={[
|
||||
"Global Partners", "Fashion Brands", "Quality Makers", "Ethical Partners", "Sustainable Brands", "Industry Leaders", "Trusted Makers", "Premium Partners"]}
|
||||
"Global Partners", "Fashion Brands", "Quality Makers", "Ethical Partners", "Sustainable Brands", "Industry Leaders", "Trusted Makers", "Premium Partners"
|
||||
]}
|
||||
logos={[
|
||||
"http://img.b2bpic.net/free-vector/collection-abstract-lineal-logo_23-2148457951.jpg", "http://img.b2bpic.net/free-vector/retro-logo-collection_23-2148445976.jpg", "http://img.b2bpic.net/free-vector/geometric-harmony-hills-private-school-logo-template_742173-18879.jpg", "http://img.b2bpic.net/free-vector/flat-design-outlet-stamp-collection_23-2149753026.jpg", "http://img.b2bpic.net/free-vector/flat-design-fashion-accessories-logo-set_23-2148888960.jpg", "http://img.b2bpic.net/free-vector/health-store-logo-design_23-2148472971.jpg", "http://img.b2bpic.net/free-vector/geometric-harmony-hills-private-school-logo-template_742173-18879.jpg", "http://img.b2bpic.net/free-vector/retro-logo-collection_23-2148445976.jpg"]}
|
||||
"http://img.b2bpic.net/free-vector/collection-abstract-lineal-logo_23-2148457951.jpg", "http://img.b2bpic.net/free-vector/retro-logo-collection_23-2148445976.jpg", "http://img.b2bpic.net/free-vector/geometric-harmony-hills-private-school-logo-template_742173-18879.jpg", "http://img.b2bpic.net/free-vector/flat-design-outlet-stamp-collection_23-2149753026.jpg", "http://img.b2bpic.net/free-vector/flat-design-fashion-accessories-logo-set_23-2148888960.jpg", "http://img.b2bpic.net/free-vector/health-store-logo-design_23-2148472971.jpg", "http://img.b2bpic.net/free-vector/geometric-harmony-hills-private-school-logo-template_742173-18879.jpg", "http://img.b2bpic.net/free-vector/retro-logo-collection_23-2148445976.jpg"
|
||||
]}
|
||||
speed={40}
|
||||
showCard={true}
|
||||
/>
|
||||
@@ -88,7 +76,8 @@ export default function AboutPage() {
|
||||
<TextSplitAbout
|
||||
title="Sustainability Commitment"
|
||||
description={[
|
||||
"At StyleHub, we're committed to reducing our environmental impact. We source materials responsibly, partner with manufacturers who follow ethical labor practices, and continuously innovate our supply chain.", "Every purchase supports our sustainability initiatives. From eco-friendly packaging to carbon-neutral shipping options, we're building a fashion future that works for people and the planet."]}
|
||||
"At StyleHub, we're committed to reducing our environmental impact. We source materials responsibly, partner with manufacturers who follow ethical labor practices, and continuously innovate our supply chain.", "Every purchase supports our sustainability initiatives. From eco-friendly packaging to carbon-neutral shipping options, we're building a fashion future that works for people and the planet."
|
||||
]}
|
||||
buttons={[
|
||||
{ text: "Learn More", href: "#" },
|
||||
{ text: "View Certifications", href: "#" },
|
||||
|
||||
Reference in New Issue
Block a user