mirror of
https://github.com/umami-software/umami.git
synced 2026-02-20 04:25:39 +01:00
Added custom branding env-vars
This commit is contained in:
parent
ab4a60f814
commit
29fa4fe3bd
3 changed files with 10 additions and 3 deletions
|
|
@ -27,7 +27,11 @@ export default function Header() {
|
|||
<header className={classNames(styles.header, 'row')}>
|
||||
<div className={styles.title}>
|
||||
<Icon icon={<Logo />} size="large" className={styles.logo} />
|
||||
<Link href={isSharePage ? HOMEPAGE_URL : '/'}>umami</Link>
|
||||
<Link
|
||||
href={isSharePage ? process.env.NEXT_PUBLIC_CUSTOM_HOMEPAGE_URL || HOMEPAGE_URL : '/'}
|
||||
>
|
||||
{process.env.NEXT_PUBLIC_CUSTOM_TITLE || 'umami'}
|
||||
</Link>
|
||||
</div>
|
||||
<HamburgerButton />
|
||||
{user && (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue