import React, { useState, useEffect } from 'react'; export default function StressClassifier() { const [currentSlide, setCurrentSlide] = useState(0); const slides = [ { url: "https://example.com/image1.jpg", // Replace with your actual Myanmar university student images caption: "Students in Computer Lab" }, { url: "https://example.com/image2.jpg", // Replace with your actual Myanmar university student images caption: "Group Project Discussion" }, { url: "https://example.com/image3.jpg", // Replace with your actual Myanmar university student images caption: "Campus Life" } ]; useEffect(() => { const timer = setInterval(() => { setCurrentSlide((prev) => (prev + 1) % slides.length); }, 3000); return () => clearInterval(timer); }, []); return (
{/* Header */}

University Students' Stress Level Classification

{/* Navigation */}
{/* Slideshow */}
{slides.map((slide, index) => (
{slide.caption}

{slide.caption}

))} {/* Slide indicators */}
{slides.map((_, index) => (
{/* What is Stress Section */}

What is Stress?

Stress can be defined as a state of worry or mental tension caused by a difficult situation. Stress is a natural human response that prompts us to address challenges and threats in our lives.

Everyone experiences stress to some degree. The way we respond to stress, however, makes a big difference to our overall well-being.

{/* Start Button */}
); }