Smarter under construction layout
This commit is contained in:
@@ -2,7 +2,11 @@
|
||||
<div class="bg-[url('/images/devon_starfield.png')] bg-cover min-h-screen flex items-center justify-center">
|
||||
<div class="text-4xl font-bold text-white">
|
||||
<figure class="flex justify-center items-center">
|
||||
{{ partial "image" (dict "Src" .Params.Image "Alt" "Banner" "Class" "w-1/3 h-1/3" ) }}
|
||||
{{ $constructionBanner := "/images/under-construction.svg" }}
|
||||
{{ if .Params.Image }}
|
||||
{{ $constructionBanner = .Params.Image }}
|
||||
{{ end }}
|
||||
{{ partial "image" (dict "Src" $constructionBanner "Alt" "Banner" "Class" "w-1/3 h-1/3" ) }}
|
||||
</figure>
|
||||
<h1 class="text-white">Under Construction</h1>
|
||||
<p class="text-lg text-white text-center">We're actively working on this bit!</p>
|
||||
|
||||
Reference in New Issue
Block a user