Merge version_1 into main #2
@@ -20,7 +20,7 @@ export default function LandingPage() {
|
||||
borderRadius="soft"
|
||||
contentWidth="compact"
|
||||
sizing="largeSmallSizeMediumTitles"
|
||||
background="aurora"
|
||||
background="circleGradient"
|
||||
cardStyle="gradient-bordered"
|
||||
primaryButtonStyle="flat"
|
||||
secondaryButtonStyle="solid"
|
||||
@@ -48,18 +48,18 @@ export default function LandingPage() {
|
||||
tag="Graphic Designer"
|
||||
tagIcon={Sparkles}
|
||||
tagAnimation="slide-up"
|
||||
background={{ variant: "aurora" }}
|
||||
background={{ variant: "plain" }}
|
||||
leftCarouselItems={[
|
||||
{ imageSrc: "http://img.b2bpic.net/free-vector/black-business-card-template-design_742173-32294.jpg?_wi=1", imageAlt: "Logo Design Project" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-psd/flat-design-creativity-concept-instagram-posts_23-2150271101.jpg?_wi=1", imageAlt: "Social Media Design" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-psd/event-year-poster-template_23-2148677932.jpg?_wi=1", imageAlt: "Poster Design" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-vector/minimal-business-card-concept_23-2148453104.jpg?_wi=1", imageAlt: "Branding Kit" }
|
||||
{ imageSrc: "http://img.b2bpic.net/free-vector/black-business-card-template-design_742173-32294.jpg", imageAlt: "Logo Design Project" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-psd/flat-design-creativity-concept-instagram-posts_23-2150271101.jpg", imageAlt: "Social Media Design" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-psd/event-year-poster-template_23-2148677932.jpg", imageAlt: "Poster Design" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-vector/minimal-business-card-concept_23-2148453104.jpg", imageAlt: "Branding Kit" }
|
||||
]}
|
||||
rightCarouselItems={[
|
||||
{ imageSrc: "http://img.b2bpic.net/free-psd/blue-november-home-page-template_23-2149140435.jpg?_wi=1", imageAlt: "Print Design" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-vector/black-business-card-template-design_742173-32294.jpg?_wi=2", imageAlt: "Logo Design" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-psd/flat-design-creativity-concept-instagram-posts_23-2150271101.jpg?_wi=2", imageAlt: "Social Campaign" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-psd/event-year-poster-template_23-2148677932.jpg?_wi=2", imageAlt: "Event Poster" }
|
||||
{ imageSrc: "http://img.b2bpic.net/free-psd/blue-november-home-page-template_23-2149140435.jpg", imageAlt: "Print Design" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-vector/black-business-card-template-design_742173-32294.jpg", imageAlt: "Logo Design" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-psd/flat-design-creativity-concept-instagram-posts_23-2150271101.jpg", imageAlt: "Social Campaign" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-psd/event-year-poster-template_23-2148677932.jpg", imageAlt: "Event Poster" }
|
||||
]}
|
||||
buttons={[
|
||||
{ text: "View My Work", href: "#portfolio" },
|
||||
@@ -91,16 +91,16 @@ export default function LandingPage() {
|
||||
description="A diverse set of design capabilities honed through years of creative practice and continuous learning."
|
||||
features={[
|
||||
{
|
||||
id: "logo-design", title: "Logo Design", description: "Creating distinctive brand marks that capture the essence of your business and leave a lasting impression.", tag: "Branding", imageSrc: "http://img.b2bpic.net/free-vector/black-business-card-template-design_742173-32294.jpg?_wi=3", imageAlt: "Logo Design Work"
|
||||
id: "logo-design", title: "Logo Design", description: "Creating distinctive brand marks that capture the essence of your business and leave a lasting impression.", tag: "Branding", imageSrc: "http://img.b2bpic.net/free-vector/black-business-card-template-design_742173-32294.jpg", imageAlt: "Logo Design Work"
|
||||
},
|
||||
{
|
||||
id: "social-media", title: "Social Media Design", description: "Crafting engaging visual content optimized for various social platforms to boost engagement and brand presence.", tag: "Social Media", imageSrc: "http://img.b2bpic.net/free-psd/flat-design-creativity-concept-instagram-posts_23-2150271101.jpg?_wi=3", imageAlt: "Social Media Designs"
|
||||
id: "social-media", title: "Social Media Design", description: "Crafting engaging visual content optimized for various social platforms to boost engagement and brand presence.", tag: "Social Media", imageSrc: "http://img.b2bpic.net/free-psd/flat-design-creativity-concept-instagram-posts_23-2150271101.jpg", imageAlt: "Social Media Designs"
|
||||
},
|
||||
{
|
||||
id: "branding", title: "Branding", description: "Developing comprehensive brand identities that communicate your values and resonate with your target audience.", tag: "Brand Identity", imageSrc: "http://img.b2bpic.net/free-vector/minimal-business-card-concept_23-2148453104.jpg?_wi=2", imageAlt: "Branding Project"
|
||||
id: "branding", title: "Branding", description: "Developing comprehensive brand identities that communicate your values and resonate with your target audience.", tag: "Brand Identity", imageSrc: "http://img.b2bpic.net/free-vector/minimal-business-card-concept_23-2148453104.jpg", imageAlt: "Branding Project"
|
||||
},
|
||||
{
|
||||
id: "poster-design", title: "Poster & Banner Design", description: "Designing eye-catching promotional materials that capture attention and effectively communicate your message.", tag: "Print Design", imageSrc: "http://img.b2bpic.net/free-psd/event-year-poster-template_23-2148677932.jpg?_wi=3", imageAlt: "Poster Design"
|
||||
id: "poster-design", title: "Poster & Banner Design", description: "Designing eye-catching promotional materials that capture attention and effectively communicate your message.", tag: "Print Design", imageSrc: "http://img.b2bpic.net/free-psd/event-year-poster-template_23-2148677932.jpg", imageAlt: "Poster Design"
|
||||
}
|
||||
]}
|
||||
animationType="slide-up"
|
||||
@@ -119,22 +119,22 @@ export default function LandingPage() {
|
||||
tagAnimation="slide-up"
|
||||
products={[
|
||||
{
|
||||
id: "project-luxury-brand", name: "Luxury Brand Identity", price: "Premium", variant: "Branding • Logo • Guidelines", imageSrc: "http://img.b2bpic.net/free-vector/black-business-card-template-design_742173-32294.jpg?_wi=4", imageAlt: "Luxury Brand Identity Project"
|
||||
id: "project-luxury-brand", name: "Luxury Brand Identity", price: "Premium", variant: "Branding • Logo • Guidelines", imageSrc: "http://img.b2bpic.net/free-vector/black-business-card-template-design_742173-32294.jpg", imageAlt: "Luxury Brand Identity Project"
|
||||
},
|
||||
{
|
||||
id: "project-social-campaign", name: "Social Media Campaign", price: "Standard", variant: "Instagram • TikTok • Facebook", imageSrc: "http://img.b2bpic.net/free-psd/flat-design-creativity-concept-instagram-posts_23-2150271101.jpg?_wi=4", imageAlt: "Social Media Campaign"
|
||||
id: "project-social-campaign", name: "Social Media Campaign", price: "Standard", variant: "Instagram • TikTok • Facebook", imageSrc: "http://img.b2bpic.net/free-psd/flat-design-creativity-concept-instagram-posts_23-2150271101.jpg", imageAlt: "Social Media Campaign"
|
||||
},
|
||||
{
|
||||
id: "project-event-poster", name: "Event Poster Series", price: "Standard", variant: "Print • Digital • Outdoor", imageSrc: "http://img.b2bpic.net/free-psd/event-year-poster-template_23-2148677932.jpg?_wi=4", imageAlt: "Event Poster Series"
|
||||
id: "project-event-poster", name: "Event Poster Series", price: "Standard", variant: "Print • Digital • Outdoor", imageSrc: "http://img.b2bpic.net/free-psd/event-year-poster-template_23-2148677932.jpg", imageAlt: "Event Poster Series"
|
||||
},
|
||||
{
|
||||
id: "project-brand-kit", name: "Complete Brand Kit", price: "Premium", variant: "Logo • Fonts • Colors • Guidelines", imageSrc: "http://img.b2bpic.net/free-vector/minimal-business-card-concept_23-2148453104.jpg?_wi=3", imageAlt: "Complete Brand Kit"
|
||||
id: "project-brand-kit", name: "Complete Brand Kit", price: "Premium", variant: "Logo • Fonts • Colors • Guidelines", imageSrc: "http://img.b2bpic.net/free-vector/minimal-business-card-concept_23-2148453104.jpg", imageAlt: "Complete Brand Kit"
|
||||
},
|
||||
{
|
||||
id: "project-print-design", name: "Print & Stationery", price: "Standard", variant: "Business Cards • Letterhead • Envelopes", imageSrc: "http://img.b2bpic.net/free-psd/blue-november-home-page-template_23-2149140435.jpg?_wi=2", imageAlt: "Print & Stationery Design"
|
||||
id: "project-print-design", name: "Print & Stationery", price: "Standard", variant: "Business Cards • Letterhead • Envelopes", imageSrc: "http://img.b2bpic.net/free-psd/blue-november-home-page-template_23-2149140435.jpg", imageAlt: "Print & Stationery Design"
|
||||
},
|
||||
{
|
||||
id: "project-packaging", name: "Packaging Design", price: "Premium", variant: "Box • Label • Unboxing Experience", imageSrc: "http://img.b2bpic.net/free-vector/black-business-card-template-design_742173-32294.jpg?_wi=5", imageAlt: "Packaging Design Project"
|
||||
id: "project-packaging", name: "Packaging Design", price: "Premium", variant: "Box • Label • Unboxing Experience", imageSrc: "http://img.b2bpic.net/free-vector/black-business-card-template-design_742173-32294.jpg", imageAlt: "Packaging Design Project"
|
||||
}
|
||||
]}
|
||||
gridVariant="uniform-all-items-equal"
|
||||
@@ -214,7 +214,7 @@ export default function LandingPage() {
|
||||
description="Have a design project in mind? I'd love to hear about it. Reach out and let's discuss how I can bring your vision to life."
|
||||
tagIcon={Mail}
|
||||
tagAnimation="slide-up"
|
||||
background={{ variant: "aurora" }}
|
||||
background={{ variant: "plain" }}
|
||||
useInvertedBackground={false}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/high-angle-notebook-store-desk_23-2149142185.jpg"
|
||||
imageAlt="Creative workspace"
|
||||
|
||||
@@ -1,51 +1,30 @@
|
||||
"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;
|
||||
}
|
||||
|
||||
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 = '' }) => {
|
||||
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 200 60"
|
||||
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%"
|
||||
textAnchor="middle"
|
||||
dominantBaseline="central"
|
||||
fontSize="24"
|
||||
fontWeight="bold"
|
||||
fill="currentColor"
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
};
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
|
||||
export default SvgTextLogo;
|
||||
export default SvgTextLogo;
|
||||
Reference in New Issue
Block a user