Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-11 09:22:18 +00:00
2 changed files with 21 additions and 41 deletions

View File

@@ -11,7 +11,7 @@ import MetricCardThree from '@/components/sections/metrics/MetricCardThree';
import FaqBase from '@/components/sections/faq/FaqBase';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import { Award, Calendar, CheckCircle, Clock, Heart, MapPin, Sparkles, Star, TrendingUp, Users } from 'lucide-react';
import { Award, Calendar, CheckCircle, Clock, Heart, MapPin, Sparkles, Star, TrendingUp, Users, HelpCircle } from 'lucide-react';
export default function LandingPage() {
return (
@@ -55,10 +55,10 @@ export default function LandingPage() {
imageSrc: "http://img.b2bpic.net/free-photo/light-lamp-decor-glowing_1339-3091.jpg", imageAlt: "Citrus By The Pool - Poolside Dining"
},
{
imageSrc: "http://img.b2bpic.net/free-photo/delicious-dish-healthy-food_23-2148145640.jpg?_wi=1", imageAlt: "Citrus By The Pool - Restaurant Interior"
imageSrc: "http://img.b2bpic.net/free-photo/delicious-dish-healthy-food_23-2148145640.jpg", imageAlt: "Citrus By The Pool - Restaurant Interior"
},
{
imageSrc: "http://img.b2bpic.net/free-photo/top-view-delicious-fresh-cheese-table_23-2150267670.jpg?_wi=1", imageAlt: "Generous Fusion Portions"
imageSrc: "http://img.b2bpic.net/free-photo/top-view-delicious-fresh-cheese-table_23-2150267670.jpg", imageAlt: "Generous Fusion Portions"
}
]}
autoplayDelay={4000}
@@ -76,9 +76,10 @@ export default function LandingPage() {
{ value: "20,000+", title: "Five-Star Reviews" },
{ value: "100% Halal", title: "Certified & Transparent" }
]}
imageSrc="http://img.b2bpic.net/free-photo/delicious-dish-healthy-food_23-2148145640.jpg?_wi=2"
imageSrc="http://img.b2bpic.net/free-photo/delicious-dish-healthy-food_23-2148145640.jpg"
imageAlt="Citrus By The Pool Restaurant"
mediaAnimation="slide-up"
metricsAnimation="slide-up"
useInvertedBackground={false}
/>
</div>
@@ -94,7 +95,7 @@ export default function LandingPage() {
id: "1", title: "Generous Portions", descriptions: [
"Shareable family platters designed for groups", "Premium ingredients with authentic recipes", "Value for money without compromising quality"
],
imageSrc: "http://img.b2bpic.net/free-photo/top-view-delicious-fresh-cheese-table_23-2150267670.jpg?_wi=2", imageAlt: "Generous Fusion Portions"
imageSrc: "http://img.b2bpic.net/free-photo/top-view-delicious-fresh-cheese-table_23-2150267670.jpg", imageAlt: "Generous Fusion Portions"
},
{
id: "2", title: "Halal Certified", descriptions: [

View File

@@ -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);
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 1000 200"
className={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="middle"
textAnchor="middle"
fontSize="80"
fontWeight="bold"
fill="currentColor"
>
{logoText}
{text}
</text>
</svg>
);
});
SvgTextLogo.displayName = "SvgTextLogo";
};
export default SvgTextLogo;