diff --git a/README.md b/README.md index 567f125..86edcc0 100644 --- a/README.md +++ b/README.md @@ -65,9 +65,9 @@ services: POSTGRES_USER: picsur restart: unless-stopped volumes: - - db-data:/var/lib/postgresql/data + - picsur-data:/var/lib/postgresql/data volumes: - db-data: + picsur-data: ``` ## Api diff --git a/frontend/craco.config.js b/frontend/craco.config.js index 14045c4..ca8883d 100644 --- a/frontend/craco.config.js +++ b/frontend/craco.config.js @@ -1,5 +1,4 @@ const scopedcss = require('craco-plugin-scoped-css'); -const path = require('path'); const webpack = require('webpack'); module.exports = { @@ -17,7 +16,7 @@ module.exports = { port: 3300, liveReload: true, - hot: true, + hot: false, open: false, }, plugins: [ diff --git a/frontend/src/app.scss b/frontend/src/app.scss index 6a64dd7..6d27fd9 100644 --- a/frontend/src/app.scss +++ b/frontend/src/app.scss @@ -1,8 +1,21 @@ +html, +body, +#root { + height: 100%; +} + +#root { + display: flex; + flex-direction: column; +} + +.main-container { + flex-grow: 1; +} + .contentwindow { - width: 85vw; - height: 80vh; - margin: auto; border-radius: 20px; + height: 100%; border-style: solid; border-width: 5px; diff --git a/frontend/src/app.tsx b/frontend/src/app.tsx index 84e4135..dad2d1b 100644 --- a/frontend/src/app.tsx +++ b/frontend/src/app.tsx @@ -4,6 +4,9 @@ import Centered from './components/centered/centered'; import './app.scss'; import AppRouter from './routes/router'; import { SnackbarProvider } from 'notistack'; +import Header from './components/header/header'; +import { Container } from '@mui/material'; +import Footer from './components/footer/footer'; export default function App() { const darkTheme = createTheme({ @@ -15,11 +18,12 @@ export default function App() { return ( - - +
+ - + +