Merge version_1 into main

Merge version_1 into main
This commit was merged in pull request #2.
This commit is contained in:
2026-03-12 22:49:08 +00:00
2 changed files with 27 additions and 43 deletions

View File

@@ -47,7 +47,7 @@ export default function LandingPage() {
{ text: "Discover Our Mission", href: "about" },
{ text: "Support Us Today", href: "contact" }
]}
imageSrc="http://img.b2bpic.net/free-photo/american-elections-vote-right_23-2151841392.jpg?_wi=1"
imageSrc="http://img.b2bpic.net/free-photo/american-elections-vote-right_23-2151841392.jpg"
imageAlt="Military veterans and families in supportive community gathering"
showDimOverlay={true}
/>
@@ -74,7 +74,7 @@ export default function LandingPage() {
title: "Spiritual Counseling", description: "Connect with faith-based counselors who understand military service and honor your spiritual journey. Bible studies, prayer groups, and personalized spiritual guidance available.", icon: Cross,
mediaItems: [
{
imageSrc: "http://img.b2bpic.net/free-photo/front-view-christians-reading-bible_23-2149386642.jpg?_wi=1", imageAlt: "Spiritual counseling and faith community support"
imageSrc: "http://img.b2bpic.net/free-photo/front-view-christians-reading-bible_23-2149386642.jpg", imageAlt: "Spiritual counseling and faith community support"
},
{
imageSrc: "http://img.b2bpic.net/free-photo/american-soldier-mourning-praying-with-american-flag-his-hands_181624-20756.jpg", imageAlt: "Military chaplain ministry and faith gathering"
@@ -88,7 +88,7 @@ export default function LandingPage() {
imageSrc: "http://img.b2bpic.net/free-photo/father-with-his-son-having-picnic-park_1303-16233.jpg", imageAlt: "Military family outdoor gathering and bonding"
},
{
imageSrc: "http://img.b2bpic.net/free-photo/american-elections-vote-right_23-2151841392.jpg?_wi=2", imageAlt: "Family community support network"
imageSrc: "http://img.b2bpic.net/free-photo/american-elections-vote-right_23-2151841392.jpg", imageAlt: "Family community support network"
}
]
},
@@ -96,10 +96,10 @@ export default function LandingPage() {
title: "Mental Health Counseling", description: "Professional, compassionate mental health support specifically tailored for veterans. We address PTSD, depression, anxiety, and transition challenges with evidence-based care and peer support.", icon: Brain,
mediaItems: [
{
imageSrc: "http://img.b2bpic.net/free-photo/man-with-depression-making-confession-aa-therapy-meeting-with-alcoholics-people-person-telling-addiction-story-receive-help-advice-from-therapist-support-rehab-group_482257-37070.jpg?_wi=1", imageAlt: "Professional mental health counseling session"
imageSrc: "http://img.b2bpic.net/free-photo/man-with-depression-making-confession-aa-therapy-meeting-with-alcoholics-people-person-telling-addiction-story-receive-help-advice-from-therapist-support-rehab-group_482257-37070.jpg", imageAlt: "Professional mental health counseling session"
},
{
imageSrc: "http://img.b2bpic.net/free-photo/front-view-christians-reading-bible_23-2149386642.jpg?_wi=2", imageAlt: "Supportive counseling conversation"
imageSrc: "http://img.b2bpic.net/free-photo/front-view-christians-reading-bible_23-2149386642.jpg", imageAlt: "Supportive counseling conversation"
}
]
},
@@ -110,7 +110,7 @@ export default function LandingPage() {
imageSrc: "http://img.b2bpic.net/free-photo/front-view-business-women-desk_23-2148427105.jpg", imageAlt: "Financial planning and guidance advisor"
},
{
imageSrc: "http://img.b2bpic.net/free-photo/man-with-depression-making-confession-aa-therapy-meeting-with-alcoholics-people-person-telling-addiction-story-receive-help-advice-from-therapist-support-rehab-group_482257-37070.jpg?_wi=2", imageAlt: "Professional financial counseling"
imageSrc: "http://img.b2bpic.net/free-photo/man-with-depression-making-confession-aa-therapy-meeting-with-alcoholics-people-person-telling-addiction-story-receive-help-advice-from-therapist-support-rehab-group_482257-37070.jpg", imageAlt: "Professional financial counseling"
}
]
}
@@ -139,6 +139,7 @@ export default function LandingPage() {
id: "4", value: "100%", description: "Faith-based approach honoring service and sacrifice with dignity and respect"
}
]}
metricsAnimation="slide-up"
useInvertedBackground={false}
/>
</div>

View File

@@ -1,51 +1,34 @@
"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);
export 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 200 50"
className={`w-full h-auto ${className}`}
xmlns="http://www.w3.org/2000/svg"
aria-label={text}
>
<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"
className={`text-lg font-bold fill-current ${textClassName}`}
>
{logoText}
{text}
</text>
</svg>
);
});
};
SvgTextLogo.displayName = "SvgTextLogo";
export default SvgTextLogo;
export default SvgTextLogo;