Merge version_1 into main #2
@@ -19,7 +19,7 @@ export default function LandingPage() {
|
||||
borderRadius="rounded"
|
||||
contentWidth="mediumSmall"
|
||||
sizing="mediumLargeSizeMediumTitles"
|
||||
background="aurora"
|
||||
background="circleGradient"
|
||||
cardStyle="subtle-shadow"
|
||||
primaryButtonStyle="gradient"
|
||||
secondaryButtonStyle="layered"
|
||||
@@ -43,7 +43,7 @@ export default function LandingPage() {
|
||||
<HeroBillboard
|
||||
title="Learn IT Skills That Build Your Future"
|
||||
description="Master practical programming, web development, and digital design at ProSkill. Professional instructors, small class groups, and real-world projects to launch your IT career."
|
||||
background={{ variant: "aurora" }}
|
||||
background={{ variant: "sparkles-gradient" }}
|
||||
tag="Expert IT Education"
|
||||
tagIcon={Sparkles}
|
||||
tagAnimation="slide-up"
|
||||
@@ -58,7 +58,7 @@ export default function LandingPage() {
|
||||
{ src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Amcf79vxn3hl0THnCVDhaCeudz/portrait-photo-of-a-young-male-teenager--1773201357265-ff81cf8c.png", alt: "Student 3" }
|
||||
]}
|
||||
avatarText="Trusted by 500+ Students"
|
||||
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Amcf79vxn3hl0THnCVDhaCeudz/a-diverse-group-of-young-teenagers-and-u-1773201357428-c3785630.png?_wi=1"
|
||||
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Amcf79vxn3hl0THnCVDhaCeudz/a-diverse-group-of-young-teenagers-and-u-1773201357428-c3785630.png"
|
||||
imageAlt="Students learning IT in a modern classroom"
|
||||
mediaAnimation="slide-up"
|
||||
marqueeItems={[
|
||||
@@ -98,7 +98,7 @@ export default function LandingPage() {
|
||||
tagAnimation="slide-up"
|
||||
products={[
|
||||
{
|
||||
id: "web-dev", name: "Web Development", price: "2,500,000 UZS", variant: "8 weeks · Beginner to Advanced", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Amcf79vxn3hl0THnCVDhaCeudz/a-laptop-screen-displaying-a-modern-colo-1773201356092-b9d358b7.png?_wi=1", imageAlt: "Web Development Course"
|
||||
id: "web-dev", name: "Web Development", price: "2,500,000 UZS", variant: "8 weeks · Beginner to Advanced", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Amcf79vxn3hl0THnCVDhaCeudz/a-laptop-screen-displaying-a-modern-colo-1773201356092-b9d358b7.png", imageAlt: "Web Development Course"
|
||||
},
|
||||
{
|
||||
id: "python", name: "Python Programming", price: "2,200,000 UZS", variant: "10 weeks · Beginner Friendly", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Amcf79vxn3hl0THnCVDhaCeudz/a-computer-screen-showing-python-code-wi-1773201358336-f5105e98.png", imageAlt: "Python Programming Course"
|
||||
@@ -107,10 +107,10 @@ export default function LandingPage() {
|
||||
id: "graphic-design", name: "Graphic Design", price: "2,500,000 UZS", variant: "6 weeks · Beginner to Intermediate", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Amcf79vxn3hl0THnCVDhaCeudz/a-professional-graphic-designer-s-worksp-1773201356244-39fa7dbb.png", imageAlt: "Graphic Design Course"
|
||||
},
|
||||
{
|
||||
id: "frontend", name: "Frontend Development", price: "2,800,000 UZS", variant: "10 weeks · Intermediate Level", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Amcf79vxn3hl0THnCVDhaCeudz/a-modern-front-end-development-workspace-1773201356907-35d8f6fd.png?_wi=1", imageAlt: "Frontend Development Course"
|
||||
id: "frontend", name: "Frontend Development", price: "2,800,000 UZS", variant: "10 weeks · Intermediate Level", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Amcf79vxn3hl0THnCVDhaCeudz/a-modern-front-end-development-workspace-1773201356907-35d8f6fd.png", imageAlt: "Frontend Development Course"
|
||||
},
|
||||
{
|
||||
id: "computer-literacy", name: "Computer Literacy", price: "1,500,000 UZS", variant: "4 weeks · Complete Beginner", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Amcf79vxn3hl0THnCVDhaCeudz/a-diverse-group-of-young-teenagers-and-u-1773201357428-c3785630.png?_wi=2", imageAlt: "Computer Literacy Course"
|
||||
id: "computer-literacy", name: "Computer Literacy", price: "1,500,000 UZS", variant: "4 weeks · Complete Beginner", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Amcf79vxn3hl0THnCVDhaCeudz/a-diverse-group-of-young-teenagers-and-u-1773201357428-c3785630.png", imageAlt: "Computer Literacy Course"
|
||||
}
|
||||
]}
|
||||
gridVariant="uniform-all-items-equal"
|
||||
@@ -133,20 +133,16 @@ export default function LandingPage() {
|
||||
tagAnimation="slide-up"
|
||||
features={[
|
||||
{
|
||||
id: "1", title: "Professional Teachers", author: "Experienced Instructors", description: "Learn from industry professionals with years of real-world IT experience. Our teachers stay updated with the latest technologies and industry trends.", tags: ["Expert Training", "Industry Standards"],
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Amcf79vxn3hl0THnCVDhaCeudz/portrait-photo-of-a-professional-male-it-1773201356347-062b7d3e.png"
|
||||
id: "1", title: "Professional Teachers", author: "Experienced Instructors", description: "Learn from industry professionals with years of real-world IT experience. Our teachers stay updated with the latest technologies and industry trends.", tags: ["Expert Training", "Industry Standards"], imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Amcf79vxn3hl0THnCVDhaCeudz/portrait-photo-of-a-professional-male-it-1773201356347-062b7d3e.png"
|
||||
},
|
||||
{
|
||||
id: "2", title: "Small Class Groups", author: "Personalized Learning", description: "Classes limited to 12-15 students per group. This ensures personalized attention, quick question answering, and better learning outcomes for each student.", tags: ["Personal Attention", "Quality Focus"],
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Amcf79vxn3hl0THnCVDhaCeudz/a-diverse-group-of-young-teenagers-and-u-1773201357428-c3785630.png?_wi=3"
|
||||
id: "2", title: "Small Class Groups", author: "Personalized Learning", description: "Classes limited to 12-15 students per group. This ensures personalized attention, quick question answering, and better learning outcomes for each student.", tags: ["Personal Attention", "Quality Focus"], imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Amcf79vxn3hl0THnCVDhaCeudz/a-diverse-group-of-young-teenagers-and-u-1773201357428-c3785630.png"
|
||||
},
|
||||
{
|
||||
id: "3", title: "Real Projects", author: "Practical Experience", description: "Work on real-world projects that teach you applicable skills. Build a portfolio of work to showcase to potential employers and clients.", tags: ["Portfolio Building", "Practical Skills"],
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Amcf79vxn3hl0THnCVDhaCeudz/a-laptop-screen-displaying-a-modern-colo-1773201356092-b9d358b7.png?_wi=2"
|
||||
id: "3", title: "Real Projects", author: "Practical Experience", description: "Work on real-world projects that teach you applicable skills. Build a portfolio of work to showcase to potential employers and clients.", tags: ["Portfolio Building", "Practical Skills"], imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Amcf79vxn3hl0THnCVDhaCeudz/a-laptop-screen-displaying-a-modern-colo-1773201356092-b9d358b7.png"
|
||||
},
|
||||
{
|
||||
id: "4", title: "Job-Ready Skills", author: "Career Preparation", description: "Master the technical skills and professional knowledge needed for entry-level IT positions. We focus on what employers actually need.", tags: ["Career Success", "Employment Ready"],
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Amcf79vxn3hl0THnCVDhaCeudz/a-modern-front-end-development-workspace-1773201356907-35d8f6fd.png?_wi=2"
|
||||
id: "4", title: "Job-Ready Skills", author: "Career Preparation", description: "Master the technical skills and professional knowledge needed for entry-level IT positions. We focus on what employers actually need.", tags: ["Career Success", "Employment Ready"], imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/users/user_3Amcf79vxn3hl0THnCVDhaCeudz/a-modern-front-end-development-workspace-1773201356907-35d8f6fd.png"
|
||||
}
|
||||
]}
|
||||
animationType="slide-up"
|
||||
@@ -203,7 +199,7 @@ export default function LandingPage() {
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="contact" data-section="contact">
|
||||
<div id="cta" data-section="cta">
|
||||
<ContactCenter
|
||||
tag="Start Your Journey"
|
||||
tagIcon={Rocket}
|
||||
|
||||
@@ -1,51 +1,35 @@
|
||||
"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;
|
||||
}
|
||||
|
||||
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 = '',
|
||||
textClassName = '',
|
||||
}) => {
|
||||
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 60"
|
||||
className={`w-auto h-8 ${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="10"
|
||||
y="40"
|
||||
fontSize="32"
|
||||
fontWeight="bold"
|
||||
fill="currentColor"
|
||||
dominantBaseline="middle"
|
||||
className={textClassName}
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
};
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
|
||||
export default SvgTextLogo;
|
||||
export default SvgTextLogo;
|
||||
Reference in New Issue
Block a user