Merge version_1 into main #2
@@ -21,7 +21,7 @@ export default function LandingPage() {
|
||||
borderRadius="pill"
|
||||
contentWidth="compact"
|
||||
sizing="largeSizeMediumTitles"
|
||||
background="aurora"
|
||||
background="circleGradient"
|
||||
cardStyle="glass-depth"
|
||||
primaryButtonStyle="double-inset"
|
||||
secondaryButtonStyle="layered"
|
||||
@@ -47,7 +47,7 @@ export default function LandingPage() {
|
||||
tag="Professional Grade"
|
||||
tagIcon={Sparkles}
|
||||
tagAnimation="slide-up"
|
||||
background={{ variant: "aurora" }}
|
||||
background={{ variant: "glowing-orb" }}
|
||||
leftCarouselItems={[
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/man-working-cutting-mdf-board_23-2149384784.jpg", imageAlt: "professional woodworking tools quality craftsmanship"
|
||||
@@ -70,7 +70,7 @@ export default function LandingPage() {
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-smiley-man-holding-up-tablet_23-2148269300.jpg", imageAlt: "wood finishing premium craftsmanship detail"
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/woodworking-professional-using-sandpaper-sanding-wooden-surface_482257-97482.jpg?_wi=1", imageAlt: "builder quality materials warehouse logistics"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/woodworking-professional-using-sandpaper-sanding-wooden-surface_482257-97482.jpg", imageAlt: "builder quality materials warehouse logistics"
|
||||
},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-man-working-with-tablet_23-2148902595.jpg", imageAlt: "premium materials quality assurance testing"
|
||||
@@ -97,10 +97,10 @@ export default function LandingPage() {
|
||||
gridVariant="three-columns-all-equal-width"
|
||||
products={[
|
||||
{
|
||||
id: "1", name: "Festool TS 55 Circular Saw", price: "$689.00", imageSrc: "http://img.b2bpic.net/free-photo/man-working-his-wood-shop-with-tools-equipment_23-2150861561.jpg?_wi=1", imageAlt: "Festool TS 55 precision saw", initialQuantity: 1
|
||||
id: "1", name: "Festool TS 55 Circular Saw", price: "$689.00", imageSrc: "http://img.b2bpic.net/free-photo/man-working-his-wood-shop-with-tools-equipment_23-2150861561.jpg", imageAlt: "Festool TS 55 precision saw", initialQuantity: 1
|
||||
},
|
||||
{
|
||||
id: "2", name: "Premium Red Oak Lumber - 1x12x8'", price: "$84.50", imageSrc: "http://img.b2bpic.net/free-photo/creative-man-working-woodshop_23-2148970806.jpg?_wi=1", imageAlt: "Premium red oak wood material", initialQuantity: 1
|
||||
id: "2", name: "Premium Red Oak Lumber - 1x12x8'", price: "$84.50", imageSrc: "http://img.b2bpic.net/free-photo/creative-man-working-woodshop_23-2148970806.jpg", imageAlt: "Premium red oak wood material", initialQuantity: 1
|
||||
},
|
||||
{
|
||||
id: "3", name: "Digital Precision Measuring Kit", price: "$299.00", imageSrc: "http://img.b2bpic.net/free-photo/side-view-hand-holding-hammer_23-2149916258.jpg", imageAlt: "Professional measuring tools set", initialQuantity: 1
|
||||
@@ -135,13 +135,13 @@ export default function LandingPage() {
|
||||
animationType="slide-up"
|
||||
features={[
|
||||
{
|
||||
id: "1", title: "Premium Materials Selection", description: "Sourced from trusted suppliers including Festool, Bosch, and industry-leading brands. Every product meets our rigorous quality standards.", tag: "Materials", imageSrc: "http://img.b2bpic.net/free-photo/creative-man-working-woodshop_23-2148970806.jpg?_wi=2", imageAlt: "Premium wood materials"
|
||||
id: "1", title: "Premium Materials Selection", description: "Sourced from trusted suppliers including Festool, Bosch, and industry-leading brands. Every product meets our rigorous quality standards.", tag: "Materials", imageSrc: "http://img.b2bpic.net/free-photo/creative-man-working-woodshop_23-2148970806.jpg", imageAlt: "Premium wood materials"
|
||||
},
|
||||
{
|
||||
id: "2", title: "Professional Equipment Rental", description: "Access high-end tools without capital investment. Flexible rental terms for projects of any scale.", tag: "Rentals", imageSrc: "http://img.b2bpic.net/free-photo/man-working-his-wood-shop-with-tools-equipment_23-2150861561.jpg?_wi=2", imageAlt: "Professional equipment rental"
|
||||
id: "2", title: "Professional Equipment Rental", description: "Access high-end tools without capital investment. Flexible rental terms for projects of any scale.", tag: "Rentals", imageSrc: "http://img.b2bpic.net/free-photo/man-working-his-wood-shop-with-tools-equipment_23-2150861561.jpg", imageAlt: "Professional equipment rental"
|
||||
},
|
||||
{
|
||||
id: "3", title: "Expert Support & Logistics", description: "Our warehouse team provides fast fulfillment, responsive support, and logistics solutions tailored to contractors and construction companies.", tag: "Support", imageSrc: "http://img.b2bpic.net/free-photo/woodworking-professional-using-sandpaper-sanding-wooden-surface_482257-97482.jpg?_wi=2", imageAlt: "Expert support and logistics"
|
||||
id: "3", title: "Expert Support & Logistics", description: "Our warehouse team provides fast fulfillment, responsive support, and logistics solutions tailored to contractors and construction companies.", tag: "Support", imageSrc: "http://img.b2bpic.net/free-photo/woodworking-professional-using-sandpaper-sanding-wooden-surface_482257-97482.jpg", imageAlt: "Expert support and logistics"
|
||||
}
|
||||
]}
|
||||
/>
|
||||
@@ -157,10 +157,10 @@ export default function LandingPage() {
|
||||
tagAnimation="blur-reveal"
|
||||
testimonials={[
|
||||
{
|
||||
id: "1", title: "Premium Materials, Reliable Partnership", quote: "Demos Trade has been essential to our carpentry business. The quality of materials is consistently excellent, and their team understands our timeline pressures. We've cut project delays by 30% thanks to their same-day fulfillment.", name: "Marcus Chen", role: "Master Carpenter", imageSrc: "http://img.b2bpic.net/free-photo/confident-happy-carpenter-with-his-arm-crossed-standing-workshop_23-2147944878.jpg?_wi=1", imageAlt: "Marcus Chen, Master Carpenter"
|
||||
id: "1", title: "Premium Materials, Reliable Partnership", quote: "Demos Trade has been essential to our carpentry business. The quality of materials is consistently excellent, and their team understands our timeline pressures. We've cut project delays by 30% thanks to their same-day fulfillment.", name: "Marcus Chen", role: "Master Carpenter", imageSrc: "http://img.b2bpic.net/free-photo/confident-happy-carpenter-with-his-arm-crossed-standing-workshop_23-2147944878.jpg", imageAlt: "Marcus Chen, Master Carpenter"
|
||||
},
|
||||
{
|
||||
id: "2", title: "Rentals Saved Us Thousands", quote: "Instead of purchasing expensive equipment for a 6-month project, we rented from Demos Trade. The equipment was pristine, delivery was punctual, and their support team helped us maximize every tool. Incredible value.", name: "Sarah Mitchell", role: "Project Director", imageSrc: "http://img.b2bpic.net/free-photo/middle-aged-business-man-hard-hat_1303-23577.jpg?_wi=1", imageAlt: "Sarah Mitchell, Project Director"
|
||||
id: "2", title: "Rentals Saved Us Thousands", quote: "Instead of purchasing expensive equipment for a 6-month project, we rented from Demos Trade. The equipment was pristine, delivery was punctual, and their support team helped us maximize every tool. Incredible value.", name: "Sarah Mitchell", role: "Project Director", imageSrc: "http://img.b2bpic.net/free-photo/middle-aged-business-man-hard-hat_1303-23577.jpg", imageAlt: "Sarah Mitchell, Project Director"
|
||||
},
|
||||
{
|
||||
id: "3", title: "Bulk Materials, Bulk Savings", quote: "Managing supply for multiple job sites is complex. Demos Trade's bulk ordering system and inventory management tools have streamlined everything. We trust them completely.", name: "David Rodriguez", role: "Operations Manager", imageSrc: "http://img.b2bpic.net/free-photo/front-view-man-with-helmet-crossed-arms_23-2148269265.jpg", imageAlt: "David Rodriguez, Operations Manager"
|
||||
@@ -169,10 +169,10 @@ export default function LandingPage() {
|
||||
id: "4", title: "Expert Knowledge That Matters", quote: "The staff at Demos Trade actually understand woodworking and construction. Their recommendations have helped us select materials that perform better and last longer. That expertise is invaluable.", name: "Jennifer Lopez", role: "Lead Designer", imageSrc: "http://img.b2bpic.net/free-photo/carpenter-evaluates-drilling-result-board_169016-13167.jpg", imageAlt: "Jennifer Lopez, Lead Designer"
|
||||
},
|
||||
{
|
||||
id: "5", title: "Wholesale Quality, Retail Flexibility", quote: "As a DIY professional upgrading to commercial work, Demos Trade helped us access the same materials and tools as established contractors. They treated us like valued partners from day one.", name: "Tom Bradley", role: "Independent Contractor", imageSrc: "http://img.b2bpic.net/free-photo/confident-happy-carpenter-with-his-arm-crossed-standing-workshop_23-2147944878.jpg?_wi=2", imageAlt: "Tom Bradley, Independent Contractor"
|
||||
id: "5", title: "Wholesale Quality, Retail Flexibility", quote: "As a DIY professional upgrading to commercial work, Demos Trade helped us access the same materials and tools as established contractors. They treated us like valued partners from day one.", name: "Tom Bradley", role: "Independent Contractor", imageSrc: "http://img.b2bpic.net/free-photo/confident-happy-carpenter-with-his-arm-crossed-standing-workshop_23-2147944878.jpg", imageAlt: "Tom Bradley, Independent Contractor"
|
||||
},
|
||||
{
|
||||
id: "6", title: "Reliability We Can Count On", quote: "For 8 years, Demos Trade has been our go-to supplier. Their inventory is always stocked, their prices are competitive, and they genuinely care about our success. True partnership.", name: "Amanda Foster", role: "CEO", imageSrc: "http://img.b2bpic.net/free-photo/middle-aged-business-man-hard-hat_1303-23577.jpg?_wi=2", imageAlt: "Amanda Foster, CEO"
|
||||
id: "6", title: "Reliability We Can Count On", quote: "For 8 years, Demos Trade has been our go-to supplier. Their inventory is always stocked, their prices are competitive, and they genuinely care about our success. True partnership.", name: "Amanda Foster", role: "CEO", imageSrc: "http://img.b2bpic.net/free-photo/middle-aged-business-man-hard-hat_1303-23577.jpg", imageAlt: "Amanda Foster, CEO"
|
||||
}
|
||||
]}
|
||||
/>
|
||||
@@ -216,8 +216,8 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
tag="Brand Partners"
|
||||
tagAnimation="slide-up"
|
||||
logos={[
|
||||
"http://img.b2bpic.net/free-vector/flat-labor-day-badge-collection_52683-18739.jpg", "http://img.b2bpic.net/free-photo/carpenter-cutting-mdf-board-inside-workshop_23-2149451065.jpg", "http://img.b2bpic.net/free-vector/labor-day-badge-set_23-2148612142.jpg", "http://img.b2bpic.net/free-photo/top-view-wood-tools-desk_23-2148898112.jpg", "http://img.b2bpic.net/free-vector/labour-day-badge-collection_23-2148123339.jpg", "http://img.b2bpic.net/free-vector/flat-labour-day-label-collection_23-2148473276.jpg", "http://img.b2bpic.net/free-vector/flat-labour-day-label-collection_23-2148904443.jpg", "http://img.b2bpic.net/free-vector/hammer-labor-day-banners_1057-602.jpg"
|
||||
names={[
|
||||
"Festool", "Bosch", "Makita", "DeWalt", "Milwaukee", "Husqvarna", "Hilti", "Stanley"
|
||||
]}
|
||||
speed={40}
|
||||
showCard={true}
|
||||
|
||||
@@ -1,51 +1,44 @@
|
||||
"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;
|
||||
fontWeight?: number | string;
|
||||
letterSpacing?: number;
|
||||
dominantBaseline?: 'auto' | 'middle' | 'hanging' | '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 = 32,
|
||||
fontWeight = 700,
|
||||
letterSpacing = 0,
|
||||
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 300 80"
|
||||
width="300"
|
||||
height="80"
|
||||
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="150"
|
||||
y="40"
|
||||
fontSize={fontSize}
|
||||
fontWeight={fontWeight}
|
||||
textAnchor="middle"
|
||||
dominantBaseline={dominantBaseline}
|
||||
fill="currentColor"
|
||||
letterSpacing={letterSpacing}
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
};
|
||||
|
||||
export default SvgTextLogo;
|
||||
|
||||
Reference in New Issue
Block a user