This commit is contained in:
parent
79b145cbe1
commit
e974b23781
3 changed files with 19 additions and 7 deletions
13
config.yaml
13
config.yaml
|
@ -17,20 +17,26 @@ params:
|
|||
home:
|
||||
- categoryName: 'Backdrops'
|
||||
img: https://placehold.co/300x200/
|
||||
alt:
|
||||
- categoryName: 'Arches'
|
||||
img: https://placehold.co/300x200/
|
||||
alt:
|
||||
- categoryName: 'Canopies'
|
||||
img: https://placehold.co/300x200/
|
||||
alt:
|
||||
- categoryName: 'Chandeliers'
|
||||
img: https://placehold.co/300x200/
|
||||
alt:
|
||||
- categoryName: 'Signaturepieces'
|
||||
img: https://placehold.co/300x200/
|
||||
alt:
|
||||
- categoryName: 'Centerpieces'
|
||||
img: https://placehold.co/300x200/
|
||||
|
||||
social:
|
||||
main:
|
||||
- url: 'mailto:iangalloart@gmail.com'
|
||||
label: Email mailto link iangalloart at gmail dot com
|
||||
icon: >
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24"
|
||||
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>
|
||||
</svg>
|
||||
- url: 'https://www.instagram.com/gallowelding/'
|
||||
label: Link to Gallo Welding Instagram
|
||||
icon: >
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24"
|
||||
height="24" fill="none" stroke="currentColor" stroke-linecap="round"
|
||||
|
@ -71,5 +78,7 @@ menus:
|
|||
url: /contact/
|
||||
weight: 5
|
||||
|
||||
taxonomies:
|
||||
tag: tags
|
||||
disableKinds:
|
||||
- taxonomy
|
||||
ignoreErrors:
|
||||
- error-disable-taxonomy
|
||||
|
|
|
@ -3,13 +3,15 @@
|
|||
>
|
||||
<div class="w-9/12 flex flex-row justify-between">
|
||||
<div class="flex flex-row gap-8">
|
||||
<a class="text-white hover:text-gray-400" href="/admin">
|
||||
Admin
|
||||
</a>
|
||||
<a class="text-white hover:text-gray-400" href="/admin"> Admin </a>
|
||||
</div>
|
||||
<div class="flex flex-row gap-2">
|
||||
{{ range .Site.Params.social.main }}
|
||||
<a target="_blank" href="{{ .url | safeURL }}">
|
||||
<a
|
||||
target="_blank"
|
||||
aria-label="{{ .label }}"
|
||||
href="{{ .url | safeURL }}"
|
||||
>
|
||||
{{ .icon | safeHTML }}
|
||||
</a>
|
||||
{{ end }}
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
<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">
|
||||
{{ range .Site.Menus.main }}
|
||||
<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"
|
||||
href="{{ .URL }}"
|
||||
aria-label="{{ .Identifier }}"
|
||||
>
|
||||
{{ $text := print .Name | safeHTML }} {{ $text }}
|
||||
</a>
|
||||
|
|
Loading…
Add table
Reference in a new issue