Minor UI improvements in app header
This commit is contained in:
parent
6828537153
commit
a4c0ad61e4
@ -21,10 +21,14 @@ export const Header = ({ langName }: { langName: string }) => {
|
|||||||
<div style={{ flex: 1, textAlign: "right", paddingRight: 8 }}>
|
<div style={{ flex: 1, textAlign: "right", paddingRight: 8 }}>
|
||||||
<Button
|
<Button
|
||||||
minimal
|
minimal
|
||||||
icon={<Icon icon="moon" />}
|
title="Toggle between dark and light mode"
|
||||||
|
icon={<Icon icon={DarkMode.isDark ? "flash" : "moon"} />}
|
||||||
onClick={DarkMode.toggleDark}
|
onClick={DarkMode.toggleDark}
|
||||||
/>
|
/>
|
||||||
<a href="https://github.com/nilaymaj/esolang-park">
|
<a
|
||||||
|
href="https://github.com/nilaymaj/esolang-park"
|
||||||
|
title="GitHub repository"
|
||||||
|
>
|
||||||
<Button minimal icon={<Icon icon={<GitHubIcon />} />} />
|
<Button minimal icon={<Icon icon={<GitHubIcon />} />} />
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user