Merge version_1 into main
Merge version_1 into main
This commit was merged in pull request #2.
This commit is contained in:
@@ -55,13 +55,13 @@ export default function LandingPage() {
|
||||
buttonAnimation="slide-up"
|
||||
carouselItems={[
|
||||
{
|
||||
id: "1", imageSrc: "http://img.b2bpic.net/free-photo/asian-store-employee-suggesting-trendy-items-client-wheelchair-user_482257-108841.jpg?_wi=1", imageAlt: "modern athletic wear display"
|
||||
id: "1", imageSrc: "http://img.b2bpic.net/free-photo/asian-store-employee-suggesting-trendy-items-client-wheelchair-user_482257-108841.jpg", imageAlt: "modern athletic wear display"
|
||||
},
|
||||
{
|
||||
id: "2", imageSrc: "http://img.b2bpic.net/free-photo/fresh-air-is-what-we-really-like_329181-15067.jpg", imageAlt: "professional sports clothing line"
|
||||
},
|
||||
{
|
||||
id: "3", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-stretching_23-2149235422.jpg?_wi=1", imageAlt: "premium athletic clothing modern"
|
||||
id: "3", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-stretching_23-2149235422.jpg", imageAlt: "premium athletic clothing modern"
|
||||
},
|
||||
{
|
||||
id: "4", imageSrc: "http://img.b2bpic.net/free-vector/metallic-cogwheel-symbol-dark-background-industry-equipment_1017-61354.jpg", imageAlt: "modern sports outfit showcase"
|
||||
@@ -87,13 +87,13 @@ export default function LandingPage() {
|
||||
tagAnimation="slide-up"
|
||||
products={[
|
||||
{
|
||||
id: "1", name: "Performance Athletic Jacket", price: "$149.99", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-training-outside_23-2148799688.jpg?_wi=1", imageAlt: "modern athletic jacket display"
|
||||
id: "1", name: "Performance Athletic Jacket", price: "$149.99", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-training-outside_23-2148799688.jpg", imageAlt: "modern athletic jacket display"
|
||||
},
|
||||
{
|
||||
id: "2", name: "Premium Running Shoes", price: "$189.99", imageSrc: "http://img.b2bpic.net/free-photo/businesspeople-moving-upstairs-downstairs_74855-2595.jpg", imageAlt: "premium athletic shoes modern"
|
||||
},
|
||||
{
|
||||
id: "3", name: "Sport Accessories Kit", price: "$79.99", imageSrc: "http://img.b2bpic.net/free-photo/still-life-composition-sport-elements_23-2149006302.jpg?_wi=1", imageAlt: "sports accessories collection display"
|
||||
id: "3", name: "Sport Accessories Kit", price: "$79.99", imageSrc: "http://img.b2bpic.net/free-photo/still-life-composition-sport-elements_23-2149006302.jpg", imageAlt: "sports accessories collection display"
|
||||
}
|
||||
]}
|
||||
gridVariant="three-columns-all-equal-width"
|
||||
@@ -114,7 +114,7 @@ export default function LandingPage() {
|
||||
description="Aure Gear Team"
|
||||
subdescription="Performance Innovators Since 2020"
|
||||
icon={Heart}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/asian-store-employee-suggesting-trendy-items-client-wheelchair-user_482257-108841.jpg?_wi=2"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/asian-store-employee-suggesting-trendy-items-client-wheelchair-user_482257-108841.jpg"
|
||||
imageAlt="Aure Gear Collection"
|
||||
mediaAnimation="blur-reveal"
|
||||
useInvertedBackground={false}
|
||||
@@ -131,15 +131,15 @@ export default function LandingPage() {
|
||||
features={[
|
||||
{
|
||||
id: 1,
|
||||
title: "Premium Materials", description: "We use only the finest fabrics and materials sourced from premium suppliers worldwide. Every garment is crafted for durability and comfort.", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-training-outside_23-2148799688.jpg?_wi=2"
|
||||
title: "Premium Materials", description: "We use only the finest fabrics and materials sourced from premium suppliers worldwide. Every garment is crafted for durability and comfort.", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-training-outside_23-2148799688.jpg"
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
title: "Expert Design", description: "Our design team brings years of experience creating performance wear that looks as good as it performs. Modern aesthetics meet functional engineering.", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-stretching_23-2149235422.jpg?_wi=2"
|
||||
title: "Expert Design", description: "Our design team brings years of experience creating performance wear that looks as good as it performs. Modern aesthetics meet functional engineering.", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-stretching_23-2149235422.jpg"
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
title: "Sustainable Practices", description: "We're committed to environmental responsibility. Our manufacturing process minimizes waste and uses eco-friendly materials whenever possible.", imageSrc: "http://img.b2bpic.net/free-photo/still-life-composition-sport-elements_23-2149006302.jpg?_wi=2"
|
||||
title: "Sustainable Practices", description: "We're committed to environmental responsibility. Our manufacturing process minimizes waste and uses eco-friendly materials whenever possible.", imageSrc: "http://img.b2bpic.net/free-photo/still-life-composition-sport-elements_23-2149006302.jpg"
|
||||
}
|
||||
]}
|
||||
animationType="blur-reveal"
|
||||
@@ -219,8 +219,6 @@ export default function LandingPage() {
|
||||
{ value: "4.9★", label: "Average Rating" }
|
||||
]}
|
||||
animationType="slide-up"
|
||||
title="What Our Customers Say"
|
||||
description="Join thousands of satisfied athletes and fitness enthusiasts who trust Aure Gear for their performance wear needs."
|
||||
textboxLayout="default"
|
||||
useInvertedBackground={false}
|
||||
buttons={[{ text: "Read More Reviews", href: "#" }]}
|
||||
|
||||
@@ -1,51 +1,41 @@
|
||||
"use client";
|
||||
|
||||
import { memo } from "react";
|
||||
import useSvgTextLogo from "./useSvgTextLogo";
|
||||
import { cls } from "@/lib/utils";
|
||||
import React from 'react';
|
||||
|
||||
interface SvgTextLogoProps {
|
||||
logoText: string;
|
||||
adjustHeightFactor?: number;
|
||||
verticalAlign?: "top" | "center";
|
||||
text: string;
|
||||
className?: string;
|
||||
fontSize?: number;
|
||||
fontFamily?: string;
|
||||
fill?: string;
|
||||
dominantBaseline?: 'auto' | 'hanging' | 'middle' | 'central' | 'text-after-edge' | 'ideographic' | 'mathematical';
|
||||
}
|
||||
|
||||
const SvgTextLogo = memo<SvgTextLogoProps>(function SvgTextLogo({
|
||||
logoText,
|
||||
adjustHeightFactor,
|
||||
verticalAlign = "top",
|
||||
className = "",
|
||||
}) {
|
||||
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
|
||||
|
||||
const SvgTextLogo: React.FC<SvgTextLogoProps> = ({
|
||||
text,
|
||||
className,
|
||||
fontSize = 24,
|
||||
fontFamily = 'Arial, sans-serif',
|
||||
fill = 'currentColor',
|
||||
dominantBaseline = 'middle',
|
||||
}) => {
|
||||
return (
|
||||
<svg
|
||||
ref={svgRef}
|
||||
viewBox={viewBox}
|
||||
className={cls("w-full", className)}
|
||||
style={{ aspectRatio: aspectRatio }}
|
||||
preserveAspectRatio="none"
|
||||
role="img"
|
||||
aria-label={`${logoText} logo`}
|
||||
viewBox={`0 0 ${text.length * fontSize * 0.6} ${fontSize * 1.5}`}
|
||||
className={className}
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<text
|
||||
ref={textRef}
|
||||
x="0"
|
||||
y={verticalAlign === "center" ? "50%" : "0"}
|
||||
className="font-bold fill-current"
|
||||
style={{
|
||||
fontSize: "20px",
|
||||
letterSpacing: "-0.02em",
|
||||
dominantBaseline: verticalAlign === "center" ? "middle" : "text-before-edge"
|
||||
}}
|
||||
x="50%"
|
||||
y="50%"
|
||||
fontSize={fontSize}
|
||||
fontFamily={fontFamily}
|
||||
fill={fill}
|
||||
textAnchor="middle"
|
||||
dominantBaseline={dominantBaseline}
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
};
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
|
||||
export default SvgTextLogo;
|
||||
export default SvgTextLogo;
|
||||
Reference in New Issue
Block a user