mirror of
https://github.com/kremalicious/umami.git
synced 2024-12-18 15:23:38 +01:00
Add UpdateNotice to Header
This commit is contained in:
parent
4f24834265
commit
1e0274db09
@ -6,6 +6,7 @@ import Link from 'components/common/Link';
|
|||||||
import Icon from 'components/common/Icon';
|
import Icon from 'components/common/Icon';
|
||||||
import LanguageButton from 'components/settings/LanguageButton';
|
import LanguageButton from 'components/settings/LanguageButton';
|
||||||
import ThemeButton from 'components/settings/ThemeButton';
|
import ThemeButton from 'components/settings/ThemeButton';
|
||||||
|
import UpdateNotice from 'components/common/UpdateNotice';
|
||||||
import UserButton from 'components/settings/UserButton';
|
import UserButton from 'components/settings/UserButton';
|
||||||
import Logo from 'assets/logo.svg';
|
import Logo from 'assets/logo.svg';
|
||||||
import styles from './Header.module.css';
|
import styles from './Header.module.css';
|
||||||
@ -15,6 +16,7 @@ export default function Header() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<header className="container">
|
<header className="container">
|
||||||
|
{user && <UpdateNotice />}
|
||||||
<div className={classNames(styles.header, 'row align-items-center')}>
|
<div className={classNames(styles.header, 'row align-items-center')}>
|
||||||
<div className="col-12 col-md-12 col-lg-3">
|
<div className="col-12 col-md-12 col-lg-3">
|
||||||
<div className={styles.title}>
|
<div className={styles.title}>
|
||||||
|
Loading…
Reference in New Issue
Block a user