accessibility update
All checks were successful
Hugo / build (push) Successful in 12s

This commit is contained in:
brooke 2024-07-13 17:20:42 -04:00
parent 79b145cbe1
commit e974b23781
3 changed files with 19 additions and 7 deletions

View file

@ -17,20 +17,26 @@ params:
home: home:
- categoryName: 'Backdrops' - categoryName: 'Backdrops'
img: https://placehold.co/300x200/ img: https://placehold.co/300x200/
alt:
- categoryName: 'Arches' - categoryName: 'Arches'
img: https://placehold.co/300x200/ img: https://placehold.co/300x200/
alt:
- categoryName: 'Canopies' - categoryName: 'Canopies'
img: https://placehold.co/300x200/ img: https://placehold.co/300x200/
alt:
- categoryName: 'Chandeliers' - categoryName: 'Chandeliers'
img: https://placehold.co/300x200/ img: https://placehold.co/300x200/
alt:
- categoryName: 'Signaturepieces' - categoryName: 'Signaturepieces'
img: https://placehold.co/300x200/ img: https://placehold.co/300x200/
alt:
- categoryName: 'Centerpieces' - categoryName: 'Centerpieces'
img: https://placehold.co/300x200/ img: https://placehold.co/300x200/
social: social:
main: main:
- url: 'mailto:iangalloart@gmail.com' - url: 'mailto:iangalloart@gmail.com'
label: Email mailto link iangalloart at gmail dot com
icon: > icon: >
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24"
height="24" fill="none" stroke="currentColor" stroke-linecap="round" height="24" fill="none" stroke="currentColor" stroke-linecap="round"
@ -39,6 +45,7 @@ params:
<path d="M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-3.92 7.94"></path> <path d="M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-3.92 7.94"></path>
</svg> </svg>
- url: 'https://www.instagram.com/gallowelding/' - url: 'https://www.instagram.com/gallowelding/'
label: Link to Gallo Welding Instagram
icon: > icon: >
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24"
height="24" fill="none" stroke="currentColor" stroke-linecap="round" height="24" fill="none" stroke="currentColor" stroke-linecap="round"
@ -71,5 +78,7 @@ menus:
url: /contact/ url: /contact/
weight: 5 weight: 5
taxonomies: disableKinds:
tag: tags - taxonomy
ignoreErrors:
- error-disable-taxonomy

View file

@ -3,13 +3,15 @@
> >
<div class="w-9/12 flex flex-row justify-between"> <div class="w-9/12 flex flex-row justify-between">
<div class="flex flex-row gap-8"> <div class="flex flex-row gap-8">
<a class="text-white hover:text-gray-400" href="/admin"> <a class="text-white hover:text-gray-400" href="/admin"> Admin </a>
Admin
</a>
</div> </div>
<div class="flex flex-row gap-2"> <div class="flex flex-row gap-2">
{{ range .Site.Params.social.main }} {{ range .Site.Params.social.main }}
<a target="_blank" href="{{ .url | safeURL }}"> <a
target="_blank"
aria-label="{{ .label }}"
href="{{ .url | safeURL }}"
>
{{ .icon | safeHTML }} {{ .icon | safeHTML }}
</a> </a>
{{ end }} {{ end }}

View file

@ -1,10 +1,11 @@
<div class="p-4 min-h-[40.27px] flex flex-row w-full justify-between bg-black"> <div class="p-4 min-h-[40.27px] flex flex-row w-full justify-between bg-black">
<a href="/"><img class="w-44 h-[40.2667px]" alt="{{ .Site.Params.logoAlt }}" src="{{ .Site.Params.logo }}" /></a> <a aria-label="Back to home" href="/"><img class="w-44 h-[40.2667px]" alt="{{ .Site.Params.logoAlt }}" src="{{ .Site.Params.logo }}" /></a>
<nav class="place-self-center h-8 flex justify-end gap-2 text-white pr-6"> <nav class="place-self-center h-8 flex justify-end gap-2 text-white pr-6">
{{ range .Site.Menus.main }} {{ range .Site.Menus.main }}
<a <a
class="ml-2 underline underline-offset-0 decoration-2 decoration-transparent hover:decoration-white hover:underline-offset-2 ease-in-out duration-300 place-self-center" class="ml-2 underline underline-offset-0 decoration-2 decoration-transparent hover:decoration-white hover:underline-offset-2 ease-in-out duration-300 place-self-center"
href="{{ .URL }}" href="{{ .URL }}"
aria-label="{{ .Identifier }}"
> >
{{ $text := print .Name | safeHTML }} {{ $text }} {{ $text := print .Name | safeHTML }} {{ $text }}
</a> </a>