File tree Expand file tree Collapse file tree 4 files changed +13
-11
lines changed
Expand file tree Collapse file tree 4 files changed +13
-11
lines changed Original file line number Diff line number Diff line change 11import { HashRouter , Routes , Route } from 'react-router'
22import Home from './pages/Home.jsx'
33import Projects from './pages/Projects.jsx'
4+ import Navbar from './components/Navbar.jsx'
45
56function App ( ) {
67 return (
78 < >
9+ < Navbar />
810 < HashRouter >
911 < Routes >
1012 < Route path = "/" element = { < Home /> } />
Original file line number Diff line number Diff line change 11function Navbar ( ) {
22 return (
33 < nav
4- className = "sticky top-4 z-10 mb-8 mx-auto w-[75%] sm:w-4/6
4+ className = "sticky top-4 z-10 mb-8 mx-auto w-[75%]
55 bg-white/5 backdrop-blur-xs border border-white/15
66 rounded-full"
77 >
8- < div className = "flex justify-between items-center px-8 py-4 text-gray-200 text-lg font-extralight" >
9- < a
10- href = "#"
11- className = "font-light text-white tracking-wide hover:text-brand"
12- >
13- DFelipeh's Corner
14- </ a >
8+ < div className = "flex justify-center sm:justify-between items-center px-8 py-4 text-gray-200 text-lg font-extralight" >
9+ < div className = "hidden sm:block" >
10+ < a
11+ href = "#"
12+ className = "font-light text-white tracking-wide hover:text-brand"
13+ >
14+ DFelipeh's Corner
15+ </ a >
16+ </ div >
1517
16- < div className = "space-x-4 hidden sm: flex" >
18+ < div className = "space-x-4 flex" >
1719 < a href = "#" className = "hover:text-brand" >
1820 Home
1921 </ a >
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import Navbar from '../components/Navbar'
44function App ( ) {
55 return (
66 < >
7- < Navbar />
87 < div className = "flex gap-2 items-center justify-center" >
98 < h1 className = "text-3xl text-center" >
109 DFelipeh
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import Navbar from '../components/Navbar'
33function App ( ) {
44 return (
55 < >
6- < Navbar />
76 < div className = "flex gap-2 items-center justify-center" >
87 < h1 className = "text-3xl text-center" >
98 Projects page
You can’t perform that action at this time.
0 commit comments