//Page2.js import React, { useState } from "react"; import { Link } from "react-router-dom"; import './Page2.css'; // CSS File import // Import images from the src/components folder import image from './components/image.png'; import somaiyatrust from './components/somaiyatrust.png'; import redlines from './components/redlines.png'; const Page2 = () => { const [selectedStream, setSelectedStream] = useState(null); // Handle stream click to display content const handleStreamClick = (stream) => { setSelectedStream(stream); }; return (
{/* Header Bar */}
Left Logo

Somaiya Scheduler

Right Logo
{/* Navigation Bar */} {/* Main Content Container */}
{/* Stream Bar (Right Side) */}

Streams

  • handleStreamClick("Engineering & Technology")}>Engineering & Technology
  • handleStreamClick("Management")}>Management Studies
  • handleStreamClick("Education")}>Education
  • handleStreamClick("Dharama")}>Dharama Studies
  • handleStreamClick("Commerce")}>Commerce & Business Studies
  • handleStreamClick("Science")}>Science
  • handleStreamClick("Humanities")}>Humanities & Social Science
  • handleStreamClick("Music")}>Music Performance & Art
  • handleStreamClick("Language")}>Language & Literature
{/* Content Area (Left Side) */}
{selectedStream ? (

You selected {selectedStream}. Here are the programs and faculty details.

) : (

Select a stream to view its programs and faculty.

)}
{/* Footer */}
); }; export default Page2;