Merge version_1 into main #2
@@ -18,7 +18,7 @@ export default function LandingPage() {
|
||||
borderRadius="pill"
|
||||
contentWidth="compact"
|
||||
sizing="mediumLargeSizeLargeTitles"
|
||||
background="fluid"
|
||||
background="circleGradient"
|
||||
cardStyle="layered-gradient"
|
||||
primaryButtonStyle="diagonal-gradient"
|
||||
secondaryButtonStyle="layered"
|
||||
@@ -46,8 +46,8 @@ export default function LandingPage() {
|
||||
{ text: "Explore the Menu", href: "#menu" }
|
||||
]}
|
||||
buttonAnimation="slide-up"
|
||||
background={{ variant: "fluid" }}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/hot-green-tea-glass-with-cream-topped-with-green-tea-decorated-with-green-tea-powder_1150-23333.jpg?_wi=1"
|
||||
background={{ variant: "sparkles-gradient" }}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/hot-green-tea-glass-with-cream-topped-with-green-tea-decorated-with-green-tea-powder_1150-23333.jpg"
|
||||
imageAlt="Premium pistachio matcha drink showcase"
|
||||
mediaAnimation="blur-reveal"
|
||||
frameStyle="card"
|
||||
@@ -80,11 +80,11 @@ export default function LandingPage() {
|
||||
features={[
|
||||
{
|
||||
id: 1,
|
||||
title: "Signature Matcha Craft", description: "Known for standout drinks like the pistachio matcha, strawberry matcha, and matcha einspanner—layered, flavorful, and never overly sweet.", imageSrc: "http://img.b2bpic.net/free-photo/hot-green-tea-glass-with-cream-topped-with-green-tea-decorated-with-green-tea-powder_1150-23324.jpg?_wi=1", imageAlt: "Signature pistachio matcha drink detail"
|
||||
title: "Signature Matcha Craft", description: "Known for standout drinks like the pistachio matcha, strawberry matcha, and matcha einspanner—layered, flavorful, and never overly sweet.", imageSrc: "http://img.b2bpic.net/free-photo/hot-green-tea-glass-with-cream-topped-with-green-tea-decorated-with-green-tea-powder_1150-23324.jpg", imageAlt: "Signature pistachio matcha drink detail"
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
title: "Premium That Feels Worth It", description: "Guests note the pricing is elevated, but the quality, ingredient standards, and generous pours make the experience feel intentional and special.", imageSrc: "http://img.b2bpic.net/free-photo/hot-green-tea-glass-with-cream-topped-with-green-tea-decorated-with-green-tea-powder_1150-23338.jpg?_wi=1", imageAlt: "Premium matcha einspanner specialty drink"
|
||||
title: "Premium That Feels Worth It", description: "Guests note the pricing is elevated, but the quality, ingredient standards, and generous pours make the experience feel intentional and special.", imageSrc: "http://img.b2bpic.net/free-photo/hot-green-tea-glass-with-cream-topped-with-green-tea-decorated-with-green-tea-powder_1150-23338.jpg", imageAlt: "Premium matcha einspanner specialty drink"
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
@@ -106,13 +106,13 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
products={[
|
||||
{
|
||||
id: "pistachio-matcha", name: "Pistachio Matcha", price: "$8.50", variant: "Cult favorite · Signature drink", imageSrc: "http://img.b2bpic.net/free-photo/hot-green-tea-glass-with-cream-topped-with-green-tea-decorated-with-green-tea-powder_1150-23324.jpg?_wi=2", imageAlt: "Pistachio matcha specialty drink"
|
||||
id: "pistachio-matcha", name: "Pistachio Matcha", price: "$8.50", variant: "Cult favorite · Signature drink", imageSrc: "http://img.b2bpic.net/free-photo/hot-green-tea-glass-with-cream-topped-with-green-tea-decorated-with-green-tea-powder_1150-23324.jpg", imageAlt: "Pistachio matcha specialty drink"
|
||||
},
|
||||
{
|
||||
id: "matcha-einspanner", name: "Matcha Einspanner", price: "$9.00", variant: "Rich & creamy · Layered perfection", imageSrc: "http://img.b2bpic.net/free-photo/hot-green-tea-glass-with-cream-topped-with-green-tea-decorated-with-green-tea-powder_1150-23338.jpg?_wi=2", imageAlt: "Matcha einspanner with whipped cream"
|
||||
id: "matcha-einspanner", name: "Matcha Einspanner", price: "$9.00", variant: "Rich & creamy · Layered perfection", imageSrc: "http://img.b2bpic.net/free-photo/hot-green-tea-glass-with-cream-topped-with-green-tea-decorated-with-green-tea-powder_1150-23338.jpg", imageAlt: "Matcha einspanner with whipped cream"
|
||||
},
|
||||
{
|
||||
id: "strawberry-matcha", name: "Strawberry Matcha", price: "$8.75", variant: "Seasonal · Refreshing blend", imageSrc: "http://img.b2bpic.net/free-photo/hot-green-tea-glass-with-cream-topped-with-green-tea-decorated-with-green-tea-powder_1150-23333.jpg?_wi=2", imageAlt: "Strawberry matcha beverage"
|
||||
id: "strawberry-matcha", name: "Strawberry Matcha", price: "$8.75", variant: "Seasonal · Refreshing blend", imageSrc: "http://img.b2bpic.net/free-photo/hot-green-tea-glass-with-cream-topped-with-green-tea-decorated-with-green-tea-powder_1150-23333.jpg", imageAlt: "Strawberry matcha beverage"
|
||||
},
|
||||
{
|
||||
id: "caramel-latte", name: "Caramel Latte", price: "$7.50", variant: "Classic · Premium espresso", imageSrc: "http://img.b2bpic.net/free-photo/white-ceramic-mug-with-coffee_209848-35.jpg", imageAlt: "Caramel latte coffee"
|
||||
@@ -132,10 +132,10 @@ export default function LandingPage() {
|
||||
animationType="slide-up"
|
||||
testimonials={[
|
||||
{
|
||||
id: "1", name: "Customer Favorite", handle: "@reCoffeeLover", testimonial: "The pistachio matcha is a must. Generous, beautifully made, and one of the drinks people go out of their way to come back for.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-happy-young-businessman-looking-camera_23-2147839978.jpg?_wi=1", imageAlt: "Customer testimonial avatar"
|
||||
id: "1", name: "Customer Favorite", handle: "@reCoffeeLover", testimonial: "The pistachio matcha is a must. Generous, beautifully made, and one of the drinks people go out of their way to come back for.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-happy-young-businessman-looking-camera_23-2147839978.jpg", imageAlt: "Customer testimonial avatar"
|
||||
},
|
||||
{
|
||||
id: "2", name: "Matcha Enthusiast", handle: "@matchaAddict", testimonial: "The matcha einspanner is rich, thick, smooth, and deeply satisfying—the kind of drink that turns first-time visitors into regulars.", imageSrc: "http://img.b2bpic.net/free-photo/thoughtful-business-woman-white-shirt_23-2148095747.jpg?_wi=1", imageAlt: "Matcha lover testimonial"
|
||||
id: "2", name: "Matcha Enthusiast", handle: "@matchaAddict", testimonial: "The matcha einspanner is rich, thick, smooth, and deeply satisfying—the kind of drink that turns first-time visitors into regulars.", imageSrc: "http://img.b2bpic.net/free-photo/thoughtful-business-woman-white-shirt_23-2148095747.jpg", imageAlt: "Matcha lover testimonial"
|
||||
},
|
||||
{
|
||||
id: "3", name: "Design Conscious", handle: "@designMinded", testimonial: "Customers consistently praise the quality, the creativity, and the kind staff behind the counter. Every detail feels intentional.", imageSrc: "http://img.b2bpic.net/free-photo/front-view-business-woman-suit_23-2148603018.jpg", imageAlt: "Design-focused customer testimonial"
|
||||
@@ -144,10 +144,10 @@ export default function LandingPage() {
|
||||
id: "4", name: "Community Regular", handle: "@localLove", testimonial: "RE: COFFEE feels like a destination where hospitality and exceptional craft come together. A place I genuinely want to return to.", imageSrc: "http://img.b2bpic.net/free-photo/cheerful-middle-aged-businesswoman_1262-21005.jpg", imageAlt: "Community regular testimonial"
|
||||
},
|
||||
{
|
||||
id: "5", name: "Premium Seeker", handle: "@coffeeConnoisseur", testimonial: "The attention to detail in every drink preparation is remarkable. Premium ingredients, generous portions, and genuine care in the service.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-happy-young-businessman-looking-camera_23-2147839978.jpg?_wi=2", imageAlt: "Premium coffee connoisseur testimonial"
|
||||
id: "5", name: "Premium Seeker", handle: "@coffeeConnoisseur", testimonial: "The attention to detail in every drink preparation is remarkable. Premium ingredients, generous portions, and genuine care in the service.", imageSrc: "http://img.b2bpic.net/free-photo/portrait-happy-young-businessman-looking-camera_23-2147839978.jpg", imageAlt: "Premium coffee connoisseur testimonial"
|
||||
},
|
||||
{
|
||||
id: "6", name: "Social Enthusiast", handle: "@cafeAdventurer", testimonial: "A buzzy, current atmosphere where you can feel the energy. The kind of place that becomes a favorite meeting spot immediately.", imageSrc: "http://img.b2bpic.net/free-photo/thoughtful-business-woman-white-shirt_23-2148095747.jpg?_wi=2", imageAlt: "Social atmosphere testimonial"
|
||||
id: "6", name: "Social Enthusiast", handle: "@cafeAdventurer", testimonial: "A buzzy, current atmosphere where you can feel the energy. The kind of place that becomes a favorite meeting spot immediately.", imageSrc: "http://img.b2bpic.net/free-photo/thoughtful-business-woman-white-shirt_23-2148095747.jpg", imageAlt: "Social atmosphere testimonial"
|
||||
}
|
||||
]}
|
||||
ariaLabel="Customer testimonials and reviews"
|
||||
|
||||
@@ -1,51 +1,36 @@
|
||||
"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;
|
||||
fillColor?: 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 = '',
|
||||
fillColor = 'currentColor',
|
||||
}) => {
|
||||
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 800 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%"
|
||||
textAnchor="middle"
|
||||
dominantBaseline="middle"
|
||||
fill={fillColor}
|
||||
fontSize="72"
|
||||
fontWeight="bold"
|
||||
fontFamily="system-ui, -apple-system, sans-serif"
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
};
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
|
||||
export default SvgTextLogo;
|
||||
export default SvgTextLogo;
|
||||
Reference in New Issue
Block a user