so many changes
Some checks failed
test / cargo test (push) Failing after 1m2s

This commit is contained in:
2024-10-03 14:59:28 +02:00
parent 2979e21285
commit ceb3f4b89d
19 changed files with 124 additions and 66 deletions

View File

@ -2,7 +2,7 @@
<a href="{{url}}" class="block no-underline border rounded-md bg-pink-200 m-4 p-4 max-w-[392px] {{class}}">
<header class="flex text-center justify-center items-center gap-2 mb-2">
<svg aria-hidden="true" class="h-7 w-7 fill-blue-950">
<svg role="img" aria-label="{{svg}} icon" aria-hidden="true" class="h-7 w-7 fill-blue-950">
<use href="#{{svg}}" />
</svg>
<h3 class="text-lg font-medium mb-1 text-blue-950 visited:text-blue-950">{{heading|safe}}</h3>

View File

@ -2,7 +2,7 @@
<section class="flex border rounded bg-white m-4 p-3 max-w-[32rem]">
<aside class="flex justify-center items-center pr-3">
<svg aria-hidden="true" class="fill-blue-950 h-12 w-12 md:h-16 md:w-16">
<svg role="img" aria-label="{{svg}} icon" aria-hidden="true" class="fill-blue-950 h-12 w-12 md:h-16 md:w-16">
<use href="#{{svg}}" />
</svg>
</aside>

15
templates/not_found.html Normal file
View File

@ -0,0 +1,15 @@
{% extends "base.html" %}
{% block content %}
<section id="not-found-page">
<p class="mx-6 mt-3 text-4xl text-blue-950 text-center font-extrabold lg:mx-auto max-w-read">
This page doesn't exists
</p>
<p class="m-6 text-9xl text-blue-950 text-center font-extrabold lg:mx-auto max-w-read">😓
</p>
<p class="mx-6 mt-3 text-xl text-blue-950 text-center lg:mx-auto max-w-read">
check out <a href="/">introduction page</a> or <a href="/contact">contact page</a>
</p>
</section>
{% endblock %}

View File

@ -10,8 +10,8 @@
{% block content %}
<section id="blog-container" class="lg:grid lg:grid-cols-[2fr_1fr] lg:grid-rows-[min-content_1fr] xl:gap-x-32 max-w-maxindex mx-auto">
<section id="blog-list" class="lg:row-span-2">
<section id="post-container" class="lg:grid lg:grid-cols-[2fr_1fr] lg:grid-rows-[min-content_1fr] xl:gap-x-32 max-w-maxindex mx-auto">
<section id="post-list" class="lg:row-span-2">
{% if posts.len() == 0 %}
<p class="no-posts">You've found void in the space.</p>
{% else %}
@ -19,7 +19,7 @@
{{title}}
</h1>
<section id="blog-tags">
<section id="tags-list">
<ul class="mx-5">
{% for tag in tags %}
<li class="inline-block mx-0.5 p-0.5 md:text-xl">
@ -40,7 +40,7 @@
{% endfor %}
</ul>
{% endif %}
</section> <!-- /#blog-list -->
</section> <!-- /#post-list -->
<section id="socials" class="hidden lg:block">
{% include "sections/social.html" %}
</section> <!-- /#socials -->
@ -59,5 +59,5 @@
<a href="/showcase">check out more projects</a>
</section>
</section> <!-- /#showcase -->
</section> <!-- /#blog-container -->
</section> <!-- /#post-list-container -->
{% endblock %}

View File

@ -1,7 +1,8 @@
<footer class="my-4">
<hr class="mb-4 border-slate-300 mx-5">
<section class="flex justify-around">
<p
class="text-center"
class="text-center flex-1"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:dct="http://purl.org/dc/terms/"
>
@ -46,7 +47,12 @@
height="24"
width="24"
/></a>
<!-- TODO Display link to feed with icon -->
<a href="/feed.xml" class="hidden">RSS feed</a>
</p>
<aside class="mx-3">
<a href="/feed.xml">
<svg role="img" aria-hidden="true" aria-label="RSS feed" class="fill-blue-950 h-6 w-6">
<use href="#rss" />
</svg>
</a>
</aside>
</footer>