Merge version_1 into main #2
@@ -21,9 +21,9 @@ export default function LandingPage() {
|
||||
borderRadius="pill"
|
||||
contentWidth="compact"
|
||||
sizing="mediumSizeLargeTitles"
|
||||
background="aurora"
|
||||
background="circleGradient"
|
||||
cardStyle="inset"
|
||||
primaryButtonStyle="diagonal-gradient"
|
||||
primaryButtonStyle="gradient"
|
||||
secondaryButtonStyle="layered"
|
||||
headingFontWeight="semibold"
|
||||
>
|
||||
@@ -60,20 +60,20 @@ export default function LandingPage() {
|
||||
testimonials={[
|
||||
{
|
||||
name: "James Mitchell", handle: "Busy Professional, Tech Executive", testimonial: "Cut my wait time in half with pre-ordering. Perfect for my hectic schedule.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/smiling-homosexual-man-official-suit-looking-camera-close-up-shot-happy-gay-getting-dressed-wedding-ceremony-standing-hotel-room-with-his-partner-background-love-emotion-concept_74855-22675.jpg?_wi=1", imageAlt: "James Mitchell"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/smiling-homosexual-man-official-suit-looking-camera-close-up-shot-happy-gay-getting-dressed-wedding-ceremony-standing-hotel-room-with-his-partner-background-love-emotion-concept_74855-22675.jpg", imageAlt: "James Mitchell"
|
||||
},
|
||||
{
|
||||
name: "Sarah Johnson", handle: "Mother of Two, Family-Focused", testimonial: "The freshness guarantee gives me peace of mind. My kids love the rewards program!", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/happy-mother-holding-kid-back_23-2148748676.jpg?_wi=1", imageAlt: "Sarah Johnson"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/happy-mother-holding-kid-back_23-2148748676.jpg", imageAlt: "Sarah Johnson"
|
||||
},
|
||||
{
|
||||
name: "Michael Chen", handle: "Loyal Customer, 10+ Years", testimonial: "Real-time tracking is a game-changer. I know exactly when my order's ready.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/bearded-man-holding-his-arms-crossed-christmas_23-2148737963.jpg?_wi=1", imageAlt: "Michael Chen"
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/bearded-man-holding-his-arms-crossed-christmas_23-2148737963.jpg", imageAlt: "Michael Chen"
|
||||
}
|
||||
]}
|
||||
testimonialRotationInterval={5000}
|
||||
useInvertedBackground={false}
|
||||
background={{ variant: "aurora" }}
|
||||
background={{ variant: "plain" }}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -118,16 +118,13 @@ export default function LandingPage() {
|
||||
gridVariant="three-columns-all-equal-width"
|
||||
products={[
|
||||
{
|
||||
id: "1", brand: "McDonald's Luxury", name: "Family Feast Bundle", price: "$48.99", rating: 5,
|
||||
reviewCount: "12.3k", imageSrc: "http://img.b2bpic.net/free-photo/bread-slices-stuffed-buns-burgers-white-plate_1150-24761.jpg", imageAlt: "Family meal bundle with toys"
|
||||
id: "1", brand: "McDonald's Luxury", name: "Family Feast Bundle", price: "$48.99", rating: 5, reviewCount: "12.3k", imageSrc: "http://img.b2bpic.net/free-photo/bread-slices-stuffed-buns-burgers-white-plate_1150-24761.jpg", imageAlt: "Family meal bundle with toys"
|
||||
},
|
||||
{
|
||||
id: "2", brand: "McDonald's Luxury", name: "Loyalty Rewards Elite", price: "$0.00", rating: 5,
|
||||
reviewCount: "8.7k", imageSrc: "http://img.b2bpic.net/free-photo/top-view-black-friday-sales-assortment_23-2148665599.jpg", imageAlt: "Premium loyalty rewards card"
|
||||
id: "2", brand: "McDonald's Luxury", name: "Loyalty Rewards Elite", price: "$0.00", rating: 5, reviewCount: "8.7k", imageSrc: "http://img.b2bpic.net/free-photo/top-view-black-friday-sales-assortment_23-2148665599.jpg", imageAlt: "Premium loyalty rewards card"
|
||||
},
|
||||
{
|
||||
id: "3", brand: "McDonald's Luxury", name: "Skip-the-Line VIP Pass", price: "$9.99/mo", rating: 5,
|
||||
reviewCount: "5.2k", imageSrc: "http://img.b2bpic.net/free-photo/close-up-businessman-holding-digital-tablet-hand-with-businesswoman-standing-background_23-2147941513.jpg", imageAlt: "Skip waiting lines feature"
|
||||
id: "3", brand: "McDonald's Luxury", name: "Skip-the-Line VIP Pass", price: "$9.99/mo", rating: 5, reviewCount: "5.2k", imageSrc: "http://img.b2bpic.net/free-photo/close-up-businessman-holding-digital-tablet-hand-with-businesswoman-standing-background_23-2147941513.jpg", imageAlt: "Skip waiting lines feature"
|
||||
}
|
||||
]}
|
||||
buttons={[
|
||||
@@ -163,13 +160,13 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
testimonials={[
|
||||
{
|
||||
id: "1", name: "James Mitchell, Operations Manager at TechFlow", date: "Date: 15 January 2025", title: "The Time-Saver I Didn't Know I Needed", quote: "As someone juggling back-to-back meetings, McDonald's Luxury's pre-ordering system has been a revelation. I save 15 minutes daily, and the real-time tracking gives me complete peace of mind. Finally, a fast-food experience that respects my time.", tag: "Busy Professional", avatarSrc: "http://img.b2bpic.net/free-photo/smiling-homosexual-man-official-suit-looking-camera-close-up-shot-happy-gay-getting-dressed-wedding-ceremony-standing-hotel-room-with-his-partner-background-love-emotion-concept_74855-22675.jpg", avatarAlt: "James Mitchell", imageSrc: "http://img.b2bpic.net/free-photo/smiling-homosexual-man-official-suit-looking-camera-close-up-shot-happy-gay-getting-dressed-wedding-ceremony-standing-hotel-room-with-his-partner-background-love-emotion-concept_74855-22675.jpg?_wi=2", imageAlt: "James Mitchell testimonial"
|
||||
id: "1", name: "James Mitchell, Operations Manager at TechFlow", date: "Date: 15 January 2025", title: "The Time-Saver I Didn't Know I Needed", quote: "As someone juggling back-to-back meetings, McDonald's Luxury's pre-ordering system has been a revelation. I save 15 minutes daily, and the real-time tracking gives me complete peace of mind. Finally, a fast-food experience that respects my time.", tag: "Busy Professional", avatarSrc: "http://img.b2bpic.net/free-photo/smiling-homosexual-man-official-suit-looking-camera-close-up-shot-happy-gay-getting-dressed-wedding-ceremony-standing-hotel-room-with-his-partner-background-love-emotion-concept_74855-22675.jpg", avatarAlt: "James Mitchell", imageSrc: "http://img.b2bpic.net/free-photo/smiling-homosexual-man-official-suit-looking-camera-close-up-shot-happy-gay-getting-dressed-wedding-ceremony-standing-hotel-room-with-his-partner-background-love-emotion-concept_74855-22675.jpg", imageAlt: "James Mitchell testimonial"
|
||||
},
|
||||
{
|
||||
id: "2", name: "Sarah Johnson, Mother of Two", date: "Date: 22 January 2025", title: "Quality & Peace of Mind for My Family", quote: "The freshness guarantee and loyalty rewards program have transformed how we eat out. My kids get excited about the toys, I appreciate knowing everything is fresh, and the bundle deals actually help our budget. This is what family-focused dining should look like.", tag: "Family Advocate", avatarSrc: "http://img.b2bpic.net/free-photo/happy-mother-holding-kid-back_23-2148748676.jpg", avatarAlt: "Sarah Johnson", imageSrc: "http://img.b2bpic.net/free-photo/happy-mother-holding-kid-back_23-2148748676.jpg?_wi=2", imageAlt: "Sarah Johnson testimonial"
|
||||
id: "2", name: "Sarah Johnson, Mother of Two", date: "Date: 22 January 2025", title: "Quality & Peace of Mind for My Family", quote: "The freshness guarantee and loyalty rewards program have transformed how we eat out. My kids get excited about the toys, I appreciate knowing everything is fresh, and the bundle deals actually help our budget. This is what family-focused dining should look like.", tag: "Family Advocate", avatarSrc: "http://img.b2bpic.net/free-photo/happy-mother-holding-kid-back_23-2148748676.jpg", avatarAlt: "Sarah Johnson", imageSrc: "http://img.b2bpic.net/free-photo/happy-mother-holding-kid-back_23-2148748676.jpg", imageAlt: "Sarah Johnson testimonial"
|
||||
},
|
||||
{
|
||||
id: "3", name: "Michael Chen, McDonald's Loyal Customer", date: "Date: 8 February 2025", title: "A Brand That Finally Gets It Right", quote: "Ten years of visits, and I've never been more impressed. The real-time tracking, the skip-the-line option during peak hours, and the transparency about freshness—this is how you treat loyal customers. McDonald's Luxury isn't just fast food; it's a lifestyle upgrade.", tag: "10+ Year Devotee", avatarSrc: "http://img.b2bpic.net/free-photo/bearded-man-holding-his-arms-crossed-christmas_23-2148737963.jpg", avatarAlt: "Michael Chen", imageSrc: "http://img.b2bpic.net/free-photo/bearded-man-holding-his-arms-crossed-christmas_23-2148737963.jpg?_wi=2", imageAlt: "Michael Chen testimonial"
|
||||
id: "3", name: "Michael Chen, McDonald's Loyal Customer", date: "Date: 8 February 2025", title: "A Brand That Finally Gets It Right", quote: "Ten years of visits, and I've never been more impressed. The real-time tracking, the skip-the-line option during peak hours, and the transparency about freshness—this is how you treat loyal customers. McDonald's Luxury isn't just fast food; it's a lifestyle upgrade.", tag: "10+ Year Devotee", avatarSrc: "http://img.b2bpic.net/free-photo/bearded-man-holding-his-arms-crossed-christmas_23-2148737963.jpg", avatarAlt: "Michael Chen", imageSrc: "http://img.b2bpic.net/free-photo/bearded-man-holding-his-arms-crossed-christmas_23-2148737963.jpg", imageAlt: "Michael Chen testimonial"
|
||||
},
|
||||
{
|
||||
id: "4", name: "Amanda Rodriguez, Marketing Executive", date: "Date: 12 February 2025", title: "Convenience Without Compromise", quote: "I'm impressed by how McDonald's Luxury doesn't sacrifice quality for speed. The mobile app is intuitive, orders are accurate, and the drive-thru experience is seamless. This is the future of fast food.", tag: "Tech Savvy Customer", avatarSrc: "http://img.b2bpic.net/free-photo/close-up-positive-businesswoman_1098-3531.jpg", avatarAlt: "Amanda Rodriguez", imageSrc: "http://img.b2bpic.net/free-photo/close-up-positive-businesswoman_1098-3531.jpg", imageAlt: "Amanda Rodriguez testimonial"
|
||||
@@ -259,7 +256,7 @@ export default function LandingPage() {
|
||||
{ text: "Download App", href: "https://apps.mcdonalds-luxury.com" }
|
||||
]}
|
||||
buttonAnimation="slide-up"
|
||||
background={{ variant: "diagonal-gradient" }}
|
||||
background={{ variant: "radial-gradient" }}
|
||||
useInvertedBackground={false}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -1,51 +1,27 @@
|
||||
"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);
|
||||
|
||||
export 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 200 50"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
className={className}
|
||||
>
|
||||
<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"
|
||||
}}
|
||||
y="35"
|
||||
fontSize="32"
|
||||
fontWeight="bold"
|
||||
fill="currentColor"
|
||||
dominantBaseline="middle"
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
|
||||
export default SvgTextLogo;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user