Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-12 10:17:44 +00:00
2 changed files with 30 additions and 50 deletions

View File

@@ -44,13 +44,13 @@ export default function LandingPage() {
tag="Financial Protection"
tagIcon={Shield}
background={{ variant: "glowing-orb" }}
imageSrc="http://img.b2bpic.net/free-photo/people-looking-picture-albums_23-2149444416.jpg?_wi=1"
imageSrc="http://img.b2bpic.net/free-photo/people-looking-picture-albums_23-2149444416.jpg"
imageAlt="Family financial security and protection"
imagePosition="right"
testimonials={[
{
name: "Rajesh Kumar", handle: "Local Guide, 5★ Rating", testimonial: "One of the oldest and most trusted insurance advisors in Coimbatore. Exceptional service!", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/happy-businessman-smiling-camera_1163-4660.jpg?_wi=1"
imageSrc: "http://img.b2bpic.net/free-photo/happy-businessman-smiling-camera_1163-4660.jpg"
}
]}
buttons={[
@@ -72,7 +72,7 @@ export default function LandingPage() {
description="SKS Insurance is a trusted insurance consultancy helping families and businesses secure their financial future."
subdescription="Transparent Guidance • Personalized Solutions • Long-term Relationships"
icon={CheckCircle}
imageSrc="http://img.b2bpic.net/free-photo/people-looking-picture-albums_23-2149444416.jpg?_wi=2"
imageSrc="http://img.b2bpic.net/free-photo/people-looking-picture-albums_23-2149444416.jpg"
imageAlt="SKS Insurance team commitment to client success"
mediaAnimation="blur-reveal"
useInvertedBackground={true}
@@ -119,8 +119,8 @@ export default function LandingPage() {
textboxLayout="default"
useInvertedBackground={true}
tag="Our Advantages"
tagAnimation="fade"
animationType="fade"
tagAnimation="opacity"
animationType="opacity"
features={[
{
id: "trusted", tag: "Reliability", title: "Trusted Local Insurance Advisor", description: "Years of experience serving Coimbatore community with integrity, transparency, and dedication to client success."
@@ -155,20 +155,16 @@ export default function LandingPage() {
animationType="slide-up"
testimonials={[
{
id: "1", name: "Priya Sharma", role: "Business Owner", company: "Local Guide, Google", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/portrait-woman-work-with-copy-space_23-2148826459.jpg"
id: "1", name: "Priya Sharma", role: "Business Owner", company: "Local Guide, Google", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/portrait-woman-work-with-copy-space_23-2148826459.jpg"
},
{
id: "2", name: "Arun Venkatesh", role: "Consultant", company: "Tech Professional", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/serious-senior-businessman-walking-outside-modern-office-building_1139-1081.jpg"
id: "2", name: "Arun Venkatesh", role: "Consultant", company: "Tech Professional", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/serious-senior-businessman-walking-outside-modern-office-building_1139-1081.jpg"
},
{
id: "3", name: "Meera Patel", role: "Family Head", company: "Local Guide, Google", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/happy-business-woman-standing-with-crossed-arms_23-2148095676.jpg"
id: "3", name: "Meera Patel", role: "Family Head", company: "Local Guide, Google", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/happy-business-woman-standing-with-crossed-arms_23-2148095676.jpg"
},
{
id: "4", name: "Rajesh Kumar", role: "Entrepreneur", company: "Local Guide, Google", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/happy-businessman-smiling-camera_1163-4660.jpg?_wi=2"
id: "4", name: "Rajesh Kumar", role: "Entrepreneur", company: "Local Guide, Google", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/happy-businessman-smiling-camera_1163-4660.jpg"
}
]}
kpiItems={[

View File

@@ -1,51 +1,35 @@
"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;
fillColor?: string;
fontSize?: number;
}
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 = '',
fillColor = '#000000',
fontSize = 24,
}) => {
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 50"
xmlns="http://www.w3.org/2000/svg"
className={className}
>
<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="10"
y="35"
fontSize={fontSize}
fill={fillColor}
dominantBaseline="middle"
>
{logoText}
{text}
</text>
</svg>
);
});
};
SvgTextLogo.displayName = "SvgTextLogo";
export default SvgTextLogo;
export default SvgTextLogo;