From a8898395cd5a34c1470521fd0b789c2a151c5916 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 01:16:11 +0000 Subject: [PATCH 1/2] Update src/app/page.tsx --- src/app/page.tsx | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index afc2154..6465669 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -7,7 +7,7 @@ import TextAbout from "@/components/sections/about/TextAbout"; import FeatureCardTwentyFive from "@/components/sections/feature/FeatureCardTwentyFive"; import ContactText from "@/components/sections/contact/ContactText"; import FooterCard from "@/components/sections/footer/FooterCard"; -import { Sparkles, CheckCircle, QrCode, Shield, AlertCircle, Smartphone, Database, Settings, AlertTriangle, Lightbulb, Book, Instagram, Twitter, Linkedin } from "lucide-react"; +import { Sparkles, CheckCircle, QrCode, Shield, AlertCircle, Smartphone, Database, Settings, AlertTriangle, Lightbulb, Book, Instagram, Twitter, Linkedin, Zap } from "lucide-react"; export default function LandingPage() { return ( @@ -85,21 +85,21 @@ export default function LandingPage() { title: "Scan a Barcode", description: "Point your phone at any food product and scan the barcode instantly. Baby Bites reads the product information in seconds.", icon: QrCode, mediaItems: [ { imageSrc: "http://img.b2bpic.net/free-vector/colorful-geometric-interior-design-id-card_1421494-519.jpg", imageAlt: "Barcode scanning illustration" }, - { imageSrc: "http://img.b2bpic.net/free-psd/ewallet-instagram-stories-design-template_23-2149069318.jpg?_wi=1", imageAlt: "App interface showing barcode scanner" } + { imageSrc: "http://img.b2bpic.net/free-psd/ewallet-instagram-stories-design-template_23-2149069318.jpg", imageAlt: "App interface showing barcode scanner" } ] }, { title: "Ingredient Safety Check", description: "Our pregnancy-safe ingredient database automatically checks every component against the latest medical guidelines and safety recommendations.", icon: Shield, mediaItems: [ - { imageSrc: "http://img.b2bpic.net/free-vector/science-beaker-check-mark_78370-8945.jpg?_wi=1", imageAlt: "Ingredient check illustration" }, - { imageSrc: "http://img.b2bpic.net/free-photo/top-view-different-fresh-fruits-inside-plates-white-background-tropical-ripe-color-diet-exotic-healthy-life-mellow_140725-98380.jpg?_wi=1", imageAlt: "Ingredient database interface" } + { imageSrc: "http://img.b2bpic.net/free-vector/science-beaker-check-mark_78370-8945.jpg", imageAlt: "Ingredient check illustration" }, + { imageSrc: "http://img.b2bpic.net/free-photo/top-view-different-fresh-fruits-inside-plates-white-background-tropical-ripe-color-diet-exotic-healthy-life-mellow_140725-98380.jpg", imageAlt: "Ingredient database interface" } ] }, { title: "Get a Clear Answer", description: "Instantly see if a food is safe (green), questionable (yellow), or should be avoided (red). Plus, learn why with detailed explanations.", icon: AlertCircle, mediaItems: [ - { imageSrc: "http://img.b2bpic.net/free-vector/realistic-construction-sign-background_23-2148170002.jpg?_wi=1", imageAlt: "Instant answer indicator" }, - { imageSrc: "http://img.b2bpic.net/free-vector/gradient-food-businesses-app-template_52683-151207.jpg?_wi=1", imageAlt: "Results screen showing ingredient analysis" } + { imageSrc: "http://img.b2bpic.net/free-vector/realistic-construction-sign-background_23-2148170002.jpg", imageAlt: "Instant answer indicator" }, + { imageSrc: "http://img.b2bpic.net/free-vector/gradient-food-businesses-app-template_52683-151207.jpg", imageAlt: "Results screen showing ingredient analysis" } ] } ]} @@ -120,15 +120,15 @@ export default function LandingPage() { { title: "Barcode Scanner", description: "Instant product scanning using your phone's camera. No typing required.", icon: Smartphone, mediaItems: [ - { imageSrc: "http://img.b2bpic.net/free-psd/ewallet-instagram-stories-design-template_23-2149069318.jpg?_wi=2", imageAlt: "Barcode scanner feature" }, + { imageSrc: "http://img.b2bpic.net/free-psd/ewallet-instagram-stories-design-template_23-2149069318.jpg", imageAlt: "Barcode scanner feature" }, { imageSrc: "http://img.b2bpic.net/free-vector/meditation-app-interface-concept_52683-45835.jpg", imageAlt: "Scanner interface" } ] }, { title: "Pregnancy-Safe Database", description: "10,000+ foods checked against the latest pregnancy nutrition guidelines and medical research.", icon: Database, mediaItems: [ - { imageSrc: "http://img.b2bpic.net/free-photo/top-view-different-fresh-fruits-inside-plates-white-background-tropical-ripe-color-diet-exotic-healthy-life-mellow_140725-98380.jpg?_wi=2", imageAlt: "Database illustration" }, - { imageSrc: "http://img.b2bpic.net/free-vector/science-beaker-check-mark_78370-8945.jpg?_wi=2", imageAlt: "Ingredient verification" } + { imageSrc: "http://img.b2bpic.net/free-photo/top-view-different-fresh-fruits-inside-plates-white-background-tropical-ripe-color-diet-exotic-healthy-life-mellow_140725-98380.jpg", imageAlt: "Database illustration" }, + { imageSrc: "http://img.b2bpic.net/free-vector/science-beaker-check-mark_78370-8945.jpg", imageAlt: "Ingredient verification" } ] }, { @@ -142,21 +142,21 @@ export default function LandingPage() { title: "Allergen Filters", description: "Get alerted to common allergens and cross-contamination risks specific to pregnancy.", icon: AlertTriangle, mediaItems: [ { imageSrc: "http://img.b2bpic.net/free-vector/hand-drawn-flat-design-ecology-badges_23-2149209136.jpg", imageAlt: "Allergen filter icon" }, - { imageSrc: "http://img.b2bpic.net/free-vector/hand-drawn-texture-driving-school-labels_23-2149253495.jpg?_wi=1", imageAlt: "Safety indicators" } + { imageSrc: "http://img.b2bpic.net/free-vector/hand-drawn-texture-driving-school-labels_23-2149253495.jpg", imageAlt: "Safety indicators" } ] }, { title: "Green/Yellow/Red System", description: "Simple color-coded safety ratings: Green (safe), Yellow (caution), Red (avoid). Clear and easy to understand.", icon: Lightbulb, mediaItems: [ - { imageSrc: "http://img.b2bpic.net/free-vector/hand-drawn-texture-driving-school-labels_23-2149253495.jpg?_wi=2", imageAlt: "Safety system illustration" }, - { imageSrc: "http://img.b2bpic.net/free-vector/realistic-construction-sign-background_23-2148170002.jpg?_wi=2", imageAlt: "Instant answer indicator" } + { imageSrc: "http://img.b2bpic.net/free-vector/hand-drawn-texture-driving-school-labels_23-2149253495.jpg", imageAlt: "Safety system illustration" }, + { imageSrc: "http://img.b2bpic.net/free-vector/realistic-construction-sign-background_23-2148170002.jpg", imageAlt: "Instant answer indicator" } ] }, { title: "Educational Explanations", description: "Understand why foods are safe or unsafe with evidence-based explanations from pregnancy nutrition experts.", icon: Book, mediaItems: [ { imageSrc: "http://img.b2bpic.net/free-vector/secretary-set_53876-91485.jpg", imageAlt: "Educational information" }, - { imageSrc: "http://img.b2bpic.net/free-vector/gradient-food-businesses-app-template_52683-151207.jpg?_wi=2", imageAlt: "Detailed explanation interface" } + { imageSrc: "http://img.b2bpic.net/free-vector/gradient-food-businesses-app-template_52683-151207.jpg", imageAlt: "Detailed explanation interface" } ] } ]} -- 2.49.1 From bdfc12607e263c98d70499639268480a4b9012cb Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 12 Mar 2026 01:16:11 +0000 Subject: [PATCH 2/2] Update src/components/shared/SvgTextLogo/SvgTextLogo.tsx --- .../shared/SvgTextLogo/SvgTextLogo.tsx | 54 +++++++------------ 1 file changed, 18 insertions(+), 36 deletions(-) diff --git a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx index f214190..cd7d3d5 100644 --- a/src/components/shared/SvgTextLogo/SvgTextLogo.tsx +++ b/src/components/shared/SvgTextLogo/SvgTextLogo.tsx @@ -1,51 +1,33 @@ -"use client"; +import React from "react"; -import { memo } from "react"; -import useSvgTextLogo from "./useSvgTextLogo"; -import { cls } from "@/lib/utils"; - -interface SvgTextLogoProps { - logoText: string; - adjustHeightFactor?: number; - verticalAlign?: "top" | "center"; +export interface SvgTextLogoProps { + text: string; className?: string; + textClassName?: string; } -const SvgTextLogo = memo(function SvgTextLogo({ - logoText, - adjustHeightFactor, - verticalAlign = "top", - className = "", -}) { - const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor); - +const SvgTextLogo: React.FC = ({ + text, + className = "", textClassName = ""}) => { return ( - {logoText} + {text} ); -}); - -SvgTextLogo.displayName = "SvgTextLogo"; +}; export default SvgTextLogo; -- 2.49.1