From a3844f2f839a040f1f2c0e7fe19414080e007e69 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Thu, 22 Sep 2022 17:32:00 +0200 Subject: Add icon --- components/VHeader.vue | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/components/VHeader.vue b/components/VHeader.vue index 77578b4..0886f08 100644 --- a/components/VHeader.vue +++ b/components/VHeader.vue @@ -11,11 +11,14 @@ span.sr-only Open main menu svg.block.h-6.w-6(xmlns="http://www.w3.org/2000/svg" fill="none" viewbox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true") path(stroke-linecap="round" stroke-linejoin="round" d="M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5") - svg.hidden.h-6.w-6(xmlns="http://www.w3.org/2000/svg" fill="none" viewbox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true") - path(stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12") + .flex.flex-1.items-center.justify-center(class="sm:items-stretch sm:justify-start") .flex.flex-shrink-0.items-center - img.block.h-8.w-auto(src="https://tailwindui.com/img/logos/mark.svg?color=indigo&shade=500" alt="Your Company") + + + .hidden(class="sm:ml-6 sm:block") .flex.space-x-4 a.text-white.px-3.py-2.rounded-md.text-sm.font-medium(:class="[routeName == 'index' ? 'bg-green-900': 'text-gray-300']" href="/" aria-current="page") Home @@ -62,7 +65,7 @@ - | Entra + | Sign #mobile-menu(class="sm:hidden" v-if="boxInfo") .space-y-1.px-2.pt-2.pb-3 a.text-white.block.px-3.py-2.rounded-md.text-base.font-medium(:class="[routeName == 'index' ? 'bg-green-900': 'text-gray-300']" href="/" aria-current="page") Home -- cgit v1.2.3-18-g5258