Merge version_1 into main #2

Merged
bender merged 6 commits from version_1 into main 2026-03-11 22:35:04 +00:00
6 changed files with 102 additions and 288 deletions

View File

@@ -51,7 +51,7 @@ export default function AboutPage() {
{ text: "Visit Us Today", href: "tel:+213" },
{ text: "Learn More", href: "#why-la-rosa" },
]}
imageSrc="http://img.b2bpic.net/free-psd/instagram-posts-collection-elegant-fancy-restaurant_23-2150229106.jpg?_wi=6"
imageSrc="http://img.b2bpic.net/free-psd/instagram-posts-collection-elegant-fancy-restaurant_23-2150229106.jpg"
imageAlt="Cozy café interior at La Rosa"
mediaAnimation="opacity"
/>
@@ -67,23 +67,14 @@ export default function AboutPage() {
useInvertedBackground={false}
features={[
{
id: "1",
title: "Artisan Craftsmanship",
tags: ["Handmade", "Quality"],
imageSrc: "http://img.b2bpic.net/free-photo/close-up-fancy-dessert_23-2150527582.jpg?_wi=4",
},
id: "1", title: "Artisan Craftsmanship", tags: ["Handmade", "Quality"],
imageSrc: "http://img.b2bpic.net/free-photo/close-up-fancy-dessert_23-2150527582.jpg"},
{
id: "2",
title: "Community Connection",
tags: ["Local", "Family-Friendly"],
imageSrc: "http://img.b2bpic.net/free-psd/instagram-posts-collection-elegant-fancy-restaurant_23-2150229106.jpg?_wi=7",
},
id: "2", title: "Community Connection", tags: ["Local", "Family-Friendly"],
imageSrc: "http://img.b2bpic.net/free-psd/instagram-posts-collection-elegant-fancy-restaurant_23-2150229106.jpg"},
{
id: "3",
title: "Premium Ingredients",
tags: ["Sourced", "Fresh Daily"],
imageSrc: "http://img.b2bpic.net/free-photo/slice-vanilla-cheesecake-plate-against-rustic-brown-wood-table_114579-23.jpg?_wi=5",
},
id: "3", title: "Premium Ingredients", tags: ["Sourced", "Fresh Daily"],
imageSrc: "http://img.b2bpic.net/free-photo/slice-vanilla-cheesecake-plate-against-rustic-brown-wood-table_114579-23.jpg"},
]}
/>
</div>
@@ -99,29 +90,14 @@ export default function AboutPage() {
useInvertedBackground={false}
testimonials={[
{
id: "1",
name: "Amira Hassan",
role: "Student",
company: "University of Oran",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/stylish-cool-teenage-girl-with-no-make-up-pinkish-bob-hairdo-ring-her-nose-posing-indoors_343059-124.jpg?_wi=2",
},
id: "1", name: "Amira Hassan", role: "Student", company: "University of Oran", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/stylish-cool-teenage-girl-with-no-make-up-pinkish-bob-hairdo-ring-her-nose-posing-indoors_343059-124.jpg"},
{
id: "2",
name: "Karim Ben",
role: "Entrepreneur",
company: "Local Business Owner",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-young-man-with-smartphone_23-2147841133.jpg?_wi=2",
},
id: "2", name: "Karim Ben", role: "Entrepreneur", company: "Local Business Owner", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-young-man-with-smartphone_23-2147841133.jpg"},
{
id: "3",
name: "Leila Djamal",
role: "Marketing Manager",
company: "Tech Company Oran",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/confident-middle-aged-businesswoman_74855-1573.jpg?_wi=2",
},
id: "3", name: "Leila Djamal", role: "Marketing Manager", company: "Tech Company Oran", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/confident-middle-aged-businesswoman_74855-1573.jpg"},
]}
/>
</div>
@@ -133,19 +109,13 @@ export default function AboutPage() {
socialLinks={[
{
icon: Instagram,
href: "https://instagram.com/patisserieLaRosa",
ariaLabel: "Instagram",
},
href: "https://instagram.com/patisserieLaRosa", ariaLabel: "Instagram"},
{
icon: Facebook,
href: "https://facebook.com/patisserieLaRosa",
ariaLabel: "Facebook",
},
href: "https://facebook.com/patisserieLaRosa", ariaLabel: "Facebook"},
{
icon: MapPin,
href: "https://maps.google.com/?q=Boulevard+des+Lions+Bir+El+Djir+Oran",
ariaLabel: "Google Maps Location",
},
href: "https://maps.google.com/?q=Boulevard+des+Lions+Bir+El+Djir+Oran", ariaLabel: "Google Maps Location"},
]}
/>
</div>

