Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-10 19:48:29 +00:00
2 changed files with 39 additions and 40 deletions

View File

@@ -64,7 +64,7 @@ export default function LandingPage() {
description="With years of specialized experience in working with children with disabilities, I provide compassionate, evidence-based support tailored to each child and family's unique needs. My approach centers on building trust, fostering development, and empowering families with the tools they need."
textboxLayout="default"
useInvertedBackground={false}
imageSrc="http://img.b2bpic.net/free-photo/children-spending-time-together-nature_23-2149002850.jpg?_wi=1"
imageSrc="http://img.b2bpic.net/free-photo/children-spending-time-together-nature_23-2149002850.jpg"
imageAlt="Specialized educator working with child in outdoor learning environment"
mediaAnimation="blur-reveal"
bulletPoints={[
@@ -95,7 +95,7 @@ export default function LandingPage() {
features={[
{
id: 1,
title: "Home Support", description: "I accompany your child in the comfort of your home, providing one-on-one support, developmental guidance, and practical strategies to help your child thrive in their familiar environment. This service includes observing routines, identifying strengths, and working collaboratively with families.", imageSrc: "http://img.b2bpic.net/free-photo/young-mother-with-her-children-pediatrician-appointment_23-2149187499.jpg?_wi=1", imageAlt: "Home-based specialized education support"
title: "Home Support", description: "I accompany your child in the comfort of your home, providing one-on-one support, developmental guidance, and practical strategies to help your child thrive in their familiar environment. This service includes observing routines, identifying strengths, and working collaboratively with families.", imageSrc: "http://img.b2bpic.net/free-photo/young-mother-with-her-children-pediatrician-appointment_23-2149187499.jpg", imageAlt: "Home-based specialized education support"
},
{
id: 2,
@@ -128,11 +128,11 @@ export default function LandingPage() {
},
{
id: 2,
title: "Personalized Evaluation & Planning", description: "I conduct a thorough assessment of your child's needs, skills, and developmental stage. Together, we create a personalized support plan that outlines clear goals, strategies, and timelines tailored to your family's needs.", imageSrc: "http://img.b2bpic.net/free-photo/children-spending-time-together-nature_23-2149002850.jpg?_wi=2", imageAlt: "Personalized assessment and planning"
title: "Personalized Evaluation & Planning", description: "I conduct a thorough assessment of your child's needs, skills, and developmental stage. Together, we create a personalized support plan that outlines clear goals, strategies, and timelines tailored to your family's needs.", imageSrc: "http://img.b2bpic.net/free-photo/children-spending-time-together-nature_23-2149002850.jpg", imageAlt: "Personalized assessment and planning"
},
{
id: 3,
title: "Ongoing Support & Adaptation", description: "We begin regular support sessions tailored to your chosen service format. I continuously observe, adapt, and refine our approach based on your child's progress, family feedback, and evolving needs to ensure lasting, meaningful results.", imageSrc: "http://img.b2bpic.net/free-photo/young-mother-with-her-children-pediatrician-appointment_23-2149187499.jpg?_wi=2", imageAlt: "Ongoing support sessions with child"
title: "Ongoing Support & Adaptation", description: "We begin regular support sessions tailored to your chosen service format. I continuously observe, adapt, and refine our approach based on your child's progress, family feedback, and evolving needs to ensure lasting, meaningful results.", imageSrc: "http://img.b2bpic.net/free-photo/young-mother-with-her-children-pediatrician-appointment_23-2149187499.jpg", imageAlt: "Ongoing support sessions with child"
}
]}
/>

View File

@@ -1,51 +1,50 @@
"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;
width?: number;
height?: number;
}
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 = '',
width = 200,
height = 60,
}) => {
return (
<svg
ref={svgRef}
viewBox={viewBox}
className={cls("w-full", className)}
style={{ aspectRatio: aspectRatio }}
preserveAspectRatio="none"
role="img"
aria-label={`${logoText} logo`}
width={width}
height={height}
viewBox={`0 0 ${width} ${height}`}
className={className}
xmlns="http://www.w3.org/2000/svg"
>
<defs>
<style>
{`
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');
.logo-text {
font-family: 'Poppins', sans-serif;
font-size: 24px;
font-weight: 700;
fill: currentColor;
}
`}
</style>
</defs>
<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={width / 2}
y={height / 2}
textAnchor="middle"
dominantBaseline="central"
className="logo-text"
>
{logoText}
{text}
</text>
</svg>
);
});
SvgTextLogo.displayName = "SvgTextLogo";
};
export default SvgTextLogo;