Enhancement : Decouple the UI by using conditional rendering for each module

This commit is contained in:
Aj - Thomas
2022-05-08 20:54:40 +02:00
parent 5f58f84843
commit 4452b088c8
8 changed files with 24 additions and 5 deletions

View File

@@ -13,7 +13,7 @@ import { NextLink } from '@mantine/next';
import { Logo } from './Logo';
import { ColorSchemeToggle } from '../ColorSchemeToggle/ColorSchemeToggle';
import { SettingsMenuButton } from '../Settings/SettingsMenu';
import CalendarComponent from '../calendar/CalendarComponent';
import CalendarComponent from '../modules/calendar/CalendarModule';
const HEADER_HEIGHT = 60;

View File

@@ -1,7 +1,7 @@
import { AppShell, Aside, Center, createStyles } from '@mantine/core';
import { Header } from './Header';
import { Footer } from './Footer';
import CalendarComponent from '../calendar/CalendarComponent';
import CalendarComponent from '../modules/calendar/CalendarModule';
const useStyles = createStyles((theme) => ({
main: {