mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 16:31:52 +01:00
improvements to background component in homepage and articles
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
var layouts = [
|
||||
"profile",
|
||||
"background",
|
||||
"hero",
|
||||
"profile",
|
||||
"page",
|
||||
"card"
|
||||
]
|
||||
|
||||
@@ -10,7 +10,7 @@ This is a demo site built entirely using Blowfish. It also contains a complete s
|
||||
{{< icon "triangle-exclamation" >}}
|
||||
</span>
|
||||
<span class="flex items-center justify-between grow dark:text-neutral-300">
|
||||
<span class="prose dark:prose-invert">This is a demo of the <code id="layout">profile</code> layout.</span>
|
||||
<span class="prose dark:prose-invert">This is a demo of the <code id="layout">background</code> layout.</span>
|
||||
<button
|
||||
id="switch-layout-button"
|
||||
class="px-4 !text-neutral !no-underline rounded-md bg-primary-600 hover:!bg-primary-500 dark:bg-primary-800 dark:hover:!bg-primary-700"
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{{ $jsHome := resources.Get "js/home.js" | resources.Minify | resources.Fingerprint "sha512" }}
|
||||
<div id="background" style="display:none">
|
||||
<div id="background">
|
||||
{{ partial "partials/home/background.html" . }}
|
||||
</div>
|
||||
<div id="hero" style="display:none">
|
||||
{{ partial "partials/home/hero.html" . }}
|
||||
</div>
|
||||
<div id="profile" class="">
|
||||
<div id="profile" style="display:none">
|
||||
{{ partial "partials/home/profile.html" . }}
|
||||
</div>
|
||||
<div id="card" style="display:none">
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 4.6 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.0 MiB |
Reference in New Issue
Block a user