import { Routes, Route } from 'react-router-dom';
import Home from './Home';
import Footer from './Footer';
import Random from './Random';


function AllRoutes() {
    return (
        <Routes>
            <Route path="/" element={ <Home/> }></Route>
            <Route path="footer" element={ <Footer/> }></Route>
            <Route path='random-img' element={ <Random/> }></Route>
        </Routes>
    )
}


export default AllRoutes