Small changes
This commit is contained in:
parent
0e7bfe0a27
commit
321c614988
4 changed files with 7 additions and 6 deletions
File diff suppressed because one or more lines are too long
|
@ -6,7 +6,7 @@
|
|||
<div class="grid grid-cols-1 gap-y-4 gap-x-8 items-center mb-5 lg:grid-cols-2">
|
||||
{% set image = resize_image(path=page.assets | first, width=600, height=600, op="fill") %}
|
||||
<img src="{{ image.url }}"
|
||||
class="object-cover justify-self-center rounded drop-shadow-xl" />
|
||||
class="object-cover justify-self-center rounded drop-shadow" />
|
||||
|
||||
<div class="divide-y">
|
||||
{{ page.content | safe }}
|
||||
|
|
|
@ -8,9 +8,10 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="grid grid-cols-1 gap-y-4 gap-x-6 justify-items-center items-center mb-5 md:grid-cols-2">
|
||||
<div class="grid grid-cols-1 gap-y-4 gap-x-6 items-center mb-5 md:grid-cols-2">
|
||||
{% set image = resize_image(path=config.extra.portrait_path, height=500, op="fit_height") %}
|
||||
<img src="{{ image.url }}" class="object-contain rounded drop-shadow-xl" />
|
||||
<img src="{{ image.url }}"
|
||||
class="object-contain justify-self-center rounded drop-shadow" />
|
||||
|
||||
<p>{{ config.extra.self_introduction }}</p>
|
||||
</div>
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
{% import "macros.html" as macros %}
|
||||
|
||||
{% macro offer(image_filename, name, description) %}
|
||||
<div class="grid grid-cols-1 gap-y-4 gap-x-8 items-center my-16 mb-5 md:grid-cols-2">
|
||||
<div class="grid grid-cols-1 gap-y-3 gap-x-8 items-center my-16 mb-5 md:grid-cols-2">
|
||||
{% set dir = page.path | trim_start_matches(pat="/") %}
|
||||
{% set image_path = dir ~ image_filename %}
|
||||
{% set image = resize_image(path=image_path, width=400, height=400, op="fill") %}
|
||||
<img src="{{ image.url }}"
|
||||
class="object-cover justify-self-center rounded drop-shadow-xl" />
|
||||
class="object-cover justify-self-center rounded drop-shadow" />
|
||||
|
||||
<div>
|
||||
<h3>{{ name }}</h3>
|
||||
|
|
Loading…
Reference in a new issue