Merge version_1 into main #2
@@ -19,7 +19,7 @@ export default function LandingPage() {
|
||||
borderRadius="soft"
|
||||
contentWidth="mediumSmall"
|
||||
sizing="largeSmallSizeMediumTitles"
|
||||
background="aurora"
|
||||
background="circleGradient"
|
||||
cardStyle="glass-elevated"
|
||||
primaryButtonStyle="double-inset"
|
||||
secondaryButtonStyle="layered"
|
||||
@@ -47,8 +47,8 @@ export default function LandingPage() {
|
||||
{ text: "View My Work", href: "portfolio" },
|
||||
{ text: "Let's Connect", href: "contact" }
|
||||
]}
|
||||
background={{ variant: "aurora" }}
|
||||
imageSrc="http://img.b2bpic.net/free-vector/fashion-sale-concept-with-discount_23-2148590928.jpg?_wi=1"
|
||||
background={{ variant: "sparkles-gradient" }}
|
||||
imageSrc="http://img.b2bpic.net/free-vector/fashion-sale-concept-with-discount_23-2148590928.jpg"
|
||||
imageAlt="Creative portfolio showcase"
|
||||
frameStyle="card"
|
||||
mediaAnimation="slide-up"
|
||||
@@ -75,13 +75,13 @@ export default function LandingPage() {
|
||||
tag="Portfolio"
|
||||
products={[
|
||||
{
|
||||
id: "1", name: "E-Commerce Platform Redesign", price: "2024", variant: "Web Design • UI/UX", imageSrc: "http://img.b2bpic.net/free-vector/business-proposal-template-design_742173-24808.jpg?_wi=1", imageAlt: "E-commerce redesign project"
|
||||
id: "1", name: "E-Commerce Platform Redesign", price: "2024", variant: "Web Design • UI/UX", imageSrc: "http://img.b2bpic.net/free-vector/business-proposal-template-design_742173-24808.jpg", imageAlt: "E-commerce redesign project"
|
||||
},
|
||||
{
|
||||
id: "2", name: "Mobile Banking Application", price: "2024", variant: "Mobile App • UX Design", imageSrc: "http://img.b2bpic.net/free-vector/company-proposal-template-design_742173-21283.jpg?_wi=1", imageAlt: "Mobile banking app project"
|
||||
id: "2", name: "Mobile Banking Application", price: "2024", variant: "Mobile App • UX Design", imageSrc: "http://img.b2bpic.net/free-vector/company-proposal-template-design_742173-21283.jpg", imageAlt: "Mobile banking app project"
|
||||
},
|
||||
{
|
||||
id: "3", name: "Brand Identity System", price: "2023", variant: "Branding • Visual Identity", imageSrc: "http://img.b2bpic.net/free-vector/flat-design-geometric-business-card-template_52683-81597.jpg?_wi=1", imageAlt: "Brand identity project"
|
||||
id: "3", name: "Brand Identity System", price: "2023", variant: "Branding • Visual Identity", imageSrc: "http://img.b2bpic.net/free-vector/flat-design-geometric-business-card-template_52683-81597.jpg", imageAlt: "Brand identity project"
|
||||
}
|
||||
]}
|
||||
gridVariant="three-columns-all-equal-width"
|
||||
@@ -99,7 +99,7 @@ export default function LandingPage() {
|
||||
tag="Skills"
|
||||
features={[
|
||||
{
|
||||
id: "1", title: "User Experience Design", description: "Creating intuitive and engaging interfaces through research-driven design processes, wireframing, prototyping, and user testing.", media: { imageSrc: "http://img.b2bpic.net/free-vector/business-proposal-template-design_742173-24808.jpg?_wi=2" },
|
||||
id: "1", title: "User Experience Design", description: "Creating intuitive and engaging interfaces through research-driven design processes, wireframing, prototyping, and user testing.", media: { imageSrc: "http://img.b2bpic.net/free-vector/business-proposal-template-design_742173-24808.jpg" },
|
||||
items: [
|
||||
{ icon: Zap, text: "User Research & Testing" },
|
||||
{ icon: Layers, text: "Prototyping & Wireframing" },
|
||||
@@ -108,7 +108,7 @@ export default function LandingPage() {
|
||||
reverse: false
|
||||
},
|
||||
{
|
||||
id: "2", title: "Visual Design & Branding", description: "Developing cohesive visual identities and brand systems that resonate with target audiences and maintain consistency across platforms.", media: { imageSrc: "http://img.b2bpic.net/free-vector/company-proposal-template-design_742173-21283.jpg?_wi=2" },
|
||||
id: "2", title: "Visual Design & Branding", description: "Developing cohesive visual identities and brand systems that resonate with target audiences and maintain consistency across platforms.", media: { imageSrc: "http://img.b2bpic.net/free-vector/company-proposal-template-design_742173-21283.jpg" },
|
||||
items: [
|
||||
{ icon: Palette, text: "Brand Strategy" },
|
||||
{ icon: Type, text: "Typography Design" },
|
||||
@@ -117,7 +117,7 @@ export default function LandingPage() {
|
||||
reverse: true
|
||||
},
|
||||
{
|
||||
id: "3", title: "Web & Mobile Development", description: "Translating designs into responsive, performant digital products using modern technologies and best practices.", media: { imageSrc: "http://img.b2bpic.net/free-vector/flat-design-geometric-business-card-template_52683-81597.jpg?_wi=2" },
|
||||
id: "3", title: "Web & Mobile Development", description: "Translating designs into responsive, performant digital products using modern technologies and best practices.", media: { imageSrc: "http://img.b2bpic.net/free-vector/flat-design-geometric-business-card-template_52683-81597.jpg" },
|
||||
items: [
|
||||
{ icon: Code, text: "Frontend Development" },
|
||||
{ icon: Smartphone, text: "Mobile Optimization" },
|
||||
@@ -169,7 +169,7 @@ export default function LandingPage() {
|
||||
required: true
|
||||
}}
|
||||
useInvertedBackground={false}
|
||||
imageSrc="http://img.b2bpic.net/free-vector/fashion-sale-concept-with-discount_23-2148590928.jpg?_wi=2"
|
||||
imageSrc="http://img.b2bpic.net/free-vector/fashion-sale-concept-with-discount_23-2148590928.jpg"
|
||||
mediaAnimation="slide-up"
|
||||
mediaPosition="right"
|
||||
buttonText="Send Message"
|
||||
|
||||
@@ -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);
|
||||
|
||||
export 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 ${text.length * 60} 100`}
|
||||
className={`w-full h-auto ${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="middle"
|
||||
fontSize="48"
|
||||
fontWeight="bold"
|
||||
fill="currentColor"
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
};
|
||||
|
||||
export default SvgTextLogo;
|
||||
|
||||
Reference in New Issue
Block a user