From 64605f6f9205b68ddf6224ec4ca13cc0c29f5d70 Mon Sep 17 00:00:00 2001 From: mpuchstein Date: Wed, 2 Jul 2025 16:45:56 +0200 Subject: [PATCH] try to get it working --- src/App.tsx | 30 +++--------------------------- src/components/navbar.tsx | 3 +-- src/styles/navbar.css | 0 3 files changed, 4 insertions(+), 29 deletions(-) create mode 100644 src/styles/navbar.css 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 (