Merge version_1 into main #2
@@ -19,7 +19,7 @@ export default function LandingPage() {
|
||||
borderRadius="soft"
|
||||
contentWidth="compact"
|
||||
sizing="largeSizeMediumTitles"
|
||||
background="noise"
|
||||
background="circleGradient"
|
||||
cardStyle="subtle-shadow"
|
||||
primaryButtonStyle="flat"
|
||||
secondaryButtonStyle="solid"
|
||||
@@ -44,22 +44,19 @@ export default function LandingPage() {
|
||||
title="Enrich Your Child's Future — One Skill at a Time"
|
||||
description="Like a tree drawing strength from the soil, watch your child's roots grow deeper into the vast expanse of Knowledge. AN Study Zone in Vasai West offers holistic programs in Abacus, Vedic Math, Tuition (I–X), Foreign Languages, Art & Craft, and more."
|
||||
tag="⭐ 5.0 Rated · Vasai West · Est. 2019"
|
||||
background={{ variant: "noise" }}
|
||||
background={{ variant: "glowing-orb" }}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/young-students-learning-together-group-study_23-2149211068.jpg"
|
||||
imageAlt="AN Study Zone - Happy students learning together"
|
||||
imagePosition="right"
|
||||
testimonials={[
|
||||
{
|
||||
name: "Dhruvi Shah", handle: "Parent, Abacus Student", testimonial: "Feel lucky to find AN Study Zone. My son enjoys studying there. Teachers are amazing! 🙏", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/father-son-home-looking-camera_23-2148301560.jpg?_wi=1"
|
||||
name: "Dhruvi Shah", handle: "Parent, Abacus Student", testimonial: "Feel lucky to find AN Study Zone. My son enjoys studying there. Teachers are amazing! 🙏", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/father-son-home-looking-camera_23-2148301560.jpg"
|
||||
},
|
||||
{
|
||||
name: "Ankita Miyani", handle: "Parent, Abacus Enrollment", testimonial: "Excellent learning experience! Trainers are patient and made math genuinely fun.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/successful-young-businesswoman-showing-thumb-up_1262-5866.jpg?_wi=1"
|
||||
name: "Ankita Miyani", handle: "Parent, Abacus Enrollment", testimonial: "Excellent learning experience! Trainers are patient and made math genuinely fun.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/successful-young-businesswoman-showing-thumb-up_1262-5866.jpg"
|
||||
},
|
||||
{
|
||||
name: "Sweta Raja", handle: "Parent, Tuition Class", testimonial: "Excellent tuition experience. Teachers teach nicely with periodic tests and proper updates. 👏", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-positive-executive-work_1098-519.jpg?_wi=1"
|
||||
name: "Sweta Raja", handle: "Parent, Tuition Class", testimonial: "Excellent tuition experience. Teachers teach nicely with periodic tests and proper updates. 👏", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/close-up-positive-executive-work_1098-519.jpg"
|
||||
}
|
||||
]}
|
||||
buttons={[
|
||||
@@ -95,7 +92,7 @@ export default function LandingPage() {
|
||||
id: "5", name: "Reading & Writing 📖", price: "Age: 5–12", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-girl-reading-book-grass_23-2148260190.jpg", imageAlt: "Reading & Writing Skills"
|
||||
},
|
||||
{
|
||||
id: "6", name: "Art & Craft 🎨", price: "Age: 5–14", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-view-female-hand-preparing-clay-art-table_23-2148188387.jpg?_wi=1", imageAlt: "Art & Craft"
|
||||
id: "6", name: "Art & Craft 🎨", price: "Age: 5–14", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-view-female-hand-preparing-clay-art-table_23-2148188387.jpg", imageAlt: "Art & Craft"
|
||||
},
|
||||
{
|
||||
id: "7", name: "Elementary Drawing ✏️", price: "Age: 5–16", imageSrc: "http://img.b2bpic.net/free-photo/artist-tools-pack-frame_23-2148575582.jpg", imageAlt: "Elementary Drawing Exam"
|
||||
@@ -104,7 +101,7 @@ export default function LandingPage() {
|
||||
id: "8", name: "AI / IT / CA 💻", price: "Age: 13+", imageSrc: "http://img.b2bpic.net/free-photo/portrait-clever-student-with-dark-skin-bushy-hair-wearing-casual-clothes-while-sitting-cafeteria-working-his-course-paper-searching-information-internet-using-his-laptop-computer_273609-7469.jpg", imageAlt: "AI IT Commerce"
|
||||
},
|
||||
{
|
||||
id: "9", name: "Special Offers 🎁", price: "Combo Deals", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-view-female-hand-preparing-clay-art-table_23-2148188387.jpg?_wi=2", imageAlt: "Special Offers & Discounts"
|
||||
id: "9", name: "Special Offers 🎁", price: "Combo Deals", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-view-female-hand-preparing-clay-art-table_23-2148188387.jpg", imageAlt: "Special Offers & Discounts"
|
||||
}
|
||||
]}
|
||||
gridVariant="three-columns-all-equal-width"
|
||||
@@ -156,13 +153,13 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
testimonials={[
|
||||
{
|
||||
id: "1", name: "Dhruvi Shah, Parent", date: "Date: 15 December 2024", title: "Feel lucky to find AN Study Zone", quote: "Feel lucky to find AN Study Zone. Enrolled my son for Abacus — all teachers are amazing. Special thanks to Amishi ma'am — very kind, patient and understanding. My son enjoys studying there ❤️ I suggest all parents enroll their kids here 🙏", tag: "Abacus Enrollment", avatarSrc: "http://img.b2bpic.net/free-photo/father-son-home-looking-camera_23-2148301560.jpg", avatarAlt: "Dhruvi Shah", imageSrc: "http://img.b2bpic.net/free-photo/father-son-home-looking-camera_23-2148301560.jpg?_wi=2"
|
||||
id: "1", name: "Dhruvi Shah, Parent", date: "Date: 15 December 2024", title: "Feel lucky to find AN Study Zone", quote: "Feel lucky to find AN Study Zone. Enrolled my son for Abacus — all teachers are amazing. Special thanks to Amishi ma'am — very kind, patient and understanding. My son enjoys studying there ❤️ I suggest all parents enroll their kids here 🙏", tag: "Abacus Enrollment", avatarSrc: "http://img.b2bpic.net/free-photo/father-son-home-looking-camera_23-2148301560.jpg", avatarAlt: "Dhruvi Shah", imageSrc: "http://img.b2bpic.net/free-photo/father-son-home-looking-camera_23-2148301560.jpg"
|
||||
},
|
||||
{
|
||||
id: "2", name: "Ankita Miyani Bagadia, Parent", date: "Date: 10 December 2024", title: "Excellent learning experience", quote: "I enrolled my daughter for Abacus. The classes have been an excellent learning experience. Trainers are patient, encouraging and have made math genuinely fun and engaging!", tag: "Abacus Success", avatarSrc: "http://img.b2bpic.net/free-photo/successful-young-businesswoman-showing-thumb-up_1262-5866.jpg", avatarAlt: "Ankita Miyani", imageSrc: "http://img.b2bpic.net/free-photo/successful-young-businesswoman-showing-thumb-up_1262-5866.jpg?_wi=2"
|
||||
id: "2", name: "Ankita Miyani Bagadia, Parent", date: "Date: 10 December 2024", title: "Excellent learning experience", quote: "I enrolled my daughter for Abacus. The classes have been an excellent learning experience. Trainers are patient, encouraging and have made math genuinely fun and engaging!", tag: "Abacus Success", avatarSrc: "http://img.b2bpic.net/free-photo/successful-young-businesswoman-showing-thumb-up_1262-5866.jpg", avatarAlt: "Ankita Miyani", imageSrc: "http://img.b2bpic.net/free-photo/successful-young-businesswoman-showing-thumb-up_1262-5866.jpg"
|
||||
},
|
||||
{
|
||||
id: "3", name: "Sweta Raja, Parent", date: "Date: 8 December 2024", title: "Excellent tuition experience", quote: "Excellent tuition experience 👏 My son is in 5th Std for Maths. Amishi Teacher and Shivali Teacher teach very nicely and take periodic tests with proper updates.", tag: "Tuition Classes", avatarSrc: "http://img.b2bpic.net/free-photo/close-up-positive-executive-work_1098-519.jpg", avatarAlt: "Sweta Raja", imageSrc: "http://img.b2bpic.net/free-photo/close-up-positive-executive-work_1098-519.jpg?_wi=2"
|
||||
id: "3", name: "Sweta Raja, Parent", date: "Date: 8 December 2024", title: "Excellent tuition experience", quote: "Excellent tuition experience 👏 My son is in 5th Std for Maths. Amishi Teacher and Shivali Teacher teach very nicely and take periodic tests with proper updates.", tag: "Tuition Classes", avatarSrc: "http://img.b2bpic.net/free-photo/close-up-positive-executive-work_1098-519.jpg", avatarAlt: "Sweta Raja", imageSrc: "http://img.b2bpic.net/free-photo/close-up-positive-executive-work_1098-519.jpg"
|
||||
},
|
||||
{
|
||||
id: "4", name: "Priyanka Ullal, Parent", date: "Date: 5 December 2024", title: "Amazing student-friendly atmosphere", quote: "Enrolled my son for Abacus. Amishi ma'am teaches in an excellent manner! Nitu ma'am is also very polite and friendly. Amazing student-friendly atmosphere!", tag: "Abacus Program", avatarSrc: "http://img.b2bpic.net/free-photo/expressive-young-girl-posing-studio_176474-65932.jpg", avatarAlt: "Priyanka Ullal", imageSrc: "http://img.b2bpic.net/free-photo/expressive-young-girl-posing-studio_176474-65932.jpg"
|
||||
|
||||
@@ -1,51 +1,50 @@
|
||||
"use client";
|
||||
import React, { SVGProps } from 'react';
|
||||
|
||||
import { memo } from "react";
|
||||
import useSvgTextLogo from "./useSvgTextLogo";
|
||||
import { cls } from "@/lib/utils";
|
||||
|
||||
interface SvgTextLogoProps {
|
||||
logoText: string;
|
||||
adjustHeightFactor?: number;
|
||||
verticalAlign?: "top" | "center";
|
||||
className?: string;
|
||||
interface SvgTextLogoProps extends SVGProps<SVGSVGElement> {
|
||||
text?: string;
|
||||
fontSize?: number;
|
||||
fill?: string;
|
||||
dominantBaseline?: 'auto' | 'baseline' | 'before-edge' | 'hanging' | 'ideographic' | 'mathematical' | 'central' | 'middle' | 'after-edge' | 'text-after-edge';
|
||||
}
|
||||
|
||||
const SvgTextLogo = memo<SvgTextLogoProps>(function SvgTextLogo({
|
||||
logoText,
|
||||
adjustHeightFactor,
|
||||
verticalAlign = "top",
|
||||
className = "",
|
||||
}) {
|
||||
const { svgRef, textRef, viewBox, aspectRatio } = useSvgTextLogo(logoText, false, adjustHeightFactor);
|
||||
|
||||
return (
|
||||
<svg
|
||||
ref={svgRef}
|
||||
viewBox={viewBox}
|
||||
className={cls("w-full", className)}
|
||||
style={{ aspectRatio: aspectRatio }}
|
||||
preserveAspectRatio="none"
|
||||
role="img"
|
||||
aria-label={`${logoText} logo`}
|
||||
>
|
||||
<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"
|
||||
}}
|
||||
const SvgTextLogo = React.forwardRef<SVGSVGElement, SvgTextLogoProps>(
|
||||
(
|
||||
{
|
||||
text = 'Logo',
|
||||
fontSize = 32,
|
||||
fill = 'currentColor',
|
||||
dominantBaseline = 'middle',
|
||||
width = 200,
|
||||
height = 60,
|
||||
...props
|
||||
},
|
||||
ref
|
||||
) => {
|
||||
return (
|
||||
<svg
|
||||
ref={ref}
|
||||
width={width}
|
||||
height={height}
|
||||
viewBox={`0 0 ${width} ${height}`}
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
{...props}
|
||||
>
|
||||
{logoText}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
});
|
||||
<text
|
||||
x="50%"
|
||||
y="50%"
|
||||
textAnchor="middle"
|
||||
dominantBaseline={dominantBaseline}
|
||||
fontSize={fontSize}
|
||||
fill={fill}
|
||||
fontWeight="bold"
|
||||
>
|
||||
{text}
|
||||
</text>
|
||||
</svg>
|
||||
);
|
||||
}
|
||||
);
|
||||
|
||||
SvgTextLogo.displayName = "SvgTextLogo";
|
||||
SvgTextLogo.displayName = 'SvgTextLogo';
|
||||
|
||||
export default SvgTextLogo;
|
||||
|
||||
Reference in New Issue
Block a user