Smarter under construction layout

main
Abner Coimbre 2024-11-07 10:22:19 -08:00
parent 424081828f
commit 3f12391a8b
2 changed files with 27 additions and 1 deletions

View File

@ -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>

View File

@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg">
<defs>
<linearGradient id="c" x2="0" y1="4.4749" y2="44.237" gradientUnits="userSpaceOnUse">
<stop stop-color="#fff" offset="0"/>
<stop stop-color="#f9f9f9" stop-opacity="0" offset="1"/>
</linearGradient>
<linearGradient id="b" x1="32.36" x2="31.766" y1="37.279" y2="10.187" gradientUnits="userSpaceOnUse">
<stop stop-color="#fff" offset="0"/>
<stop stop-color="#ccc" offset="1"/>
</linearGradient>
<linearGradient id="a" x1="31.473" x2="32.178" y1="57.589" y2="2.8661" gradientUnits="userSpaceOnUse">
<stop stop-color="#f00" offset="0"/>
<stop stop-color="#c93c3c" offset=".5"/>
<stop stop-color="#bc4949" offset="1"/>
</linearGradient>
</defs>
<path d="m58.309 57.798-52.634 1e-6c-3.1933-0.07159-4.6767-1.3645-4.176-4.0747 0.17797-1.0192 0.72094-1.9204 1.1618-2.8451l26.249-45.149c2.1738-2.8361 4.4182-2.8676 6.5709 0.00915l27.082 46.907c1.0328 1.8482 0.8065 5.379-4.2537 5.1522z" fill="url(#a)" stroke="#000" stroke-width=".95204"/>
<path d="m56.8 52.827h-49.474l24.784-42.957 24.689 42.957z" fill="url(#b)" stroke="#fff5f5" stroke-opacity=".02556" stroke-width=".07273"/>
<path d="m35.64281,23.93298c-1.32829,0-2.40594,1.08872-2.40594,2.43096 0,.28411.04894.55551.1376.80893-.25038.10482-.52758.25575-.82144.46701l-.20015-.17513-.22934-.1793c-1.96405-1.50107-3.57351-1.70948-5.40399-1.40938-2.74706.60949-2.78574,3.41782-3.5151,5.66669-1.13401,1.48104-.62672,2.09534.17096,2.22665 .31702.05979.54351.0287.70469-.07088l.54207.30022c-.34455.72232-.64361,1.45575-.85897,2.20163-.73844,6.80942-4.52935,7.27603-6.88008,10.72042 .62919,1.2134 1.25976,2.45764 2.33506,3.58181l1.13834-.0125c-.44282-.72501-.92845-1.42687-1.11332-2.28085 2.67748-3.21587 4.7896-2.17266 8.03093-9.6488 3.47752,2.85039 2.47588,7.94141 3.71108,11.91297l4.60757.02085c-.36493-.58369-.99133-.98412-2.11823-1.02994-.44082-3.62948-.38738-7.3653-1.38853-10.8747l2.99805,1.83469c.0976.92964 1.10534,1.35017 1.67207,1.02576l2.36425,1.4469c.2251.13785.34098.2354.32941.25436-1.1746,1.92473-1.83985,4.43191-2.15576,7.33459h14.34393l-6.24211-11.34172c-2.34514.40484-4.08226,1.49879-5.34562,3.13565-.0117.01516-.2157.32835-.4003.21266l-2.53104-1.58451c.01696-.09231.02368-.19521.01668-.30856-.33003-1.28024-.92659-3.03308-1.76797-4.5492 .25697-1.5957.66127-3.1416.24602-5.08292-.12757-.53117-.56363-1.11364-1.23008-1.73462l-.21683-.18764c.15728-.17987.28291-.35232.38362-.51705 .328.16944.69881.26686 1.09247.26686 1.32829,0 2.40595-1.08872 2.40595-2.43096s-1.07765-2.43096-2.40595-2.43096zm-8.49795,4.00296c.49402.004.89188.18145.79225.56292-.99364,1.54354-2.1546,3.21704-3.05642,4.97451l-.47952-.32941c.05552-.34676-.0077-.78476-.0959-1.19255 .63575-1.28443.54566-2.85143 1.93059-3.84451 .2789-.11432.61259-.17338.909-.17096zm6.03362,5.43318c.30225.03565.14835,2.09696.45033,3.02307 .57651,1.01063 1.17665,2.02078 1.6679,3.03141-.04529.09313-.08208.18309-.11258.27103l-3.72776-2.33506c-.20126-.51337-.73902-1.24642-.44871-1.85952 .32992-.69678.97912-1.43252 2.10411-2.11008 .02447-.01655.04657-.02322.06672-.02085z"/>
<path d="m12.142 35.774 17.055-29.606c2.0278-2.6642 3.7075-2.8989 5.8799-0.18148l20.744 36.447c-5.4238-3.2417-14.943-14.434-21.469-7.4594-7.0238 7.5054-18.81-0.25068-22.21 0.79982z" fill="url(#c)"/>
</svg>

After

Width:  |  Height:  |  Size: 3.3 KiB