Merge version_1 into main #2
@@ -20,7 +20,7 @@ export default function LandingPage() {
|
||||
borderRadius="soft"
|
||||
contentWidth="small"
|
||||
sizing="largeSmallSizeMediumTitles"
|
||||
background="noiseDiagonalGradient"
|
||||
background="circleGradient"
|
||||
cardStyle="outline"
|
||||
primaryButtonStyle="double-inset"
|
||||
secondaryButtonStyle="layered"
|
||||
@@ -46,14 +46,14 @@ export default function LandingPage() {
|
||||
description="Choose from expertly designed templates, get AI-powered suggestions, and download your perfect resume. Designed for students entering the job market."
|
||||
tag="Free for Students"
|
||||
tagIcon={Sparkles}
|
||||
background={{ variant: "noiseDiagonalGradient" }}
|
||||
background={{ variant: "plain" }}
|
||||
buttons={[
|
||||
{ text: "Start Building", href: "contact" },
|
||||
{ text: "View Templates", href: "features" }
|
||||
]}
|
||||
mediaItems={[
|
||||
{ imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=rjf7ip&_wi=1", imageAlt: "resume builder dashboard interface modern" },
|
||||
{ imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=2djrcz&_wi=1", imageAlt: "professional resume template design" },
|
||||
{ imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=rjf7ip", imageAlt: "resume builder dashboard interface modern" },
|
||||
{ imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=2djrcz", imageAlt: "professional resume template design" },
|
||||
{ imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=gv4nt9", imageAlt: "modern cv template colorful" }
|
||||
]}
|
||||
mediaAnimation="slide-up"
|
||||
@@ -71,11 +71,11 @@ export default function LandingPage() {
|
||||
features={[
|
||||
{
|
||||
id: 1,
|
||||
title: "Professional Templates", description: "Handpicked resume designs trusted by recruiters. Clean, modern layouts that make your qualifications shine.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=2djrcz&_wi=2", imageAlt: "Professional template showcase"
|
||||
title: "Professional Templates", description: "Handpicked resume designs trusted by recruiters. Clean, modern layouts that make your qualifications shine.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=2djrcz", imageAlt: "Professional template showcase"
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
title: "Download PDF", description: "Export your resume instantly as a polished PDF. Share with employers or print for in-person interviews.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=kpqzhx&_wi=1", imageAlt: "PDF download feature"
|
||||
title: "Download PDF", description: "Export your resume instantly as a polished PDF. Share with employers or print for in-person interviews.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=kpqzhx", imageAlt: "PDF download feature"
|
||||
},
|
||||
{
|
||||
id: 3,
|
||||
@@ -83,7 +83,7 @@ export default function LandingPage() {
|
||||
},
|
||||
{
|
||||
id: 4,
|
||||
title: "Save & Edit Anytime", description: "Your resume is always saved. Come back anytime to update your skills, experience, or switch templates.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=rjf7ip&_wi=2", imageAlt: "Resume editor interface"
|
||||
title: "Save & Edit Anytime", description: "Your resume is always saved. Come back anytime to update your skills, experience, or switch templates.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=rjf7ip", imageAlt: "Resume editor interface"
|
||||
}
|
||||
]}
|
||||
textboxLayout="default"
|
||||
@@ -105,13 +105,13 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
products={[
|
||||
{
|
||||
id: "1", name: "Choose Your Template", price: "Step 1", variant: "Browse 50+ professional designs", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=2djrcz&_wi=3", imageAlt: "Template selection interface"
|
||||
id: "1", name: "Choose Your Template", price: "Step 1", variant: "Browse 50+ professional designs", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=2djrcz", imageAlt: "Template selection interface"
|
||||
},
|
||||
{
|
||||
id: "2", name: "Fill in Your Information", price: "Step 2", variant: "Add education, experience, skills & projects", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=rjf7ip&_wi=3", imageAlt: "Resume editor interface"
|
||||
id: "2", name: "Fill in Your Information", price: "Step 2", variant: "Add education, experience, skills & projects", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=rjf7ip", imageAlt: "Resume editor interface"
|
||||
},
|
||||
{
|
||||
id: "3", name: "Download & Share", price: "Step 3", variant: "Export as PDF and send to employers instantly", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=kpqzhx&_wi=2", imageAlt: "Download feature"
|
||||
id: "3", name: "Download & Share", price: "Step 3", variant: "Export as PDF and send to employers instantly", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=kpqzhx", imageAlt: "Download feature"
|
||||
}
|
||||
]}
|
||||
/>
|
||||
|
||||
@@ -1,51 +1,40 @@
|
||||
"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;
|
||||
textClassName?: string;
|
||||
fill?: string;
|
||||
textFill?: 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 = '',
|
||||
textClassName = '',
|
||||
fill = 'currentColor',
|
||||
textFill = '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 300 100"
|
||||
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="central"
|
||||
className={textClassName}
|
||||
fill={textFill}
|
||||
fontSize="48"
|
||||
fontWeight="bold"
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
};
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
|
||||
export default SvgTextLogo;
|
||||
export default SvgTextLogo;
|
||||
Reference in New Issue
Block a user