Update header style, add theme to head
This commit is contained in:
parent
b220729b14
commit
e947a4b98d
2 changed files with 23 additions and 15 deletions
|
@ -3,6 +3,7 @@
|
|||
<meta property="og:type" content="website">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="theme-color" content="#333333">
|
||||
<link rel="stylesheet" href="/css/colorschemes/catppuccin-macchiato.css" id="css-colorscheme"/>
|
||||
<link rel="stylesheet" href="/css/master.css"/>
|
||||
<link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32"/>
|
||||
<link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16"/>
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
<nav>
|
||||
<div>
|
||||
<h1>diskfloppy.me | <strong>@yield('title')</strong></h1>
|
||||
<div class="nav-wrapper">
|
||||
<div>
|
||||
<a href="/" title="Home"><img src="/images/icons/nav/home.png" alt="Home" width="32" height="32"></a>
|
||||
<a href="//git.diskfloppy.me/" title="cgit"><img src="/images/icons/nav/repo.png" alt="cgit" width="32" height="32"></a>
|
||||
<a href="/pub/" title="Public Files"><img src="/images/icons/nav/pubfiles.png" alt="Public Files" width="32" height="32"></a>
|
||||
|
@ -10,9 +11,15 @@
|
|||
<!--<a href="/contact/" title="Contact"><img src="/images/icons/nav/mail.png" alt="Contact" width="32" height="32"></a>-->
|
||||
<a href="/weather/" title="Weather"><img src="/images/icons/nav/weather.png" alt="Weather" width="32" height="32"></a>
|
||||
<a href="/music/" title="Music"><img src="/images/icons/nav/music.png" alt="Music" width="32" height="32"></a>
|
||||
@if (auth()->check())
|
||||
<a href="/admin/">admin</a>
|
||||
({{ auth()->user()->name }}) <a href="/logout">logout</a>
|
||||
@endif
|
||||
</div>
|
||||
<div class="theme-selector">
|
||||
<form>
|
||||
<label for="theme">Theme</label>
|
||||
<select name="theme" id="theme-selector" onmousedown="this.value='';" onchange="swapTheme(this.value);">
|
||||
<option value="catppuccin-macchiato">Catppuccin Macchiato</option>
|
||||
<option value="blind-yourself">blind yourself</option>
|
||||
</select>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
|
Loading…
Reference in a new issue