fipamo/resources/views/includes/nav.blade.php
ro 8c727d4414
accessibility audit, icons part 1
using a font for icons isn't great for site accessibility, so all font
icons will be removed and replaced with svgs.

nav and sub nav, page options and recent meta have been replaced
2024-03-20 15:13:50 -06:00

56 lines
1.8 KiB
PHP

<div class="menu">
@if($title == "Settings" )
@include('includes.submenu-settings')
@elseif($title == "Start" )
@include('includes.submenu-start')
@endif
<a id="settings" href="/dashboard/settings" title="settings">
<button>
<svg id="nav-settings-icon" role="icon">
<use id="nav-settings-icon" xlink:href="/assets/images/global/sprite.svg#entypo-cog"/>
</svg>
</button>
</a>
<a id="navigation" href="/dashboard/navigation" title="edit navigation">
<button>
<svg id="nav-menu-icon" role="icon">
<use id="nav-menu-icon" xlink:href="/assets/images/global/sprite.svg#entypo-menu"/>
</svg>
</button>
</a>
<a id="navigation" href="/dashboard/logout" title="log out">
<button>
<svg id="nav-logout-icon" role="icon">
<use id="nav-logout-icon" xlink:href="/assets/images/global/sprite.svg#entypo-log-out"/>
</svg>
</button>
</a>
</div>
<button class="menu-toggle">
<i class="ti ti-menu-2"></i>
</button>
<div class="mobile-menu">
@if($title == "Settings" )
@include('includes.submenu-settings')
@elseif($title == "Start" )
@include('includes.submenu-start')
@endif
<a id="settings" href="/dashboard/settings" title="settings">
<button>
<i class="ti ti-home-cog"></i>
</button>
</a>
<a id="navigation" href="/dashboard/navigation" title="edit navigation">
<button>
<i class="ti ti-arrow-autofit-height"></i>
</button>
</a>
<a id="navigation" href="/dashboard/logout" title="log out">
<button>
<i class="ti ti-logout"></i>
</button>
</a>
</div>