improved image sizes
This commit is contained in:
parent
07bd3346b7
commit
544e75122c
2 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@
|
||||||
<div class="relative aspect-[16/9]">
|
<div class="relative aspect-[16/9]">
|
||||||
{% with post.main_image as main_image %}
|
{% with post.main_image as main_image %}
|
||||||
{% if main_image %}
|
{% if main_image %}
|
||||||
{% image main_image width-800 class="blog absolute inset-0 h-full w-full rounded-2xl bg-gray-50 object-cover" %}{% endif %}
|
{% image main_image width-1600 class="blog absolute inset-0 h-full w-full rounded-2xl bg-gray-50 object-cover" %}{% endif %}
|
||||||
{% endwith %}
|
{% endwith %}
|
||||||
<div class="absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"></div>
|
<div class="absolute inset-0 rounded-2xl ring-1 ring-inset ring-gray-900/10"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
<section class="flex flex-col items-center justify-center h-full max-w-7xl px-0 md:px-4 lg:px-8">
|
<section class="flex flex-col items-center justify-center h-full max-w-7xl px-0 md:px-4 lg:px-8">
|
||||||
<div class="mx-auto max-w-3xl text-base leading-7">
|
<div class="mx-auto max-w-3xl text-base leading-7">
|
||||||
<h1>{{ page.title }}</h1>
|
<h1>{{ page.title }}</h1>
|
||||||
{% image page.image fill-480x320 class="rounded-2xl bg-gray-50" %}
|
{% image page.image original class="rounded-2xl bg-gray-50" %}
|
||||||
<p>{{ page.hero_text }}</p>
|
<p>{{ page.hero_text }}</p>
|
||||||
{% if page.hero_cta_link %}
|
{% if page.hero_cta_link %}
|
||||||
<a href="{% pageurl page.hero_cta_link %}">
|
<a href="{% pageurl page.hero_cta_link %}">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue