Changed components folder to screens

This commit is contained in:
Noah Knapp 2025-08-01 18:28:25 +02:00
parent 3472b2ce8e
commit 662a530d89
5 changed files with 3 additions and 3 deletions

View file

@ -1,41 +0,0 @@
import React from 'react';
import { useNavigate } from 'react-router-dom';
function Home() {
const navigate = useNavigate();
const handleCreateStation = () => {
navigate('/create-station');
};
const handleJoinStation = () => {
navigate('/join-station');
};
return (
<div className="home-container">
<div className="content">
<h1 className="title">Radio Station Hub</h1>
<p className="subtitle">Create or join a radio station to share music with friends</p>
<div className="button-container">
<button
className="action-button primary"
onClick={handleCreateStation}
>
Create Radio Station
</button>
<button
className="action-button secondary"
onClick={handleJoinStation}
>
Join Radio Station
</button>
</div>
</div>
</div>
);
}
export default Home;