Merge version_1 into main #2

Merged
bender merged 2 commits from version_1 into main 2026-03-12 05:45:14 +00:00
2 changed files with 34 additions and 44 deletions

View File

@@ -8,7 +8,7 @@ import TestimonialCardThirteen from '@/components/sections/testimonial/Testimoni
import PricingCardThree from '@/components/sections/pricing/PricingCardThree';
import TextAbout from '@/components/sections/about/TextAbout';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import { Bell, Bookmark, Camera, Heart, Lock, MapPin, MessageCircle, MoreHorizontal, MoreVertical, Pizza, Settings, Sparkles, Star, TrendingUp, Users, Utensils, Wine, Zap, Flame, Flame as FlameIcon } from 'lucide-react';
import { Bell, Bookmark, Camera, Heart, Lock, MapPin, MessageCircle, MoreHorizontal, Pizza, Settings, Sparkles, Star, TrendingUp, Users, Utensils, Wine, Zap, Flame } from 'lucide-react';
export default function LandingPage() {
return (
@@ -57,15 +57,15 @@ export default function LandingPage() {
testimonials={[
{
name: "Sarah Chen", handle: "Food Blogger", testimonial: "Finally found a way to decide what to eat without spending 20 minutes choosing!", rating: 5,
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Apet8pXCqXRsNiZFoyY1rB7lID/professional-headshot-of-a-young-woman-s-1773294214397-73c19f10.png?_wi=1"
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Apet8pXCqXRsNiZFoyY1rB7lID/professional-headshot-of-a-young-woman-s-1773294214397-73c19f10.png"
},
{
name: "Marcus Johnson", handle: "Busy Professional", testimonial: "This app has transformed my lunch breaks. Instant discoveries, no indecision.", rating: 5,
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Apet8pXCqXRsNiZFoyY1rB7lID/professional-headshot-of-a-man-with-frie-1773294214350-494bdbb0.png?_wi=1"
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Apet8pXCqXRsNiZFoyY1rB7lID/professional-headshot-of-a-man-with-frie-1773294214350-494bdbb0.png"
},
{
name: "Elena Rodriguez", handle: "Adventurous Eater", testimonial: "Love discovering new restaurants and dishes I never would have tried before!", rating: 5,
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Apet8pXCqXRsNiZFoyY1rB7lID/professional-headshot-of-a-diverse-woman-1773294215726-b126eed5.png?_wi=1"
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Apet8pXCqXRsNiZFoyY1rB7lID/professional-headshot-of-a-diverse-woman-1773294215726-b126eed5.png"
}
]}
testimonialRotationInterval={4000}
@@ -132,7 +132,7 @@ export default function LandingPage() {
]
},
{
title: "Your Saved Dishes", description: "All your saved dishes appear in your personal collection. Organize by cuisine, restaurant, or dietary preference.", bentoComponent: "3d-task-list", title: "Your Favorites", items: [
title: "Your Saved Dishes", description: "All your saved dishes appear in your personal collection. Organize by cuisine, restaurant, or dietary preference.", bentoComponent: "3d-task-list", items: [
{ icon: Pizza, label: "Margherita Pizza", time: "2 min away" },
{ icon: Utensils, label: "Thai Green Curry", time: "5 min away" },
{ icon: Wine, label: "Sushi Platter", time: "3 min away" }
@@ -155,15 +155,15 @@ export default function LandingPage() {
testimonials={[
{
id: "1", name: "Sarah Chen", handle: "@foodblogger_sarah", testimonial: "I used to spend 30 minutes deciding what to eat. Now FoodSwipe does it in 2 minutes. This is a game-changer!", rating: 5,
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Apet8pXCqXRsNiZFoyY1rB7lID/professional-headshot-of-a-young-woman-s-1773294214397-73c19f10.png?_wi=2"
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Apet8pXCqXRsNiZFoyY1rB7lID/professional-headshot-of-a-young-woman-s-1773294214397-73c19f10.png"
},
{
id: "2", name: "Marcus Johnson", handle: "@busy_pro_marcus", testimonial: "As someone who works crazy hours, this app has been a lifesaver. Smart recommendations that actually match my taste.", rating: 5,
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Apet8pXCqXRsNiZFoyY1rB7lID/professional-headshot-of-a-man-with-frie-1773294214350-494bdbb0.png?_wi=2"
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Apet8pXCqXRsNiZFoyY1rB7lID/professional-headshot-of-a-man-with-frie-1773294214350-494bdbb0.png"
},
{
id: "3", name: "Elena Rodriguez", handle: "@adventure_eater", testimonial: "Discovered three new favorite restaurants in just one week. Love the instant mood-based swiping feature!", rating: 5,
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Apet8pXCqXRsNiZFoyY1rB7lID/professional-headshot-of-a-diverse-woman-1773294215726-b126eed5.png?_wi=2"
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Apet8pXCqXRsNiZFoyY1rB7lID/professional-headshot-of-a-diverse-woman-1773294215726-b126eed5.png"
},
{
id: "4", name: "David Kim", handle: "@foodie_david", testimonial: "The community reviews are incredibly helpful. It's like having millions of food advisors in your pocket.", rating: 5,

View File

@@ -1,51 +1,41 @@
"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;
fontSize?: number;
fontFamily?: string;
fontWeight?: number | string;
fill?: 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,
fontSize = 48,
fontFamily = 'Arial, sans-serif',
fontWeight = 'bold',
fill = 'currentColor',
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 ${text.length * fontSize} ${fontSize * 1.5}`}
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={fontSize / 4}
y={fontSize}
fontSize={fontSize}
fontFamily={fontFamily}
fontWeight={fontWeight}
fill={fill}
dominantBaseline="middle"
>
{logoText}
{text}
</text>
</svg>
);
});
SvgTextLogo.displayName = "SvgTextLogo";
};
export default SvgTextLogo;