Merge version_1 into main #1
@@ -21,7 +21,7 @@ export default function LandingPage() {
|
||||
borderRadius="soft"
|
||||
contentWidth="medium"
|
||||
sizing="mediumSizeLargeTitles"
|
||||
background="noiseDiagonalGradient"
|
||||
background="circleGradient"
|
||||
cardStyle="gradient-radial"
|
||||
primaryButtonStyle="flat"
|
||||
secondaryButtonStyle="glass"
|
||||
@@ -45,7 +45,7 @@ export default function LandingPage() {
|
||||
<HeroBillboard
|
||||
title="Bold Flavour Royal Quality"
|
||||
description="Prince Food delivers premium, handcrafted ingredients from Leicester with uncompromising attention to flavour and consistency. Trusted by businesses and discerning customers who refuse to compromise on taste."
|
||||
background={{ variant: "noiseDiagonalGradient" }}
|
||||
background={{ variant: "sparkles-gradient" }}
|
||||
tag="Leicester Heritage"
|
||||
tagIcon={Crown}
|
||||
tagAnimation="slide-up"
|
||||
@@ -140,12 +140,10 @@ export default function LandingPage() {
|
||||
useInvertedBackground={true}
|
||||
features={[
|
||||
{
|
||||
id: "1", title: "Uncompromising Quality Control", author: "Production Team", description: "Every batch undergoes rigorous testing and verification to ensure consistent excellence. We maintain laboratory-standard specifications that exceed industry requirements.", tags: ["Tested", "Verified", "Premium"],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/doctors-working-together-medical-research_23-2149345459.jpg", imageAlt: "Quality control testing at Prince Food facility"
|
||||
id: "1", title: "Uncompromising Quality Control", author: "Production Team", description: "Every batch undergoes rigorous testing and verification to ensure consistent excellence. We maintain laboratory-standard specifications that exceed industry requirements.", tags: ["Tested", "Verified", "Premium"], imageSrc: "http://img.b2bpic.net/free-photo/doctors-working-together-medical-research_23-2149345459.jpg", imageAlt: "Quality control testing at Prince Food facility"
|
||||
},
|
||||
{
|
||||
id: "2", title: "Ethical Ingredient Sourcing", author: "Procurement", description: "We partner with trusted suppliers who share our commitment to quality and sustainability. Every ingredient is selected for its purity, provenance, and contribution to bold flavour profiles.", tags: ["Ethical", "Sourced", "Sustainable"],
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/bowl-chickpeas-are-poured-with-salt-beer-setup_140725-1648.jpg", imageAlt: "Premium ingredient sourcing and supplier relationships"
|
||||
id: "2", title: "Ethical Ingredient Sourcing", author: "Procurement", description: "We partner with trusted suppliers who share our commitment to quality and sustainability. Every ingredient is selected for its purity, provenance, and contribution to bold flavour profiles.", tags: ["Ethical", "Sourced", "Sustainable"], imageSrc: "http://img.b2bpic.net/free-photo/bowl-chickpeas-are-poured-with-salt-beer-setup_140725-1648.jpg", imageAlt: "Premium ingredient sourcing and supplier relationships"
|
||||
}
|
||||
]}
|
||||
animationType="slide-up"
|
||||
@@ -182,20 +180,16 @@ export default function LandingPage() {
|
||||
showRating={true}
|
||||
testimonials={[
|
||||
{
|
||||
id: "1", name: "Chef Marcus Richardson", handle: "@michelin_kitchen", testimonial: "Prince Food ingredients are non-negotiable in our kitchen. The consistency and bold flavour profiles elevate every dish. Their commitment to quality matches our own exacting standards.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/happy-young-professional-posing-office_1262-21170.jpg", imageAlt: "Chef Marcus Richardson"
|
||||
id: "1", name: "Chef Marcus Richardson", handle: "@michelin_kitchen", testimonial: "Prince Food ingredients are non-negotiable in our kitchen. The consistency and bold flavour profiles elevate every dish. Their commitment to quality matches our own exacting standards.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/happy-young-professional-posing-office_1262-21170.jpg", imageAlt: "Chef Marcus Richardson"
|
||||
},
|
||||
{
|
||||
id: "2", name: "Sarah Whitmore", handle: "@premium_hospitality", testimonial: "As a hotel group procurement manager, I've evaluated countless suppliers. Prince Food stands out not just for their premium quality but their reliability and professionalism. They've become essential to our operations.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/happy-smiling-man-with-amulet-neck-is-posing-photographer-dark-photo-studio_613910-3849.jpg", imageAlt: "Sarah Whitmore"
|
||||
id: "2", name: "Sarah Whitmore", handle: "@premium_hospitality", testimonial: "As a hotel group procurement manager, I've evaluated countless suppliers. Prince Food stands out not just for their premium quality but their reliability and professionalism. They've become essential to our operations.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/happy-smiling-man-with-amulet-neck-is-posing-photographer-dark-photo-studio_613910-3849.jpg", imageAlt: "Sarah Whitmore"
|
||||
},
|
||||
{
|
||||
id: "3", name: "David Chen", handle: "@gourmet_retail", testimonial: "Our customers specifically request Prince Food ingredients. The handcrafted nature and authentic flavour are exactly what discerning food lovers are searching for. We wouldn't stock anything else.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/smiling-businessman-standing-airport-terminal_107420-85070.jpg", imageAlt: "David Chen"
|
||||
id: "3", name: "David Chen", handle: "@gourmet_retail", testimonial: "Our customers specifically request Prince Food ingredients. The handcrafted nature and authentic flavour are exactly what discerning food lovers are searching for. We wouldn't stock anything else.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/smiling-businessman-standing-airport-terminal_107420-85070.jpg", imageAlt: "David Chen"
|
||||
},
|
||||
{
|
||||
id: "4", name: "Emma Sutton", handle: "@elite_catering", testimonial: "Working with Prince Food has transformed our catering business. Their premium ingredients allow us to deliver exceptional experiences that keep clients coming back. The support and communication are outstanding.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-woman-smiling-kitchen_107420-12357.jpg", imageAlt: "Emma Sutton"
|
||||
id: "4", name: "Emma Sutton", handle: "@elite_catering", testimonial: "Working with Prince Food has transformed our catering business. Their premium ingredients allow us to deliver exceptional experiences that keep clients coming back. The support and communication are outstanding.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/portrait-woman-smiling-kitchen_107420-12357.jpg", imageAlt: "Emma Sutton"
|
||||
}
|
||||
]}
|
||||
animationType="slide-up"
|
||||
|
||||
@@ -1,51 +1,37 @@
|
||||
"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;
|
||||
fill?: 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 = "", fontSize = 24,
|
||||
fontWeight = "bold", 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.2}`}
|
||||
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"
|
||||
fontSize={fontSize}
|
||||
fontWeight={fontWeight}
|
||||
fill={fill}
|
||||
fontFamily="inherit"
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
};
|
||||
|
||||
export default SvgTextLogo;
|
||||
|
||||
Reference in New Issue
Block a user