Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(frontend): Auth details page #60

Merged
merged 3 commits into from
Mar 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions frontend/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 2021,
"ecmaFeatures": {
"jsx": true,
"templateStrings": true,
"modules": true,
"experimentalObjectRestSpread": true,
"spread": true
}
}
}
14 changes: 11 additions & 3 deletions frontend/index.html
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="Description" content="Organics Info" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="theme-color" content="#003366" />
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
<link rel="preload" href="https://fonts.googleapis.com/css?family=Material+Icons" as="style" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Material+Icons" />
<link
rel="preload"
href="https://fonts.googleapis.com/css?family=Material+Icons"
as="style"
/>
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css?family=Material+Icons"
/>
<link rel="icon" href="/favicon.ico" />
<title>Organics Info</title>
</head>
<body>
Expand Down
13 changes: 13 additions & 0 deletions frontend/public/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"name": "Organics Info",
"short_name": "OMRR",
"icons": [
{
"src": "favicon.ico",
"sizes": "62x55",
"type": "image/ico"
}
],
"start_url": "/",
"display": "standalone"
}
3 changes: 2 additions & 1 deletion frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { RootState } from '@/app/store'
import CircularProgress from '@mui/material/CircularProgress'
import 'leaflet/dist/leaflet.css'
import { Snackbar } from '@mui/material'
import HeaderWithRouting from '@/components/HeaderWithRouting'

export default function App() {
const status: string = useSelector((state: RootState) => state.omrr.status)
Expand Down Expand Up @@ -51,7 +52,7 @@ export default function App() {
) : (
<><BrowserRouter>
<Grid item xs={12}>
<Header />
<HeaderWithRouting />
</Grid>
<Grid item xs={12}>
<AppRoutes />
Expand Down
Loading