diff --git a/src/App.tsx b/src/App.tsx
index a70272c..674d376 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -1,34 +1,31 @@
-import './App.css'
-import Navbar from "./components/Navbar.tsx";
-import {BrowserRouter, Route, Routes} from "react-router-dom";
+import './App.css';
+import Navbar from './components/Navbar';
+import { BrowserRouter, Routes, Route } from 'react-router-dom';
function Home() {
- return null;
+ return
Home Page
;
}
function Feed() {
- return null;
+ return Feed Page
;
}
function Record() {
- return null;
+ return Record Page
;
}
function Archive() {
- return null;
+ return Archive Page
;
}
function Profile() {
- return null;
+ return Profile Page
;
}
-function App() {
-
+export default function App() {
return (
-
-
-
+
} />
} />
@@ -37,7 +34,5 @@ function App() {
} />
- )
+ );
}
-
-export default App
diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx
index ef7efba..f2d3ade 100644
--- a/src/components/Navbar.tsx
+++ b/src/components/Navbar.tsx
@@ -1,14 +1,26 @@
-import {NavLink} from 'react-router-dom'
-import '../styles/navbar.css'
+import { NavLink } from 'react-router-dom';
export default function Navbar() {
+ const linkClasses = ({ isActive }: { isActive: boolean }) =>
+ isActive ? 'text-blue-600 font-semibold' : 'text-gray-600';
+
return (
-