Merge version_1 into main
Merge version_1 into main
This commit was merged in pull request #2.
This commit is contained in:
@@ -10,7 +10,7 @@ import TeamCardTwo from '@/components/sections/team/TeamCardTwo';
|
||||
import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive';
|
||||
import ContactCTA from '@/components/sections/contact/ContactCTA';
|
||||
import FooterCard from '@/components/sections/footer/FooterCard';
|
||||
import { Briefcase, Code, Gallery, Github, Globe, Layers, Linkedin, Mail, MessageCircle, Palette, Phone, Smartphone, Sparkles, Twitter, Users, Zap } from 'lucide-react';
|
||||
import { Briefcase, Code, Image, Github, Globe, Layers, Linkedin, Mail, MessageCircle, Palette, Phone, Smartphone, Sparkles, Twitter, Users, Zap } from 'lucide-react';
|
||||
|
||||
export default function LandingPage() {
|
||||
return (
|
||||
@@ -121,7 +121,7 @@ export default function LandingPage() {
|
||||
title="Recent Projects"
|
||||
description="Explore our latest work across mobile apps, web platforms, and digital experiences"
|
||||
tag="Portfolio"
|
||||
tagIcon={Gallery}
|
||||
tagIcon={Image}
|
||||
tagAnimation="slide-up"
|
||||
products={[
|
||||
{
|
||||
@@ -190,10 +190,10 @@ export default function LandingPage() {
|
||||
tagAnimation="slide-up"
|
||||
testimonials={[
|
||||
{
|
||||
id: "1", name: "James Wilson, CEO of TechFlow", date: "Date: 15 November 2024", title: "Transformed Our Digital Strategy", quote: "DesignCraft completely transformed how we approach product design. Their team's expertise in both mobile and web platforms helped us scale from startup to market leader. Highly recommended!", tag: "Enterprise Client", avatarSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AsZmMYJg3Az3mUoZMuCG5LnFmW/professional-portrait-photo-of-a-satisfi-1773383917930-428b0ede.png", avatarAlt: "James Wilson", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AsZmMYJg3Az3mUoZMuCG5LnFmW/team-collaborating-on-a-successful-digit-1773383917520-bd666d9e.png?_wi=1", imageAlt: "Team collaboration on successful project"
|
||||
id: "1", name: "James Wilson, CEO of TechFlow", date: "Date: 15 November 2024", title: "Transformed Our Digital Strategy", quote: "DesignCraft completely transformed how we approach product design. Their team's expertise in both mobile and web platforms helped us scale from startup to market leader. Highly recommended!", tag: "Enterprise Client", avatarSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AsZmMYJg3Az3mUoZMuCG5LnFmW/professional-portrait-photo-of-a-satisfi-1773383917930-428b0ede.png", avatarAlt: "James Wilson", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AsZmMYJg3Az3mUoZMuCG5LnFmW/team-collaborating-on-a-successful-digit-1773383917520-bd666d9e.png", imageAlt: "Team collaboration on successful project"
|
||||
},
|
||||
{
|
||||
id: "2", name: "Maria Garcia, Product Lead at InnovateLab", date: "Date: 28 October 2024", title: "Best Design Investment We Made", quote: "Working with DesignCraft was the best investment we made for our product. Their user research insights directly contributed to a 40% increase in user engagement. Simply outstanding!", tag: "Growth Stage", avatarSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AsZmMYJg3Az3mUoZMuCG5LnFmW/professional-portrait-of-a-happy-client--1773383919482-af5a22f4.png", avatarAlt: "Maria Garcia", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AsZmMYJg3Az3mUoZMuCG5LnFmW/developers-and-designers-presenting-a-co-1773383917622-7a4fb7ba.png?_wi=1", imageAlt: "Successful client presentation"
|
||||
id: "2", name: "Maria Garcia, Product Lead at InnovateLab", date: "Date: 28 October 2024", title: "Best Design Investment We Made", quote: "Working with DesignCraft was the best investment we made for our product. Their user research insights directly contributed to a 40% increase in user engagement. Simply outstanding!", tag: "Growth Stage", avatarSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AsZmMYJg3Az3mUoZMuCG5LnFmW/professional-portrait-of-a-happy-client--1773383919482-af5a22f4.png", avatarAlt: "Maria Garcia", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AsZmMYJg3Az3mUoZMuCG5LnFmW/developers-and-designers-presenting-a-co-1773383917622-7a4fb7ba.png", imageAlt: "Successful client presentation"
|
||||
},
|
||||
{
|
||||
id: "3", name: "David Park, Founder of StartupXYZ", date: "Date: 12 October 2024", title: "Exceptional Design & Development", quote: "From concept to launch, DesignCraft handled every aspect of our product design and development. Their attention to detail and user-centric approach is unmatched. They're true partners in success.", tag: "Startup", avatarSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AsZmMYJg3Az3mUoZMuCG5LnFmW/professional-portrait-of-a-business-clie-1773383917189-ab471753.png", avatarAlt: "David Park", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AsZmMYJg3Az3mUoZMuCG5LnFmW/mobile-and-web-applications-running-on-d-1773383918256-60bf5f5f.png", imageAlt: "Portfolio showcase successful launch"
|
||||
@@ -202,10 +202,10 @@ export default function LandingPage() {
|
||||
id: "4", name: "Lisa Anderson, CMO of BrandCorp", date: "Date: 25 September 2024", title: "Delivered Beyond Expectations", quote: "The team at DesignCraft goes above and beyond. They didn't just design our platform; they helped us understand our users better. The results speak for themselves with a 35% conversion increase.", tag: "Enterprise", avatarSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AsZmMYJg3Az3mUoZMuCG5LnFmW/professional-headshot-of-a-business-clie-1773383918974-e92608c5.png", avatarAlt: "Lisa Anderson", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AsZmMYJg3Az3mUoZMuCG5LnFmW/happy-startup-team-celebrating-project-m-1773383917839-53703767.png", imageAlt: "Team celebrating success milestone"
|
||||
},
|
||||
{
|
||||
id: "5", name: "Thomas Mueller, VP of Product at GlobalTech", date: "Date: 10 September 2024", title: "Game Changer for Our Product", quote: "DesignCraft's expertise in creating scalable design systems transformed our entire product development process. We're shipping features 50% faster with consistent quality. Truly impressive partners.", tag: "Enterprise Client", avatarSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AsZmMYJg3Az3mUoZMuCG5LnFmW/professional-portrait-photo-of-a-satisfi-1773383917930-428b0ede.png", avatarAlt: "Thomas Mueller", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AsZmMYJg3Az3mUoZMuCG5LnFmW/developers-and-designers-presenting-a-co-1773383917622-7a4fb7ba.png?_wi=2", imageAlt: "Team presentation success"
|
||||
id: "5", name: "Thomas Mueller, VP of Product at GlobalTech", date: "Date: 10 September 2024", title: "Game Changer for Our Product", quote: "DesignCraft's expertise in creating scalable design systems transformed our entire product development process. We're shipping features 50% faster with consistent quality. Truly impressive partners.", tag: "Enterprise Client", avatarSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AsZmMYJg3Az3mUoZMuCG5LnFmW/professional-portrait-photo-of-a-satisfi-1773383917930-428b0ede.png", avatarAlt: "Thomas Mueller", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AsZmMYJg3Az3mUoZMuCG5LnFmW/developers-and-designers-presenting-a-co-1773383917622-7a4fb7ba.png", imageAlt: "Team presentation success"
|
||||
},
|
||||
{
|
||||
id: "6", name: "Rachel Thompson, Director of UX at DesignHub", date: "Date: 28 August 2024", title: "Creative Excellence & Partnership", quote: "What sets DesignCraft apart is their combination of creative excellence and genuine partnership approach. They're invested in your success as much as their own. That's rare and valuable.", tag: "Design Studio", avatarSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AsZmMYJg3Az3mUoZMuCG5LnFmW/professional-portrait-of-a-happy-client--1773383919482-af5a22f4.png", avatarAlt: "Rachel Thompson", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AsZmMYJg3Az3mUoZMuCG5LnFmW/team-collaborating-on-a-successful-digit-1773383917520-bd666d9e.png?_wi=2", imageAlt: "Successful team collaboration"
|
||||
id: "6", name: "Rachel Thompson, Director of UX at DesignHub", date: "Date: 28 August 2024", title: "Creative Excellence & Partnership", quote: "What sets DesignCraft apart is their combination of creative excellence and genuine partnership approach. They're invested in your success as much as their own. That's rare and valuable.", tag: "Design Studio", avatarSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AsZmMYJg3Az3mUoZMuCG5LnFmW/professional-portrait-of-a-happy-client--1773383919482-af5a22f4.png", avatarAlt: "Rachel Thompson", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3AsZmMYJg3Az3mUoZMuCG5LnFmW/team-collaborating-on-a-successful-digit-1773383917520-bd666d9e.png", imageAlt: "Successful team collaboration"
|
||||
}
|
||||
]}
|
||||
textboxLayout="default"
|
||||
@@ -244,4 +244,4 @@ export default function LandingPage() {
|
||||
</div>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -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;
|
||||
letterSpacing?: number;
|
||||
textAnchor?: 'start' | 'middle' | 'end';
|
||||
dominantBaseline?: 'auto' | 'text-bottom' | 'alphabetic' | 'ideographic' | 'middle' | 'central' | 'hanging' | 'mathematical';
|
||||
fill?: string;
|
||||
}
|
||||
|
||||
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,
|
||||
letterSpacing = 2,
|
||||
textAnchor = 'start',
|
||||
dominantBaseline = 'middle',
|
||||
fill = 'currentColor',
|
||||
}) => {
|
||||
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} ${fontSize * 1.5}`}
|
||||
className={`inline-block ${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}
|
||||
fontWeight="bold"
|
||||
letterSpacing={letterSpacing}
|
||||
textAnchor={textAnchor}
|
||||
dominantBaseline={dominantBaseline}
|
||||
fill={fill}
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
};
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
|
||||
export default SvgTextLogo;
|
||||
export default SvgTextLogo;
|
||||
Reference in New Issue
Block a user