View File

@@ -55,15 +55,11 @@ export default function ContactPage() {
tagIcon={Sparkles}
buttons={[
{
text: "Call Now: +213 XXXX XXXX",
href: "tel:+213",
},
text: "Call Now: +213 XXXX XXXX", href: "tel:+213"},
{
text: "Get Directions",
href: "https://maps.google.com/?q=Boulevard+des+Lions+Bir+El+Djir+Oran",
},
text: "Get Directions", href: "https://maps.google.com/?q=Boulevard+des+Lions+Bir+El+Djir+Oran"},
]}
imageSrc="http://img.b2bpic.net/free-photo/close-up-fancy-dessert_23-2150527582.jpg?_wi=5"
imageSrc="http://img.b2bpic.net/free-photo/close-up-fancy-dessert_23-2150527582.jpg"
imageAlt="Beautiful dessert display at La Rosa"
mediaAnimation="opacity"
/>
@@ -74,29 +70,17 @@ export default function ContactPage() {
<FeatureCardTwentyThree
features={[
{
id: "1",
title: "Prime Location on Boulevard des Lions",
tags: ["Easy Access", "Central"],
imageSrc: "http://img.b2bpic.net/free-psd/instagram-posts-collection-elegant-fancy-restaurant_23-2150229106.jpg?_wi=8",
},
id: "1", title: "Prime Location on Boulevard des Lions", tags: ["Easy Access", "Central"],
imageSrc: "http://img.b2bpic.net/free-psd/instagram-posts-collection-elegant-fancy-restaurant_23-2150229106.jpg"},
{
id: "2",
title: "Ample Parking & Street Access",
tags: ["Convenient", "Accessible"],
imageSrc: "http://img.b2bpic.net/free-psd/instagram-posts-collection-elegant-fancy-restaurant_23-2150229106.jpg?_wi=9",
},
id: "2", title: "Ample Parking & Street Access", tags: ["Convenient", "Accessible"],
imageSrc: "http://img.b2bpic.net/free-psd/instagram-posts-collection-elegant-fancy-restaurant_23-2150229106.jpg"},
{
id: "3",
title: "Open 9 AM 10 PM Daily",
tags: ["Hours", "Flexible"],
imageSrc: "http://img.b2bpic.net/free-psd/instagram-posts-collection-elegant-fancy-restaurant_23-2150229106.jpg?_wi=10",
},
id: "3", title: "Open 9 AM 10 PM Daily", tags: ["Hours", "Flexible"],
imageSrc: "http://img.b2bpic.net/free-psd/instagram-posts-collection-elegant-fancy-restaurant_23-2150229106.jpg"},
{
id: "4",
title: "Walk-Ins & Reservations Welcome",
tags: ["Bookings", "Walk-In"],
imageSrc: "http://img.b2bpic.net/free-psd/instagram-posts-collection-elegant-fancy-restaurant_23-2150229106.jpg?_wi=11",
},
id: "4", title: "Walk-Ins & Reservations Welcome", tags: ["Bookings", "Walk-In"],
imageSrc: "http://img.b2bpic.net/free-psd/instagram-posts-collection-elegant-fancy-restaurant_23-2150229106.jpg"},
]}
animationType="slide-up"
title="Why Visit La Rosa?"
@@ -129,19 +113,13 @@ export default function ContactPage() {
socialLinks={[
{
icon: Instagram,
href: "https://instagram.com/patisserieLaRosa",
ariaLabel: "Instagram",
},
href: "https://instagram.com/patisserieLaRosa", ariaLabel: "Instagram"},
{
icon: Facebook,
href: "https://facebook.com/patisserieLaRosa",
ariaLabel: "Facebook",
},
href: "https://facebook.com/patisserieLaRosa", ariaLabel: "Facebook"},
{
icon: MapPin,
href: "https://maps.google.com/?q=Boulevard+des+Lions+Bir+El+Djir+Oran",
ariaLabel: "Google Maps Location",
},
href: "https://maps.google.com/?q=Boulevard+des+Lions+Bir+El+Djir+Oran", ariaLabel: "Google Maps Location"},
]}
/>
</div>

