Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 | 2x | import React from "react";
import "./HeroSection.scss";
import { Button, Typography, Container, Box } from "@mui/material";
import { useNavigate } from "react-router-dom";
import ArrowForwardIcon from "@mui/icons-material/ArrowForward";
import MenuBookOutlinedIcon from "@mui/icons-material/MenuBookOutlined";
import SchoolOutlinedIcon from "@mui/icons-material/SchoolOutlined";
import AnalyticsOutlinedIcon from "@mui/icons-material/AnalyticsOutlined";
import AutoGraphOutlinedIcon from "@mui/icons-material/AutoGraphOutlined";
import VerifiedOutlinedIcon from "@mui/icons-material/VerifiedOutlined";
const HeroSection = () => {
const navigate = useNavigate();
const stats = [
{
icon: <MenuBookOutlinedIcon />,
value: "10,000+",
label: "Questions",
},
{
icon: <VerifiedOutlinedIcon />,
value: "TEKS",
label: "Aligned",
},
{
icon: <AnalyticsOutlinedIcon />,
value: "Real-time",
label: "Analytics",
},
{
icon: <AutoGraphOutlinedIcon />,
value: "AI-Powered",
label: "Insights",
},
];
return (
<section className="hero-section">
<div className="hero-background">
<div className="gradient-overlay" />
</div>
<Container maxWidth="lg" className="hero-container">
<div className="hero-content">
<div className="hero-text">
<Typography variant="h1" className="hero-headline">
Elevate Education with <span className="brand-name">EruditionTX</span>
</Typography>
<Typography variant="body1" className="hero-subheadline">
A comprehensive platform designed to empower educators, engage students, and deliver
measurable outcomes through thoughtful technology and data-driven insights.
</Typography>
<div className="hero-actions">
<Button
id="hero-cta-start-learning"
variant="contained"
size="large"
className="primary-cta"
endIcon={<ArrowForwardIcon />}
onClick={() => navigate("/contact")}
>
Get Started
</Button>
<Button
id="hero-cta-explore"
variant="text"
size="large"
className="secondary-cta"
onClick={() => navigate("/about")}
>
Learn More
</Button>
</div>
</div>
<div className="hero-stats">
<div className="stats-grid">
{stats.map((stat, index) => (
<div key={index} className="stat-card" style={{ animationDelay: `${0.1 * index}s` }}>
<div className="stat-icon">{stat.icon}</div>
<div className="stat-content">
<span className="stat-value">{stat.value}</span>
<span className="stat-label">{stat.label}</span>
</div>
</div>
))}
</div>
</div>
</div>
</Container>
</section>
);
};
export default HeroSection;
|