mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +01:00
26 lines
680 B
TypeScript
26 lines
680 B
TypeScript
import { Row, ThemeButton } from '@umami/react-zen';
|
|
import { LanguageButton } from '@/components/input/LanguageButton';
|
|
import { ProfileButton } from '@/components/input/ProfileButton';
|
|
|
|
export function TopNav() {
|
|
return (
|
|
<Row
|
|
position="absolute"
|
|
top="0"
|
|
alignItems="center"
|
|
justifyContent="flex-end"
|
|
paddingY="2"
|
|
paddingX="3"
|
|
paddingRight="5"
|
|
width="100%"
|
|
style={{ position: 'sticky', top: 0 }}
|
|
zIndex={1}
|
|
>
|
|
<Row alignItems="center" justifyContent="flex-end" backgroundColor="2" borderRadius>
|
|
<ThemeButton />
|
|
<LanguageButton />
|
|
<ProfileButton />
|
|
</Row>
|
|
</Row>
|
|
);
|
|
}
|