View File

@@ -52,7 +52,7 @@ export default function CustomCakesPage() {
{ text: "Request Quote", href: "tel:+213" },
{ text: "Start Design", href: "#featured-desserts" },
]}
imageSrc="http://img.b2bpic.net/free-photo/close-up-fancy-dessert_23-2150527582.jpg?_wi=2"
imageSrc="http://img.b2bpic.net/free-photo/close-up-fancy-dessert_23-2150527582.jpg"
imageAlt="Beautiful custom cake display"
mediaAnimation="opacity"
/>
@@ -70,28 +70,13 @@ export default function CustomCakesPage() {
animationType="slide-up"
products={[
{
id: "1",
name: "Lotus Cheesecake Base",
price: "1,500 DA",
imageSrc: "http://img.b2bpic.net/free-photo/slice-vanilla-cheesecake-plate-against-rustic-brown-wood-table_114579-23.jpg?_wi=4",
imageAlt: "Lotus Biscoff Cheesecake Base",
initialQuantity: 1,
id: "1", name: "Lotus Cheesecake Base", price: "1,500 DA", imageSrc: "http://img.b2bpic.net/free-photo/slice-vanilla-cheesecake-plate-against-rustic-brown-wood-table_114579-23.jpg", imageAlt: "Lotus Biscoff Cheesecake Base", initialQuantity: 1,
},
{
id: "2",
name: "Dark Chocolate Foundation",
price: "1,200 DA",
imageSrc: "http://img.b2bpic.net/free-photo/slice-cake-with-orange-slices-marmalades-black-plate-high-quality-photo_114579-78039.jpg?_wi=4",
imageAlt: "Rich Dark Chocolate Layer Foundation",
initialQuantity: 1,
id: "2", name: "Dark Chocolate Foundation", price: "1,200 DA", imageSrc: "http://img.b2bpic.net/free-photo/slice-cake-with-orange-slices-marmalades-black-plate-high-quality-photo_114579-78039.jpg", imageAlt: "Rich Dark Chocolate Layer Foundation", initialQuantity: 1,
},
{
id: "3",
name: "Strawberry Sponge Layer",
price: "1,000 DA",
imageSrc: "http://img.b2bpic.net/free-photo/top-close-up-view-cakes-appetizing-cake-strawberries-pomegranate-lemon-bowls-berries-cookies-table_140725-123555.jpg?_wi=4",
imageAlt: "Fresh Strawberry Sponge Layer",
initialQuantity: 1,
id: "3", name: "Strawberry Sponge Layer", price: "1,000 DA", imageSrc: "http://img.b2bpic.net/free-photo/top-close-up-view-cakes-appetizing-cake-strawberries-pomegranate-lemon-bowls-berries-cookies-table_140725-123555.jpg", imageAlt: "Fresh Strawberry Sponge Layer", initialQuantity: 1,
},
]}
/>
@@ -107,29 +92,17 @@ export default function CustomCakesPage() {
useInvertedBackground={false}
features={[
{
id: "1",
title: "Expert Cake Designers",
tags: ["Skilled", "Creative"],
imageSrc: "http://img.b2bpic.net/free-psd/instagram-posts-collection-elegant-fancy-restaurant_23-2150229106.jpg?_wi=4",
},
id: "1", title: "Expert Cake Designers", tags: ["Skilled", "Creative"],
imageSrc: "http://img.b2bpic.net/free-psd/instagram-posts-collection-elegant-fancy-restaurant_23-2150229106.jpg"},
{
id: "2",
title: "Premium Custom Flavors",
tags: ["Gourmet", "Personalized"],
imageSrc: "http://img.b2bpic.net/free-photo/close-up-fancy-dessert_23-2150527582.jpg?_wi=3",
},
id: "2", title: "Premium Custom Flavors", tags: ["Gourmet", "Personalized"],
imageSrc: "http://img.b2bpic.net/free-photo/close-up-fancy-dessert_23-2150527582.jpg"},
{
id: "3",
title: "Fast Turnaround",
tags: ["48 Hours", "Reliable"],
imageSrc: "http://img.b2bpic.net/free-psd/instagram-posts-collection-elegant-fancy-restaurant_23-2150229106.jpg?_wi=5",
},
id: "3", title: "Fast Turnaround", tags: ["48 Hours", "Reliable"],
imageSrc: "http://img.b2bpic.net/free-psd/instagram-posts-collection-elegant-fancy-restaurant_23-2150229106.jpg"},
{
id: "4",
title: "Artistic Presentation",
tags: ["Instagram-Ready", "Elegant"],
imageSrc: "http://img.b2bpic.net/free-photo/hand-holding-hot-coffee-cup_1150-10432.jpg?_wi=5",
},
id: "4", title: "Artistic Presentation", tags: ["Instagram-Ready", "Elegant"],
imageSrc: "http://img.b2bpic.net/free-photo/hand-holding-hot-coffee-cup_1150-10432.jpg"},
]}
/>
</div>
@@ -155,19 +128,13 @@ export default function CustomCakesPage() {
socialLinks={[
{
icon: Instagram,
href: "https://instagram.com/patisserieLaRosa",
ariaLabel: "Instagram",
},
href: "https://instagram.com/patisserieLaRosa", ariaLabel: "Instagram"},
{
icon: Facebook,
href: "https://facebook.com/patisserieLaRosa",
ariaLabel: "Facebook",
},
href: "https://facebook.com/patisserieLaRosa", ariaLabel: "Facebook"},
{
icon: MapPin,
href: "https://maps.google.com/?q=Boulevard+des+Lions+Bir+El+Djir+Oran",
ariaLabel: "Google Maps Location",
},
href: "https://maps.google.com/?q=Boulevard+des+Lions+Bir+El+Djir+Oran", ariaLabel: "Google Maps Location"},
]}
/>
</div>

