diff --git a/src/App.tsx b/src/App.tsx index 3d7ded3..9b9b1c0 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,35 +1,11 @@ -import { useState } from 'react' -import reactLogo from './assets/react.svg' -import viteLogo from '/vite.svg' import './App.css' +import navbar from "./components/navbar.tsx"; function App() { - const [count, setCount] = useState(0) return ( - <> -
- - Vite logo - - - React logo - -
-

Vite + React

-
- -

- Edit src/App.tsx and save to test HMR -

-
-

- Click on the Vite and React logos to learn more -

- - ) + navbar() + ) } export default App diff --git a/src/components/navbar.tsx b/src/components/navbar.tsx index ffd9446..1aec356 100644 --- a/src/components/navbar.tsx +++ b/src/components/navbar.tsx @@ -1,11 +1,10 @@ -import React from 'react' import {NavLink} from 'react-router-dom' import '../styles/navbar.css' export default function navbar() { return (