mirror of
https://github.com/kremalicious/umami.git
synced 2024-12-24 18:26:20 +01:00
30 lines
940 B
JavaScript
30 lines
940 B
JavaScript
import { Column, Icon, Row, Text } from 'react-basics';
|
|
import Link from 'next/link';
|
|
import LanguageButton from 'components/input/LanguageButton';
|
|
import ThemeButton from 'components/input/ThemeButton';
|
|
import SettingsButton from 'components/input/SettingsButton';
|
|
import Icons from 'components/icons';
|
|
import styles from './Header.module.css';
|
|
|
|
export default function Header() {
|
|
return (
|
|
<header className={styles.header}>
|
|
<Row>
|
|
<Column>
|
|
<Link href="https://umami.is" target="_blank" className={styles.title}>
|
|
<Icon size="lg">
|
|
<Icons.Logo />
|
|
</Icon>
|
|
<Text>umami</Text>
|
|
</Link>
|
|
</Column>
|
|
<Column className={styles.buttons}>
|
|
<ThemeButton tooltipPosition="bottom" />
|
|
<LanguageButton tooltipPosition="bottom" menuPosition="bottom" />
|
|
<SettingsButton />
|
|
</Column>
|
|
</Row>
|
|
</header>
|
|
);
|
|
}
|