Merge version_1 into main #2
@@ -19,7 +19,7 @@ export default function LandingPage() {
|
||||
borderRadius="rounded"
|
||||
contentWidth="medium"
|
||||
sizing="largeSmallSizeMediumTitles"
|
||||
background="grid"
|
||||
background="circleGradient"
|
||||
cardStyle="outline"
|
||||
primaryButtonStyle="gradient"
|
||||
secondaryButtonStyle="solid"
|
||||
@@ -44,14 +44,14 @@ export default function LandingPage() {
|
||||
<HeroLogoBillboardSplit
|
||||
logoText="CLERO"
|
||||
description="Turn your website traffic into revenue. We design high-converting landing pages that transform visitors into leads and customers."
|
||||
background={{ variant: "grid" }}
|
||||
background={{ variant: "plain" }}
|
||||
buttons={[
|
||||
{ text: "Book a Strategy Call", href: "#contact-cta" },
|
||||
{ text: "View Work", href: "#testimonials" }
|
||||
]}
|
||||
buttonAnimation="slide-up"
|
||||
layoutOrder="default"
|
||||
imageSrc="http://img.b2bpic.net/free-vector/dashboard-template-user-panel_52683-31486.jpg?_wi=1"
|
||||
imageSrc="http://img.b2bpic.net/free-vector/dashboard-template-user-panel_52683-31486.jpg"
|
||||
imageAlt="Clero landing page conversion dashboard"
|
||||
mediaAnimation="slide-up"
|
||||
frameStyle="browser"
|
||||
@@ -83,15 +83,15 @@ export default function LandingPage() {
|
||||
features={[
|
||||
{
|
||||
id: 1,
|
||||
title: "High-Converting Landing Pages", description: "Purpose-built landing pages designed to turn visitors into qualified leads. Every element is optimized for conversion—from headline to CTA.", imageSrc: "http://img.b2bpic.net/free-photo/side-view-people-working-with-partitions_52683-101635.jpg?_wi=1", imageAlt: "High-converting landing page design"
|
||||
title: "High-Converting Landing Pages", description: "Purpose-built landing pages designed to turn visitors into qualified leads. Every element is optimized for conversion—from headline to CTA.", imageSrc: "http://img.b2bpic.net/free-photo/side-view-people-working-with-partitions_52683-101635.jpg", imageAlt: "High-converting landing page design"
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
title: "Website Design & Optimization", description: "Full website redesigns that combine stunning visuals with proven conversion principles. We make your site work as hard as your sales team.", imageSrc: "http://img.b2bpic.net/free-photo/side-view-people-working-with-partitions_52683-101635.jpg?_wi=2", imageAlt: "Website design and optimization"
|
||||
title: "Website Design & Optimization", description: "Full website redesigns that combine stunning visuals with proven conversion principles. We make your site work as hard as your sales team.", imageSrc: "http://img.b2bpic.net/free-photo/side-view-people-working-with-partitions_52683-101635.jpg", imageAlt: "Website design and optimization"
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
title: "Conversion Rate Optimization", description: "Data-backed improvements that increase your funnel efficiency. We test, analyze, and refine until results speak for themselves.", imageSrc: "http://img.b2bpic.net/free-vector/abstract-landing-page-with-tablet_23-2148115126.jpg?_wi=1", imageAlt: "Conversion optimization analytics"
|
||||
title: "Conversion Rate Optimization", description: "Data-backed improvements that increase your funnel efficiency. We test, analyze, and refine until results speak for themselves.", imageSrc: "http://img.b2bpic.net/free-vector/abstract-landing-page-with-tablet_23-2148115126.jpg", imageAlt: "Conversion optimization analytics"
|
||||
}
|
||||
]}
|
||||
textboxLayout="default"
|
||||
@@ -115,11 +115,11 @@ export default function LandingPage() {
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
title: "Design & Development", description: "Clean, modern design built for performance. Every pixel serves a purpose. Mobile-first, fast-loading, and built to convert.", imageSrc: "http://img.b2bpic.net/free-photo/side-view-people-working-with-partitions_52683-101635.jpg?_wi=3", imageAlt: "Design and development"
|
||||
title: "Design & Development", description: "Clean, modern design built for performance. Every pixel serves a purpose. Mobile-first, fast-loading, and built to convert.", imageSrc: "http://img.b2bpic.net/free-photo/side-view-people-working-with-partitions_52683-101635.jpg", imageAlt: "Design and development"
|
||||
},
|
||||
{
|
||||
id: 4,
|
||||
title: "Launch & Optimization", description: "We don't just launch—we monitor, test, and optimize. Your landing page keeps improving long after day one.", imageSrc: "http://img.b2bpic.net/free-vector/abstract-landing-page-with-tablet_23-2148115126.jpg?_wi=2", imageAlt: "Launch and continuous optimization"
|
||||
title: "Launch & Optimization", description: "We don't just launch—we monitor, test, and optimize. Your landing page keeps improving long after day one.", imageSrc: "http://img.b2bpic.net/free-vector/abstract-landing-page-with-tablet_23-2148115126.jpg", imageAlt: "Launch and continuous optimization"
|
||||
}
|
||||
]}
|
||||
textboxLayout="default"
|
||||
@@ -225,7 +225,7 @@ export default function LandingPage() {
|
||||
description="Book a 20-minute strategy call with our team. We'll analyze your current funnel, identify conversion gaps, and show you exactly how Clero can help."
|
||||
background={{ variant: "sparkles-gradient" }}
|
||||
useInvertedBackground={false}
|
||||
imageSrc="http://img.b2bpic.net/free-vector/dashboard-template-user-panel_52683-31486.jpg?_wi=2"
|
||||
imageSrc="http://img.b2bpic.net/free-vector/dashboard-template-user-panel_52683-31486.jpg"
|
||||
imageAlt="Clero strategy consultation"
|
||||
mediaAnimation="slide-up"
|
||||
mediaPosition="right"
|
||||
|
||||
@@ -1,51 +1,28 @@
|
||||
"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);
|
||||
|
||||
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"
|
||||
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="100"
|
||||
y="35"
|
||||
textAnchor="middle"
|
||||
dominantBaseline="auto"
|
||||
className="text-2xl font-bold fill-current"
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
};
|
||||
|
||||
export default SvgTextLogo;
|
||||
|
||||
Reference in New Issue
Block a user