2023-03-03 21:37:26 +01:00
|
|
|
import { Column, Icon, Row, Text } from 'react-basics';
|
|
|
|
import Link from 'next/link';
|
2023-02-04 17:59:52 +01:00
|
|
|
import LanguageButton from 'components/input/LanguageButton';
|
|
|
|
import ThemeButton from 'components/input/ThemeButton';
|
2023-03-02 08:59:01 +01:00
|
|
|
import SettingsButton from 'components/input/SettingsButton';
|
2023-03-03 21:37:26 +01:00
|
|
|
import Icons from 'components/icons';
|
2022-12-27 01:57:59 +01:00
|
|
|
import styles from './Header.module.css';
|
2020-07-24 04:56:55 +02:00
|
|
|
|
2023-03-03 21:37:26 +01:00
|
|
|
export default function Header() {
|
2020-07-24 04:56:55 +02:00
|
|
|
return (
|
2023-03-03 21:37:26 +01:00
|
|
|
<header className={styles.header}>
|
|
|
|
<Row>
|
|
|
|
<Column>
|
|
|
|
<Link href="https://umami.is" target="_blank">
|
|
|
|
<a className={styles.title}>
|
|
|
|
<Icon size="lg">
|
|
|
|
<Icons.Logo />
|
|
|
|
</Icon>
|
|
|
|
<Text>umami</Text>
|
|
|
|
</a>
|
|
|
|
</Link>
|
|
|
|
</Column>
|
|
|
|
<Column className={styles.buttons}>
|
|
|
|
<ThemeButton tooltipPosition="bottom" />
|
|
|
|
<LanguageButton tooltipPosition="bottom" menuPosition="bottom" />
|
|
|
|
<SettingsButton />
|
|
|
|
</Column>
|
|
|
|
</Row>
|
|
|
|
</header>
|
2020-07-24 04:56:55 +02:00
|
|
|
);
|
|
|
|
}
|