diff --git a/frontend/package.json b/frontend/package.json index af93702..a99d4b3 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -10,7 +10,10 @@ }, "dependencies": { "autoprefixer": "^10.4.13", + "eslint-config-prettier": "^8.6.0", + "eslint-plugin-prettier": "^4.2.1", "postcss": "^8.4.21", + "prettier": "^2.8.3", "react": "^18.2.0", "react-dom": "^18.2.0", "tailwindcss": "^3.2.4" @@ -19,6 +22,7 @@ "@types/react": "^18.0.26", "@types/react-dom": "^18.0.9", "@vitejs/plugin-react": "^3.0.0", + "eslint": "^8.32.0", "vite": "^4.0.0" } } diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 0831da0..6abeeac 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -1,42 +1,20 @@ -import { useState } from 'react' -import './App.css' +import { useState } from "react"; +import "./App.css"; +import Nav from "./components/Nav"; function App() { - const [count, setCount] = useState(0) + const [count, setCount] = useState(0); return ( <> -
- - {/* {% block content %}No content here.{% endblock content %} */} -
- {/* {% load version %} */} - {/* {% version %} ({% version_date %}) */} - - ) +
+
+ {/* {% load version %} */} + {/* {% version %} ({% version_date %}) */} + + ); } -export default App +export default App; diff --git a/frontend/src/components/Nav.jsx b/frontend/src/components/Nav.jsx new file mode 100644 index 0000000..90fc858 --- /dev/null +++ b/frontend/src/components/Nav.jsx @@ -0,0 +1,66 @@ +function Nav() { + return ( + + ); +} + +export default Nav