Update src/pages/HomePage.tsx

This commit is contained in:
2026-06-14 11:28:08 +00:00
parent 04ea3bb4cc
commit c404302f76

View File

@@ -13,16 +13,15 @@ export default function HomePage() {
<div id="hero" data-section="hero">
<SectionErrorBoundary name="hero">
<HeroCenteredLogos
avatarsSrc={[]}
avatarText=""
names={[]}
title="Empowering Future Leaders"
description="Priyadarshini Group of Institutions is dedicated to providing high-quality education and fostering innovation across diverse fields of knowledge."
primaryButton={{
text: "Explore Institutions",
href: "#institutions",
}}
text: "Explore Institutions", href: "#institutions"}}
secondaryButton={{
text: "About Us",
href: "#about",
}}
text: "About Us", href: "#about"}}
imageSrc="http://img.b2bpic.net/free-photo/students-working-study-group_23-2149281141.jpg"
/>
</SectionErrorBoundary>
@@ -33,9 +32,7 @@ export default function HomePage() {
<AboutTextSplit
title="Legacy of Excellence"
descriptions={[
"Established with a vision to nurture academic excellence, our group serves thousands of students across multiple professional streams.",
"Our campuses offer world-class infrastructure, experienced faculty, and industry-integrated curricula designed for modern success.",
]}
"Established with a vision to nurture academic excellence, our group serves thousands of students across multiple professional streams.", "Our campuses offer world-class infrastructure, experienced faculty, and industry-integrated curricula designed for modern success."]}
/>
</SectionErrorBoundary>
</div>
@@ -48,47 +45,19 @@ export default function HomePage() {
description="Discover our network of institutions providing quality education."
items={[
{
title: "Engineering",
description: "Top-tier technical education.",
href: "#",
imageSrc: "http://img.b2bpic.net/free-vector/flat-design-mechanical-engineering-logo-template_23-2149998836.jpg",
},
title: "Engineering", description: "Top-tier technical education.", href: "#", imageSrc: "http://img.b2bpic.net/free-vector/flat-design-mechanical-engineering-logo-template_23-2149998836.jpg"},
{
title: "Medicine",
description: "Excellence in healthcare learning.",
href: "#",
imageSrc: "http://img.b2bpic.net/free-vector/hand-drawn-hospital-services-labels_23-2149622294.jpg",
},
title: "Medicine", description: "Excellence in healthcare learning.", href: "#", imageSrc: "http://img.b2bpic.net/free-vector/hand-drawn-hospital-services-labels_23-2149622294.jpg"},
{
title: "Business",
description: "Fostering tomorrow's leaders.",
href: "#",
imageSrc: "http://img.b2bpic.net/free-photo/open-book-icon-symbol-yellow-background-education-bookstore-concept-3d-rendering_56104-1334.jpg",
},
title: "Business", description: "Fostering tomorrow's leaders.", href: "#", imageSrc: "http://img.b2bpic.net/free-photo/open-book-icon-symbol-yellow-background-education-bookstore-concept-3d-rendering_56104-1334.jpg"},
{
title: "Law",
description: "Excellence in legal studies.",
href: "#",
imageSrc: "http://img.b2bpic.net/free-vector/legal-protection-services-layer-crime-punishment-labels-set-isolated-vector-illustration_1284-2323.jpg",
},
title: "Law", description: "Excellence in legal studies.", href: "#", imageSrc: "http://img.b2bpic.net/free-vector/legal-protection-services-layer-crime-punishment-labels-set-isolated-vector-illustration_1284-2323.jpg"},
{
title: "Pharmacy",
description: "Advanced pharmacological research.",
href: "#",
imageSrc: "http://img.b2bpic.net/free-photo/medical-background-paper-cut-caduceus-medical-symbol-with-co_1232-1767.jpg",
},
title: "Pharmacy", description: "Advanced pharmacological research.", href: "#", imageSrc: "http://img.b2bpic.net/free-photo/medical-background-paper-cut-caduceus-medical-symbol-with-co_1232-1767.jpg"},
{
title: "Architecture",
description: "Designing future environments.",
href: "#",
imageSrc: "http://img.b2bpic.net/free-vector/sacred-pentagon-poster_1017-2717.jpg",
},
title: "Architecture", description: "Designing future environments.", href: "#", imageSrc: "http://img.b2bpic.net/free-vector/sacred-pentagon-poster_1017-2717.jpg"},
{
title: "Science",
description: "Scientific inquiry and research.",
href: "#",
imageSrc: "http://img.b2bpic.net/free-vector/laptop-technology-with-cap-graduation-digital-document_24877-53136.jpg",
},
title: "Science", description: "Scientific inquiry and research.", href: "#", imageSrc: "http://img.b2bpic.net/free-vector/laptop-technology-with-cap-graduation-digital-document_24877-53136.jpg"},
]}
/>
</SectionErrorBoundary>
@@ -102,21 +71,13 @@ export default function HomePage() {
description="Growing and thriving over years of service."
metrics={[
{
value: "15+",
description: "Institutions",
},
value: "15+", description: "Institutions"},
{
value: "20k+",
description: "Students",
},
value: "20k+", description: "Students"},
{
value: "1k+",
description: "Faculty",
},
value: "1k+", description: "Faculty"},
{
value: "30+",
description: "Years of Excellence",
},
value: "30+", description: "Years of Excellence"},
]}
/>
</SectionErrorBoundary>
@@ -130,26 +91,11 @@ export default function HomePage() {
description="Stay informed about college events and updates."
steps={[
{
tag: "Event",
title: "Convocation 2024",
subtitle: "November 20th",
description: "Our annual graduation ceremony for the class of 2024.",
imageSrc: "https://storage.googleapis.com/webild/default/no-image.jpg?id=01xgjw",
},
tag: "Event", title: "Convocation 2024", subtitle: "November 20th", description: "Our annual graduation ceremony for the class of 2024.", imageSrc: "https://storage.googleapis.com/webild/default/no-image.jpg?id=01xgjw"},
{
tag: "Admissions",
title: "2025 Intake",
subtitle: "Open Now",
description: "Applications for the upcoming session are now open.",
imageSrc: "http://img.b2bpic.net/free-vector/hospital-care-labels-template_23-2151176460.jpg",
},
tag: "Admissions", title: "2025 Intake", subtitle: "Open Now", description: "Applications for the upcoming session are now open.", imageSrc: "http://img.b2bpic.net/free-vector/hospital-care-labels-template_23-2151176460.jpg"},
{
tag: "Research",
title: "Annual Summit",
subtitle: "December",
description: "Join us for a two-day national level research conference.",
imageSrc: "http://img.b2bpic.net/free-photo/happy-successful-agent-giving-name-card_74855-2302.jpg",
},
tag: "Research", title: "Annual Summit", subtitle: "December", description: "Join us for a two-day national level research conference.", imageSrc: "http://img.b2bpic.net/free-photo/happy-successful-agent-giving-name-card_74855-2302.jpg"},
]}
/>
</SectionErrorBoundary>
@@ -163,17 +109,11 @@ export default function HomePage() {
description="Find answers to your common queries."
items={[
{
question: "How can I apply for admission?",
answer: "You can fill out the application form available on our admissions portal.",
},
question: "How can I apply for admission?", answer: "You can fill out the application form available on our admissions portal."},
{
question: "Are scholarships available?",
answer: "Yes, merit-based scholarships are available for deserving candidates.",
},
question: "Are scholarships available?", answer: "Yes, merit-based scholarships are available for deserving candidates."},
{
question: "What is the campus location?",
answer: "We have multiple locations; please check the institution pages for specific addresses.",
},
question: "What is the campus location?", answer: "We have multiple locations; please check the institution pages for specific addresses."},
]}
/>
</SectionErrorBoundary>
@@ -185,13 +125,9 @@ export default function HomePage() {
tag="Support"
text="Have any questions? We are here to help."
primaryButton={{
text: "Contact Us",
href: "mailto:info@priyadarshini.edu",
}}
text: "Contact Us", href: "mailto:info@priyadarshini.edu"}}
secondaryButton={{
text: "Visit Campus",
href: "#",
}}
text: "Visit Campus", href: "#"}}
/>
</SectionErrorBoundary>
</div>