Merge version_1 into main #2
@@ -20,7 +20,7 @@ export default function SinpaDesignPage() {
|
||||
borderRadius="rounded"
|
||||
contentWidth="mediumLarge"
|
||||
sizing="largeSmallSizeMediumTitles"
|
||||
background="noise"
|
||||
background="circleGradient"
|
||||
cardStyle="outline"
|
||||
primaryButtonStyle="diagonal-gradient"
|
||||
secondaryButtonStyle="solid"
|
||||
@@ -48,7 +48,7 @@ export default function SinpaDesignPage() {
|
||||
tag="Creative Excellence"
|
||||
tagIcon={Sparkles}
|
||||
tagAnimation="slide-up"
|
||||
background={{ variant: "noise" }}
|
||||
background={{ variant: "glowing-orb" }}
|
||||
useInvertedBackground={false}
|
||||
buttons={[
|
||||
{ text: "Browse Services", href: "services" },
|
||||
@@ -62,11 +62,11 @@ export default function SinpaDesignPage() {
|
||||
testimonials={[
|
||||
{
|
||||
name: "Alex Rivera", handle: "Creative Director", testimonial: "Sinpa Design transformed our brand identity completely. Highly recommended!", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-grey-haired-businessman-standing_74855-10324.jpg?_wi=1"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-grey-haired-businessman-standing_74855-10324.jpg"
|
||||
},
|
||||
{
|
||||
name: "Jordan Chen", handle: "Startup Founder", testimonial: "The UI/UX design was exactly what we needed. Professional and fast.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-good-looking-smiling-friendly-female-trainee-ready-tackle-assignments-smiling-broadly-feeling-lucky-day-work-self-assured-encouraged-achieve-success-goal-white-wall_176420-35567.jpg?_wi=1"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-good-looking-smiling-friendly-female-trainee-ready-tackle-assignments-smiling-broadly-feeling-lucky-day-work-self-assured-encouraged-achieve-success-goal-white-wall_176420-35567.jpg"
|
||||
}
|
||||
]}
|
||||
testimonialRotationInterval={5000}
|
||||
@@ -86,15 +86,15 @@ export default function SinpaDesignPage() {
|
||||
products={[
|
||||
{
|
||||
id: "branding", brand: "Sinpa Design", name: "Brand Identity Design", price: "Custom Quote", rating: 5,
|
||||
reviewCount: "50+", imageSrc: "http://img.b2bpic.net/free-vector/business-card-template-with-abstract-shapes_23-2148249709.jpg?_wi=1", imageAlt: "Brand identity design services"
|
||||
reviewCount: "50+", imageSrc: "http://img.b2bpic.net/free-vector/business-card-template-with-abstract-shapes_23-2148249709.jpg", imageAlt: "Brand identity design services"
|
||||
},
|
||||
{
|
||||
id: "ui-ux", brand: "Sinpa Design", name: "UI/UX Design", price: "Custom Quote", rating: 5,
|
||||
reviewCount: "45+", imageSrc: "http://img.b2bpic.net/free-vector/flat-design-coworking-app-template_23-2150249518.jpg?_wi=1", imageAlt: "UI UX design services"
|
||||
reviewCount: "45+", imageSrc: "http://img.b2bpic.net/free-vector/flat-design-coworking-app-template_23-2150249518.jpg", imageAlt: "UI UX design services"
|
||||
},
|
||||
{
|
||||
id: "illustration", brand: "Sinpa Design", name: "Custom Illustrations", price: "Custom Quote", rating: 5,
|
||||
reviewCount: "38+", imageSrc: "http://img.b2bpic.net/free-psd/staying-home-vertical-flyer-template_23-2149704071.jpg?_wi=1", imageAlt: "Custom illustration services"
|
||||
reviewCount: "38+", imageSrc: "http://img.b2bpic.net/free-psd/staying-home-vertical-flyer-template_23-2149704071.jpg", imageAlt: "Custom illustration services"
|
||||
}
|
||||
]}
|
||||
/>
|
||||
@@ -111,19 +111,19 @@ export default function SinpaDesignPage() {
|
||||
animationType="slide-up"
|
||||
plans={[
|
||||
{
|
||||
id: "starter", title: "Starter Package", price: "$199", period: "/project", imageSrc: "http://img.b2bpic.net/free-vector/business-card-template-with-abstract-shapes_23-2148249709.jpg?_wi=2", imageAlt: "Starter design package", button: { text: "Order Now", href: "contact" },
|
||||
id: "starter", title: "Starter Package", price: "$199", period: "/project", imageSrc: "http://img.b2bpic.net/free-vector/business-card-template-with-abstract-shapes_23-2148249709.jpg", imageAlt: "Starter design package", button: { text: "Order Now", href: "contact" },
|
||||
features: [
|
||||
"2-3 design concepts", "Unlimited revisions", "Fast turnaround (5-7 days)", "High-resolution files"
|
||||
]
|
||||
},
|
||||
{
|
||||
id: "professional", title: "Professional Package", price: "$499", period: "/project", imageSrc: "http://img.b2bpic.net/free-vector/flat-design-coworking-app-template_23-2150249518.jpg?_wi=2", imageAlt: "Professional design package", button: { text: "Order Now", href: "contact" },
|
||||
id: "professional", title: "Professional Package", price: "$499", period: "/project", imageSrc: "http://img.b2bpic.net/free-vector/flat-design-coworking-app-template_23-2150249518.jpg", imageAlt: "Professional design package", button: { text: "Order Now", href: "contact" },
|
||||
features: [
|
||||
"5-7 design concepts", "Unlimited revisions", "Standard turnaround (7-10 days)", "All file formats included", "Brand guidelines documentation"
|
||||
]
|
||||
},
|
||||
{
|
||||
id: "premium", title: "Premium Package", price: "$999", period: "/project", imageSrc: "http://img.b2bpic.net/free-psd/staying-home-vertical-flyer-template_23-2149704071.jpg?_wi=2", imageAlt: "Premium design package", button: { text: "Order Now", href: "contact" },
|
||||
id: "premium", title: "Premium Package", price: "$999", period: "/project", imageSrc: "http://img.b2bpic.net/free-psd/staying-home-vertical-flyer-template_23-2149704071.jpg", imageAlt: "Premium design package", button: { text: "Order Now", href: "contact" },
|
||||
features: [
|
||||
"Unlimited design concepts", "Unlimited revisions", "Priority support", "Extended turnaround flexibility", "Complete brand system", "Social media assets included"
|
||||
]
|
||||
@@ -161,28 +161,22 @@ export default function SinpaDesignPage() {
|
||||
carouselMode="buttons"
|
||||
testimonials={[
|
||||
{
|
||||
id: "1", name: "Sarah Martinez", role: "Marketing Manager", company: "Tech Startup Hub", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-grey-haired-businessman-standing_74855-10324.jpg?_wi=2", imageAlt: "Sarah Martinez testimonial"
|
||||
id: "1", name: "Sarah Martinez", role: "Marketing Manager", company: "Tech Startup Hub", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/portrait-grey-haired-businessman-standing_74855-10324.jpg", imageAlt: "Sarah Martinez testimonial"
|
||||
},
|
||||
{
|
||||
id: "2", name: "Michael Zhang", role: "Brand Director", company: "Creative Agency", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-good-looking-smiling-friendly-female-trainee-ready-tackle-assignments-smiling-broadly-feeling-lucky-day-work-self-assured-encouraged-achieve-success-goal-white-wall_176420-35567.jpg?_wi=2", imageAlt: "Michael Zhang testimonial"
|
||||
id: "2", name: "Michael Zhang", role: "Brand Director", company: "Creative Agency", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/close-up-good-looking-smiling-friendly-female-trainee-ready-tackle-assignments-smiling-broadly-feeling-lucky-day-work-self-assured-encouraged-achieve-success-goal-white-wall_176420-35567.jpg", imageAlt: "Michael Zhang testimonial"
|
||||
},
|
||||
{
|
||||
id: "3", name: "Emma Thompson", role: "Product Owner", company: "SaaS Company", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/dark-blonde-bearded-man-crosses-his-hands-chest-posing-black-shirt_8353-1116.jpg", imageAlt: "Emma Thompson testimonial"
|
||||
id: "3", name: "Emma Thompson", role: "Product Owner", company: "SaaS Company", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/dark-blonde-bearded-man-crosses-his-hands-chest-posing-black-shirt_8353-1116.jpg", imageAlt: "Emma Thompson testimonial"
|
||||
},
|
||||
{
|
||||
id: "4", name: "David Park", role: "CEO", company: "E-commerce Store", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/successful-professional-sitting-office_1098-21006.jpg", imageAlt: "David Park testimonial"
|
||||
id: "4", name: "David Park", role: "CEO", company: "E-commerce Store", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/successful-professional-sitting-office_1098-21006.jpg", imageAlt: "David Park testimonial"
|
||||
},
|
||||
{
|
||||
id: "5", name: "Jessica Wong", role: "Creative Lead", company: "Design Studio", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-handsome-middle-aged-man-with-beard-hairstyle-dressed-elegant-formal-suit-textured-dark-background-studio_613910-19887.jpg", imageAlt: "Jessica Wong testimonial"
|
||||
id: "5", name: "Jessica Wong", role: "Creative Lead", company: "Design Studio", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-handsome-middle-aged-man-with-beard-hairstyle-dressed-elegant-formal-suit-textured-dark-background-studio_613910-19887.jpg", imageAlt: "Jessica Wong testimonial"
|
||||
},
|
||||
{
|
||||
id: "6", name: "Kevin Anderson", role: "Founder", company: "Digital Marketing", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-bearded-black-man-wool-suit_613910-16435.jpg", imageAlt: "Kevin Anderson testimonial"
|
||||
id: "6", name: "Kevin Anderson", role: "Founder", company: "Digital Marketing", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/portrait-bearded-black-man-wool-suit_613910-16435.jpg", imageAlt: "Kevin Anderson testimonial"
|
||||
}
|
||||
]}
|
||||
/>
|
||||
@@ -231,7 +225,7 @@ export default function SinpaDesignPage() {
|
||||
description="Join our community of satisfied clients. Submit your project details and our team will reach out within 24 hours with a personalized quote."
|
||||
tagIcon={ArrowRight}
|
||||
tagAnimation="slide-up"
|
||||
background={{ variant: "noise" }}
|
||||
background={{ variant: "glowing-orb" }}
|
||||
useInvertedBackground={false}
|
||||
inputPlaceholder="your@email.com"
|
||||
buttonText="Start Your Order"
|
||||
|
||||
@@ -1,51 +1,33 @@
|
||||
"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;
|
||||
textClassName?: 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 = '',
|
||||
textClassName = '',
|
||||
}) => {
|
||||
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%"
|
||||
dominantBaseline="central"
|
||||
textAnchor="middle"
|
||||
className={`text-4xl font-bold fill-current ${textClassName}`}
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
};
|
||||
|
||||
export default SvgTextLogo;
|
||||
|
||||
Reference in New Issue
Block a user