Merge version_1 into main #2
@@ -9,7 +9,7 @@ import MetricCardThree from '@/components/sections/metrics/MetricCardThree';
|
||||
import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive';
|
||||
import ContactFaq from '@/components/sections/contact/ContactFaq';
|
||||
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
|
||||
import { Star, BookOpen, Monitor, Award, CalculatorIcon, GraduationCap, Zap, FileText, Users, TrendingUp, Heart, Phone } from 'lucide-react';
|
||||
import { Star, BookOpen, Monitor, Award, CalculatorIcon, GraduationCap, Zap, FileText, Users, TrendingUp, Heart, Phone, ThumbsUp } from 'lucide-react';
|
||||
|
||||
export default function LandingPage() {
|
||||
return (
|
||||
@@ -19,7 +19,7 @@ export default function LandingPage() {
|
||||
borderRadius="soft"
|
||||
contentWidth="small"
|
||||
sizing="mediumLargeSizeLargeTitles"
|
||||
background="grid"
|
||||
background="circleGradient"
|
||||
cardStyle="outline"
|
||||
primaryButtonStyle="shadow"
|
||||
secondaryButtonStyle="radial-glow"
|
||||
@@ -47,18 +47,18 @@ export default function LandingPage() {
|
||||
tag="Top Rated Institute"
|
||||
tagIcon={Star}
|
||||
tagAnimation="slide-up"
|
||||
background={{ variant: "grid" }}
|
||||
background={{ variant: "animated-grid" }}
|
||||
leftCarouselItems={[
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/boy-studying-peacefully-library_23-2148844707.jpg?_wi=1", imageAlt: "Modern computer training classroom with students" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/two-adult-college-students-chatting-while-working_74855-1670.jpg?_wi=1", imageAlt: "Professional trainer teaching computer skills" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/graduation-diploma-certificate-with-ribbon-bow_23-2148769713.jpg?_wi=1", imageAlt: "Successful students with certificates" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/minimalist-tech-setup-with-smartwatch_58702-17214.jpg?_wi=1", imageAlt: "Basic computer course training session" }
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/boy-studying-peacefully-library_23-2148844707.jpg", imageAlt: "Modern computer training classroom with students" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/two-adult-college-students-chatting-while-working_74855-1670.jpg", imageAlt: "Professional trainer teaching computer skills" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/graduation-diploma-certificate-with-ribbon-bow_23-2148769713.jpg", imageAlt: "Successful students with certificates" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/minimalist-tech-setup-with-smartwatch_58702-17214.jpg", imageAlt: "Basic computer course training session" }
|
||||
]}
|
||||
rightCarouselItems={[
|
||||
{ imageSrc: "http://img.b2bpic.net/free-vector/online-certification-concept_23-2148572387.jpg?_wi=1", imageAlt: "Advanced computer applications training" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/boy-studying-peacefully-library_23-2148844707.jpg?_wi=2", imageAlt: "Computer lab with modern equipment" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/two-adult-college-students-chatting-while-working_74855-1670.jpg?_wi=2", imageAlt: "Hands-on practical training session" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/graduation-diploma-certificate-with-ribbon-bow_23-2148769713.jpg?_wi=2", imageAlt: "Graduate success stories and achievements" }
|
||||
{ imageSrc: "http://img.b2bpic.net/free-vector/online-certification-concept_23-2148572387.jpg", imageAlt: "Advanced computer applications training" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/boy-studying-peacefully-library_23-2148844707.jpg", imageAlt: "Computer lab with modern equipment" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/two-adult-college-students-chatting-while-working_74855-1670.jpg", imageAlt: "Hands-on practical training session" },
|
||||
{ imageSrc: "http://img.b2bpic.net/free-photo/graduation-diploma-certificate-with-ribbon-bow_23-2148769713.jpg", imageAlt: "Graduate success stories and achievements" }
|
||||
]}
|
||||
carouselPosition="right"
|
||||
buttons={[
|
||||
@@ -76,7 +76,7 @@ export default function LandingPage() {
|
||||
description="We are dedicated to providing quality computer training to students in Prayagraj. With experienced instructors, practical hands-on training, and affordable courses, we help students master computer skills for career advancement. Our institute offers industry-recognized certifications and focuses on real-world applications."
|
||||
tag="Why Choose Us"
|
||||
tagAnimation="slide-up"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/two-adult-college-students-chatting-while-working_74855-1670.jpg?_wi=3"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/two-adult-college-students-chatting-while-working_74855-1670.jpg"
|
||||
imageAlt="Professional computer training environment"
|
||||
buttons={[
|
||||
{ text: "Enquire Now", href: "#contact" }
|
||||
@@ -122,7 +122,7 @@ export default function LandingPage() {
|
||||
{ id: "1", icon: Users, title: "Students Trained", value: "500+" },
|
||||
{ id: "2", icon: Award, title: "Certificates Awarded", value: "450+" },
|
||||
{ id: "3", icon: Star, title: "Google Rating", value: "5.0 ⭐" },
|
||||
{ id: "4", icon: Heart, title: "Student Reviews", value: "18+" }
|
||||
{ id: "4", icon: ThumbsUp, title: "Student Reviews", value: "18+" }
|
||||
]}
|
||||
animationType="slide-up"
|
||||
textboxLayout="default"
|
||||
@@ -138,12 +138,12 @@ export default function LandingPage() {
|
||||
tagIcon={Heart}
|
||||
tagAnimation="slide-up"
|
||||
testimonials={[
|
||||
{ id: "1", name: "Rahul Kumar, Student", date: "Date: January 2025", title: "Best Training Center in Prayagraj!", quote: "The instructors at Megabyte are highly knowledgeable and patient. The practical training helped me understand concepts clearly. I got a job within 2 months of completing the course.", tag: "DCA Course", avatarSrc: "http://img.b2bpic.net/free-photo/technician-making-sure-high-tech-facility-data-center-is-appropriately-equipped_482257-94430.jpg", avatarAlt: "Rahul Kumar", imageSrc: "http://img.b2bpic.net/free-photo/graduation-diploma-certificate-with-ribbon-bow_23-2148769713.jpg?_wi=3", imageAlt: "Student success" },
|
||||
{ id: "2", name: "Priya Singh, Graduate", date: "Date: December 2024", title: "Affordable and Quality Training", quote: "I completed my CCC course here and it was worth every penny. The fees are reasonable and the training quality is excellent. The institute provides all necessary study materials.", tag: "CCC Course", avatarSrc: "http://img.b2bpic.net/free-photo/smiling-senior-businessman-sitting-stairs_1262-3109.jpg", avatarAlt: "Priya Singh", imageSrc: "http://img.b2bpic.net/free-photo/two-adult-college-students-chatting-while-working_74855-1670.jpg?_wi=4", imageAlt: "Training session" },
|
||||
{ id: "3", name: "Amit Verma, Professional", date: "Date: November 2024", title: "Upgraded My Skills Successfully", quote: "As a working professional, the flexible timing and short-term courses helped me upgrade my skills. The Tally+GST course was exactly what I needed for my accounting business.", tag: "Tally + GST", avatarSrc: "http://img.b2bpic.net/free-photo/blonde-girl-clenching-fists-opening-mouth-graduation-gown-cap-looking-sleepy_176474-82530.jpg", avatarAlt: "Amit Verma", imageSrc: "http://img.b2bpic.net/free-vector/online-certification-concept_23-2148572387.jpg?_wi=2", imageAlt: "Advanced training" },
|
||||
{ id: "4", name: "Neha Pandey, Job Seeker", date: "Date: October 2024", title: "Real Skills, Real Results", quote: "The practical approach to teaching at Megabyte really helped me. I learned skills that are actually used in the workplace. Got placed in an IT company after completion.", tag: "Basic + Advanced", avatarSrc: "http://img.b2bpic.net/free-photo/young-businessman-happy-expression_1194-1631.jpg", avatarAlt: "Neha Pandey", imageSrc: "http://img.b2bpic.net/free-photo/boy-studying-peacefully-library_23-2148844707.jpg?_wi=3", imageAlt: "Classroom learning" },
|
||||
{ id: "5", name: "Vikas Sharma, Student", date: "Date: September 2024", title: "Highly Recommended Institute", quote: "Very supportive staff and well-equipped computer lab. The instructors are always willing to help and clear doubts. I would definitely recommend this institute to others.", tag: "ADCA Course", avatarSrc: "http://img.b2bpic.net/free-photo/successful-senior-businessman-standing-window_1262-3120.jpg", avatarAlt: "Vikas Sharma", imageSrc: "http://img.b2bpic.net/free-photo/minimalist-tech-setup-with-smartwatch_58702-17214.jpg?_wi=2", imageAlt: "Course training" },
|
||||
{ id: "6", name: "Anjali Gupta, Graduate", date: "Date: August 2024", title: "Certified and Confident", quote: "The certification from Megabyte is recognized and valued by employers. The course content is updated and relevant. Excellent experience throughout my training.", tag: "DCA Course", avatarSrc: "http://img.b2bpic.net/free-photo/portrait-happy-smiling-man_93675-134334.jpg", avatarAlt: "Anjali Gupta", imageSrc: "http://img.b2bpic.net/free-photo/graduation-diploma-certificate-with-ribbon-bow_23-2148769713.jpg?_wi=4", imageAlt: "Student achievement" }
|
||||
{ id: "1", name: "Rahul Kumar, Student", date: "Date: January 2025", title: "Best Training Center in Prayagraj!", quote: "The instructors at Megabyte are highly knowledgeable and patient. The practical training helped me understand concepts clearly. I got a job within 2 months of completing the course.", tag: "DCA Course", avatarSrc: "http://img.b2bpic.net/free-photo/technician-making-sure-high-tech-facility-data-center-is-appropriately-equipped_482257-94430.jpg", avatarAlt: "Rahul Kumar", imageSrc: "http://img.b2bpic.net/free-photo/graduation-diploma-certificate-with-ribbon-bow_23-2148769713.jpg", imageAlt: "Student success" },
|
||||
{ id: "2", name: "Priya Singh, Graduate", date: "Date: December 2024", title: "Affordable and Quality Training", quote: "I completed my CCC course here and it was worth every penny. The fees are reasonable and the training quality is excellent. The institute provides all necessary study materials.", tag: "CCC Course", avatarSrc: "http://img.b2bpic.net/free-photo/smiling-senior-businessman-sitting-stairs_1262-3109.jpg", avatarAlt: "Priya Singh", imageSrc: "http://img.b2bpic.net/free-photo/two-adult-college-students-chatting-while-working_74855-1670.jpg", imageAlt: "Training session" },
|
||||
{ id: "3", name: "Amit Verma, Professional", date: "Date: November 2024", title: "Upgraded My Skills Successfully", quote: "As a working professional, the flexible timing and short-term courses helped me upgrade my skills. The Tally+GST course was exactly what I needed for my accounting business.", tag: "Tally + GST", avatarSrc: "http://img.b2bpic.net/free-photo/blonde-girl-clenching-fists-opening-mouth-graduation-gown-cap-looking-sleepy_176474-82530.jpg", avatarAlt: "Amit Verma", imageSrc: "http://img.b2bpic.net/free-vector/online-certification-concept_23-2148572387.jpg", imageAlt: "Advanced training" },
|
||||
{ id: "4", name: "Neha Pandey, Job Seeker", date: "Date: October 2024", title: "Real Skills, Real Results", quote: "The practical approach to teaching at Megabyte really helped me. I learned skills that are actually used in the workplace. Got placed in an IT company after completion.", tag: "Basic + Advanced", avatarSrc: "http://img.b2bpic.net/free-photo/young-businessman-happy-expression_1194-1631.jpg", avatarAlt: "Neha Pandey", imageSrc: "http://img.b2bpic.net/free-photo/boy-studying-peacefully-library_23-2148844707.jpg", imageAlt: "Classroom learning" },
|
||||
{ id: "5", name: "Vikas Sharma, Student", date: "Date: September 2024", title: "Highly Recommended Institute", quote: "Very supportive staff and well-equipped computer lab. The instructors are always willing to help and clear doubts. I would definitely recommend this institute to others.", tag: "ADCA Course", avatarSrc: "http://img.b2bpic.net/free-photo/successful-senior-businessman-standing-window_1262-3120.jpg", avatarAlt: "Vikas Sharma", imageSrc: "http://img.b2bpic.net/free-photo/minimalist-tech-setup-with-smartwatch_58702-17214.jpg", imageAlt: "Course training" },
|
||||
{ id: "6", name: "Anjali Gupta, Graduate", date: "Date: August 2024", title: "Certified and Confident", quote: "The certification from Megabyte is recognized and valued by employers. The course content is updated and relevant. Excellent experience throughout my training.", tag: "DCA Course", avatarSrc: "http://img.b2bpic.net/free-photo/portrait-happy-smiling-man_93675-134334.jpg", avatarAlt: "Anjali Gupta", imageSrc: "http://img.b2bpic.net/free-photo/graduation-diploma-certificate-with-ribbon-bow_23-2148769713.jpg", imageAlt: "Student achievement" }
|
||||
]}
|
||||
buttons={[
|
||||
{ text: "Enroll Now", href: "#contact" }
|
||||
|
||||
@@ -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);
|
||||
|
||||
export 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={`w-full h-auto ${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%"
|
||||
dominantBaseline="middle"
|
||||
textAnchor="middle"
|
||||
fontSize="32"
|
||||
fontWeight="bold"
|
||||
fill="currentColor"
|
||||
>
|
||||
{logoText}
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
|
||||
export default SvgTextLogo;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user