mirror of
https://koodu.h-i.works/projects/thebadspace
synced 2025-06-25 16:04:37 -05:00
Added mobile first menu and started responsive
Swithced the main nav to a mobile layout to cut down on complex responsive styling to make the heaader work. Also began touching up site wide responsive styles so the site works on multiple devices.
This commit is contained in:
@ -12,37 +12,47 @@
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<header>
|
||||
<div>
|
||||
<div class="nav-left">
|
||||
<div class="header-left">
|
||||
<a href="/">
|
||||
<img src="/assets/images/global/logo-dark.svg" title="bad-space-logo" />
|
||||
</a>
|
||||
</div>
|
||||
<div>
|
||||
<div class="header-center">
|
||||
<h1>{{$title}}</h1>
|
||||
</div>
|
||||
<div>
|
||||
<nav>
|
||||
<a href="/about" title="about" class="nav-links">
|
||||
About
|
||||
</a><br />
|
||||
<a href="/listings/1" title="instance listing" class="nav-links">
|
||||
Listings
|
||||
</a><br />
|
||||
@if(Auth::check())
|
||||
<a href="/den" title="den-start" class="nav-links">
|
||||
Den
|
||||
<div class="header-right">
|
||||
<label for="element-toggle">
|
||||
<img class="menu-icon" src="/assets/images/global/menu.svg" title="menu-open-toggle" />
|
||||
</label>
|
||||
<input id="element-toggle" type="checkbox" />
|
||||
<div id="main-nav">
|
||||
<nav>
|
||||
<label for="element-toggle">
|
||||
<img class="menu-icon" src="/assets/images/global/close.svg" title="menu-open-toggle" />
|
||||
</label><br>
|
||||
<a href="/about" title="about" class="nav-links">
|
||||
About
|
||||
</a><br />
|
||||
<a href="/logout" title="logout" class="nav-links">
|
||||
Logout
|
||||
<a href="/listings/1" title="instance listing" class="nav-links">
|
||||
Listings
|
||||
</a><br />
|
||||
@else
|
||||
<a href="/den" title="login" class="nav-links">
|
||||
The Den
|
||||
</a><br />
|
||||
@endif
|
||||
</nav>
|
||||
@if(Auth::check())
|
||||
<a href="/den" title="den-start" class="nav-links">
|
||||
Den
|
||||
</a><br />
|
||||
<a href="/logout" title="logout" class="nav-links">
|
||||
Logout
|
||||
</a><br />
|
||||
@else
|
||||
<a href="/den" title="login" class="nav-links">
|
||||
The Den
|
||||
</a><br />
|
||||
@endif
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
Reference in New Issue
Block a user