Download frontend/src/App.js from ashwinR/Portfolio: direct link, hf CLI and curl.
- Browser
- Download file 818 Bytes
-
https://huggingface.co/spaces/ashwinR/Portfolio/resolve/main/frontend/src/App.js
- Command line
-
hf download hf://spaces/ashwinR/Portfolio/frontend/src/App.js
-
curl -L -o App.js https://huggingface.co/spaces/ashwinR/Portfolio/resolve/main/frontend/src/App.js
818 Bytes
| import React from "react"; | |
| import { BrowserRouter as Router, Routes, Route } from "react-router-dom"; | |
| import Nav from "./nav/Nav.js"; | |
| import About from "./about/About"; | |
| import Skills from "./skills/Skills"; | |
| import Projects from "./projects/Projects"; | |
| import Contact from "./contact/Contact"; | |
| import "./styles/app.css"; | |
| import Background from "./background/Background.js"; | |
| import PlayerStats from "./playerStats/PlayerStats.js"; | |
| const App = () => { | |
| return ( | |
| <Router> | |
| <Nav /> | |
| <Background /> | |
| <Routes> | |
| <Route path="/" element={<About />} /> | |
| <Route path="/skills" element={<Skills />} /> | |
| <Route path="/projects" element={<Projects />} /> | |
| <Route path="/contact" element={<Contact />} /> | |
| </Routes> | |
| <PlayerStats /> | |
| </Router> | |
| ); | |
| }; | |
| export default App; |