mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-14 01:15:47 +01:00
Enhancement : Decouple the UI by using conditional rendering for each module
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user