Skip to content

Commit

Permalink
Merge pull request #324 from danesjenovdan/v3-dev
Browse files Browse the repository at this point in the history
Pulling refs/heads/v3-dev into v3-k8s
  • Loading branch information
LepkoQQ authored Sep 23, 2024
2 parents ee93d6d + 01b806a commit efb16f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions djnd/home/templates/home/blocks/promoted_block.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ <h2 class="mb-4 text-2xl font-semibold xl-max:text-lg">
{% comment %} TODO: a more bit ta slika absolutno pozicionirana, na breakpointih se zbrejka, zato je min-h definiran {% endcomment %}
<div class="relative w-full h-full sm-max:min-h-[200px]">
{% if value.promoted_snippet.image %}
{% image value.promoted_snippet.image width-300 class="absolute inset-0 w-full h-full object-cover" %}
{% image value.promoted_snippet.image width-1166 class="absolute inset-0 w-full h-full object-cover" %}
{% elif value.promoted_snippet.activity %}
{% image value.promoted_snippet.activity.image width-300 class="absolute inset-0 w-full h-full object-cover" %}
{% image value.promoted_snippet.activity.image width-1166 class="absolute inset-0 w-full h-full object-cover" %}
{% endif %}
<div class="absolute top-1/2 left-0 -translate-x-1/2 -translate-y-1/2 sm-max:top-0 sm-max:left-1/2">
<div class="grid place-content-center w-16 h-16 rounded-full bg-dark group-hover:animate-arrow-hover sm-max:w-10 sm-max:h-10">
Expand Down

0 comments on commit efb16f4

Please sign in to comment.