mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-11-04 01:59:46 +00:00
UI improvements to background hero
This commit is contained in:
1 parent
9afae930fd
commit
dfb4be490d
3 files changed
+10
-5
No files matched your search
@@ -3,7 +3,7 @@
|
||||
{{- if not $featured }}{{ $featured = $images.GetMatch "{*cover*,*thumbnail*}" }}{{ end -}}
|
||||
{{- with $featured -}}
|
||||
{{ with .Resize "1200x" }}
|
||||
<div id="hero" class="relative h-[45vh] single_hero_background nozoom" style="background-image:url({{ .RelPermalink }});">
|
||||
<div id="hero" class="relative h-[300px] single_hero_background nozoom" style="background-image:url({{ .RelPermalink }});">
|
||||
<div class="hero_gradient bg-gradient-to-t from-neutral dark:from-neutral-800 to-transparent mix-blend-normal"></div>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
Reference in new issue
Block a user