View File

@@ -39,28 +39,13 @@ export default function MenuPage() {
<ProductCardThree
products={[
{
id: "1",
name: "Lotus Cheesecake",
price: "1,500 DA",
imageSrc: "http://img.b2bpic.net/free-photo/slice-vanilla-cheesecake-plate-against-rustic-brown-wood-table_114579-23.jpg?_wi=2",
imageAlt: "Lotus Biscoff Cheesecake - signature dessert",
initialQuantity: 1
id: "1", name: "Lotus Cheesecake", price: "1,500 DA", imageSrc: "http://img.b2bpic.net/free-photo/slice-vanilla-cheesecake-plate-against-rustic-brown-wood-table_114579-23.jpg", imageAlt: "Lotus Biscoff Cheesecake - signature dessert", initialQuantity: 1
},
{
id: "2",
name: "Dark Chocolate Cake",
price: "1,200 DA",
imageSrc: "http://img.b2bpic.net/free-photo/slice-cake-with-orange-slices-marmalades-black-plate-high-quality-photo_114579-78039.jpg?_wi=2",
imageAlt: "Rich Dark Chocolate Layer Cake",
initialQuantity: 1
id: "2", name: "Dark Chocolate Cake", price: "1,200 DA", imageSrc: "http://img.b2bpic.net/free-photo/slice-cake-with-orange-slices-marmalades-black-plate-high-quality-photo_114579-78039.jpg", imageAlt: "Rich Dark Chocolate Layer Cake", initialQuantity: 1
},
{
id: "3",
name: "Strawberry Tart",
price: "1,000 DA",
imageSrc: "http://img.b2bpic.net/free-photo/top-close-up-view-cakes-appetizing-cake-strawberries-pomegranate-lemon-bowls-berries-cookies-table_140725-123555.jpg?_wi=2",
imageAlt: "Fresh Strawberry Pastry Tart",
initialQuantity: 1
id: "3", name: "Strawberry Tart", price: "1,000 DA", imageSrc: "http://img.b2bpic.net/free-photo/top-close-up-view-cakes-appetizing-cake-strawberries-pomegranate-lemon-bowls-berries-cookies-table_140725-123555.jpg", imageAlt: "Fresh Strawberry Pastry Tart", initialQuantity: 1
}
]}
title="Our Dessert Collection"
@@ -79,28 +64,13 @@ export default function MenuPage() {
<ProductCardThree
products={[
{
id: "4",
name: "Specialty Espresso",
price: "300 DA",
imageSrc: "http://img.b2bpic.net/free-photo/hand-holding-hot-coffee-cup_1150-10432.jpg?_wi=2",
imageAlt: "Rich specialty espresso drink",
initialQuantity: 1
id: "4", name: "Specialty Espresso", price: "300 DA", imageSrc: "http://img.b2bpic.net/free-photo/hand-holding-hot-coffee-cup_1150-10432.jpg", imageAlt: "Rich specialty espresso drink", initialQuantity: 1
},
{
id: "5",
name: "Creamy Cappuccino",
price: "400 DA",
imageSrc: "http://img.b2bpic.net/free-photo/hand-holding-hot-coffee-cup_1150-10432.jpg?_wi=3",
imageAlt: "Smooth cappuccino with latte art",
initialQuantity: 1
id: "5", name: "Creamy Cappuccino", price: "400 DA", imageSrc: "http://img.b2bpic.net/free-photo/hand-holding-hot-coffee-cup_1150-10432.jpg", imageAlt: "Smooth cappuccino with latte art", initialQuantity: 1
},
{
id: "6",
name: "Vanilla Latte",
price: "380 DA",
imageSrc: "http://img.b2bpic.net/free-photo/hand-holding-hot-coffee-cup_1150-10432.jpg?_wi=4",
imageAlt: "Silky vanilla latte",
initialQuantity: 1
id: "6", name: "Vanilla Latte", price: "380 DA", imageSrc: "http://img.b2bpic.net/free-photo/hand-holding-hot-coffee-cup_1150-10432.jpg", imageAlt: "Silky vanilla latte", initialQuantity: 1
}
]}
title="Premium Beverages"
@@ -119,28 +89,13 @@ export default function MenuPage() {
<ProductCardThree
products={[
{
id: "7",
name: "Pistachio Dream",
price: "1,350 DA",
imageSrc: "http://img.b2bpic.net/free-photo/slice-vanilla-cheesecake-plate-against-rustic-brown-wood-table_114579-23.jpg?_wi=3",
imageAlt: "Elegant pistachio dessert with green layers",
initialQuantity: 1
id: "7", name: "Pistachio Dream", price: "1,350 DA", imageSrc: "http://img.b2bpic.net/free-photo/slice-vanilla-cheesecake-plate-against-rustic-brown-wood-table_114579-23.jpg", imageAlt: "Elegant pistachio dessert with green layers", initialQuantity: 1
},
{
id: "8",
name: "Matcha Infusion",
price: "1,100 DA",
imageSrc: "http://img.b2bpic.net/free-photo/top-close-up-view-cakes-appetizing-cake-strawberries-pomegranate-lemon-bowls-berries-cookies-table_140725-123555.jpg?_wi=3",
imageAlt: "Vibrant matcha-inspired dessert",
initialQuantity: 1
id: "8", name: "Matcha Infusion", price: "1,100 DA", imageSrc: "http://img.b2bpic.net/free-photo/top-close-up-view-cakes-appetizing-cake-strawberries-pomegranate-lemon-bowls-berries-cookies-table_140725-123555.jpg", imageAlt: "Vibrant matcha-inspired dessert", initialQuantity: 1
},
{
id: "9",
name: "Salted Caramel Bliss",
price: "1,200 DA",
imageSrc: "http://img.b2bpic.net/free-photo/slice-cake-with-orange-slices-marmalades-black-plate-high-quality-photo_114579-78039.jpg?_wi=3",
imageAlt: "Decadent salted caramel delicacy",
initialQuantity: 1
id: "9", name: "Salted Caramel Bliss", price: "1,200 DA", imageSrc: "http://img.b2bpic.net/free-photo/slice-cake-with-orange-slices-marmalades-black-plate-high-quality-photo_114579-78039.jpg", imageAlt: "Decadent salted caramel delicacy", initialQuantity: 1
}
]}
title="Seasonal Specialties"

View File

@@ -56,7 +56,7 @@ export default function HomePage() {
{ text: "Call Now: +213 XXXX XXXX", href: "tel:+213" },
{ text: "Reserve Table", href: "#contact" }
]}
imageSrc="http://img.b2bpic.net/free-photo/close-up-fancy-dessert_23-2150527582.jpg?_wi=1"
imageSrc="http://img.b2bpic.net/free-photo/close-up-fancy-dessert_23-2150527582.jpg"
imageAlt="Beautiful dessert display at La Rosa"
mediaAnimation="opacity"
/>
@@ -67,28 +67,13 @@ export default function HomePage() {
<ProductCardThree
products={[
{
id: "1",
name: "Lotus Cheesecake",
price: "1,500 DA",
imageSrc: "http://img.b2bpic.net/free-photo/slice-vanilla-cheesecake-plate-against-rustic-brown-wood-table_114579-23.jpg?_wi=1",
imageAlt: "Lotus Biscoff Cheesecake - signature dessert",
initialQuantity: 1
id: "1", name: "Lotus Cheesecake", price: "1,500 DA", imageSrc: "http://img.b2bpic.net/free-photo/slice-vanilla-cheesecake-plate-against-rustic-brown-wood-table_114579-23.jpg", imageAlt: "Lotus Biscoff Cheesecake - signature dessert", initialQuantity: 1
},
{
id: "2",
name: "Dark Chocolate Cake",
price: "1,200 DA",
imageSrc: "http://img.b2bpic.net/free-photo/slice-cake-with-orange-slices-marmalades-black-plate-high-quality-photo_114579-78039.jpg?_wi=1",
imageAlt: "Rich Dark Chocolate Layer Cake",
initialQuantity: 1
id: "2", name: "Dark Chocolate Cake", price: "1,200 DA", imageSrc: "http://img.b2bpic.net/free-photo/slice-cake-with-orange-slices-marmalades-black-plate-high-quality-photo_114579-78039.jpg", imageAlt: "Rich Dark Chocolate Layer Cake", initialQuantity: 1
},
{
id: "3",
name: "Strawberry Tart",
price: "1,000 DA",
imageSrc: "http://img.b2bpic.net/free-photo/top-close-up-view-cakes-appetizing-cake-strawberries-pomegranate-lemon-bowls-berries-cookies-table_140725-123555.jpg?_wi=1",
imageAlt: "Fresh Strawberry Pastry Tart",
initialQuantity: 1
id: "3", name: "Strawberry Tart", price: "1,000 DA", imageSrc: "http://img.b2bpic.net/free-photo/top-close-up-view-cakes-appetizing-cake-strawberries-pomegranate-lemon-bowls-berries-cookies-table_140725-123555.jpg", imageAlt: "Fresh Strawberry Pastry Tart", initialQuantity: 1
}
]}
title="Featured Desserts & Specialties"
@@ -107,28 +92,20 @@ export default function HomePage() {
<FeatureCardTwentyThree
features={[
{
id: "1",
title: "Fresh Daily Desserts",
tags: ["Quality", "Handmade"],
imageSrc: "http://img.b2bpic.net/free-psd/instagram-posts-collection-elegant-fancy-restaurant_23-2150229106.jpg?_wi=1"
id: "1", title: "Fresh Daily Desserts", tags: ["Quality", "Handmade"],
imageSrc: "http://img.b2bpic.net/free-psd/instagram-posts-collection-elegant-fancy-restaurant_23-2150229106.jpg"
},
{
id: "2",
title: "Cozy Café Atmosphere",
tags: ["Instagram-Ready", "Social"],
imageSrc: "http://img.b2bpic.net/free-psd/instagram-posts-collection-elegant-fancy-restaurant_23-2150229106.jpg?_wi=2"
id: "2", title: "Cozy Café Atmosphere", tags: ["Instagram-Ready", "Social"],
imageSrc: "http://img.b2bpic.net/free-psd/instagram-posts-collection-elegant-fancy-restaurant_23-2150229106.jpg"
},
{
id: "3",
title: "Affordable Premium Prices",
tags: ["Value", "Luxury"],
imageSrc: "http://img.b2bpic.net/free-photo/hand-holding-hot-coffee-cup_1150-10432.jpg?_wi=1"
id: "3", title: "Affordable Premium Prices", tags: ["Value", "Luxury"],
imageSrc: "http://img.b2bpic.net/free-photo/hand-holding-hot-coffee-cup_1150-10432.jpg"
},
{
id: "4",
title: "Perfect for Friends & Couples",
tags: ["Social", "Romantic"],
imageSrc: "http://img.b2bpic.net/free-psd/instagram-posts-collection-elegant-fancy-restaurant_23-2150229106.jpg?_wi=3"
id: "4", title: "Perfect for Friends & Couples", tags: ["Social", "Romantic"],
imageSrc: "http://img.b2bpic.net/free-psd/instagram-posts-collection-elegant-fancy-restaurant_23-2150229106.jpg"
}
]}
animationType="slide-up"
@@ -145,51 +122,27 @@ export default function HomePage() {
<TestimonialCardOne
testimonials={[
{
id: "1",
name: "Amira Hassan",
role: "Student",
company: "University of Oran",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/stylish-cool-teenage-girl-with-no-make-up-pinkish-bob-hairdo-ring-her-nose-posing-indoors_343059-124.jpg?_wi=1"
id: "1", name: "Amira Hassan", role: "Student", company: "University of Oran", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/stylish-cool-teenage-girl-with-no-make-up-pinkish-bob-hairdo-ring-her-nose-posing-indoors_343059-124.jpg"
},
{
id: "2",
name: "Karim Ben",
role: "Entrepreneur",
company: "Local Business Owner",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-young-man-with-smartphone_23-2147841133.jpg?_wi=1"
id: "2", name: "Karim Ben", role: "Entrepreneur", company: "Local Business Owner", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-young-man-with-smartphone_23-2147841133.jpg"
},
{
id: "3",
name: "Leila Djamal",
role: "Marketing Manager",
company: "Tech Company Oran",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/confident-middle-aged-businesswoman_74855-1573.jpg?_wi=1"
id: "3", name: "Leila Djamal", role: "Marketing Manager", company: "Tech Company Oran", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/confident-middle-aged-businesswoman_74855-1573.jpg"
},
{
id: "4",
name: "Youssef & Nadia",
role: "Couple",
company: "Regular Visitors",
rating: 5,
id: "4", name: "Youssef & Nadia", role: "Couple", company: "Regular Visitors", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-happy-interracial-couple_23-2148240687.jpg"
},
{
id: "5",
name: "Fatima Al-Rashid",
role: "Event Planner",
company: "Celebrations Organizer",
rating: 5,
id: "5", name: "Fatima Al-Rashid", role: "Event Planner", company: "Celebrations Organizer", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/long-haired-girl-outdoor_1398-97.jpg"
},
{
id: "6",
name: "Mohamed Benali",
role: "Coffee Enthusiast",
company: "Café Regular",
rating: 5,
id: "6", name: "Mohamed Benali", role: "Coffee Enthusiast", company: "Café Regular", rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/side-view-young-man-holding-purple-flower_23-2149539646.jpg"
}
]}

View File

@@ -1,51 +1,42 @@
"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;
fontSize?: number;
fontWeight?: number | string;
letterSpacing?: number;
fill?: 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 = '',
fontSize = 24,
fontWeight = 700,
letterSpacing = 0,
fill = '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 ${text.length * fontSize * 0.6} ${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"
}}
y={fontSize}
fontSize={fontSize}
fontWeight={fontWeight}
letterSpacing={letterSpacing}
fill={fill}
fontFamily="inherit"
dominantBaseline="middle"
>
{logoText}
{text}
</text>
</svg>
);
});
};
SvgTextLogo.displayName = "SvgTextLogo";
export default SvgTextLogo;
export default SvgTextLogo;