Small changes
This commit is contained in:
parent
be4b7bac34
commit
9a4f7b7b34
3 changed files with 3 additions and 4 deletions
|
@ -65,7 +65,7 @@
|
|||
</main>
|
||||
|
||||
<footer class="pt-6 pb-3 mt-auto sm:mx-2">
|
||||
<nav class="flex flex-col gap-y-3 justify-around py-3 text-center bg-gray-200 sm:flex-row sm:rounded-full">
|
||||
<nav class="flex flex-col gap-y-3 justify-around py-2 text-center bg-gray-200 sm:flex-row sm:rounded-full">
|
||||
{% for footer_item in config.extra.footer_items %}
|
||||
<a class="text-base no-underline" href="{{ footer_item.url | safe }}">{{ footer_item.name }}</a>
|
||||
{% endfor %}
|
||||
|
|
|
@ -10,8 +10,7 @@
|
|||
{% 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">
|
||||
{% set image = resize_image(path=config.extra.portrait_path, height=500, op="fit_height") %}
|
||||
<img src="{{ image.url }}"
|
||||
class="object-contain rounded drop-shadow-2xl sm:h-[50vh]" />
|
||||
<img src="{{ image.url }}" class="object-contain rounded drop-shadow-xl" />
|
||||
|
||||
<p>{{ config.extra.self_introduction }}</p>
|
||||
</div>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{% macro btn(link, text) %}
|
||||
<a class="py-2 px-4 my-1.5 mx-3 w-full max-w-screen-md text-center text-white no-underline bg-green-700 rounded transition duration-500 hover:scale-105"
|
||||
<a class="py-1 px-1 my-1.5 mx-3 w-full max-w-screen-md text-center text-white no-underline bg-green-700 rounded transition duration-500 hover:scale-105"
|
||||
href="{{ link | safe }}">{{ text }}</a>
|
||||
{% endmacro %}
|
||||
|
|
Loading…
Reference in a new issue