Files
Homarr/src/components/layout/Navbar.tsx

24 lines
581 B
TypeScript
Raw Normal View History

2022-05-15 13:54:25 +02:00
import { Group, Navbar as MantineNavbar } from '@mantine/core';
2022-05-17 21:22:14 +02:00
import { WeatherModule, DateModule, ModuleWrapper } from '../modules';
2022-05-10 18:58:21 +02:00
export default function Navbar() {
return (
<MantineNavbar
hiddenBreakpoint="lg"
2022-05-10 18:58:21 +02:00
hidden
2022-05-15 19:32:02 +02:00
style={{
border: 'none',
}}
2022-05-10 18:58:21 +02:00
width={{
base: 'auto',
}}
>
<Group mt="sm" direction="column" align="center">
2022-05-15 13:54:25 +02:00
<ModuleWrapper module={DateModule} />
</Group>
2022-05-17 21:22:14 +02:00
<ModuleWrapper module={WeatherModule} />
<ModuleWrapper module={WeatherModule} />
2022-05-10 18:58:21 +02:00
</MantineNavbar>
);
}