This commit is contained in:
@ -25,6 +25,9 @@
|
||||
<link rel="icon" type="image/png" href="/images/m-logo-192.png" />
|
||||
</head>
|
||||
<body class="bg-blue-50">
|
||||
<div class="preload-assets" style="display: none">
|
||||
{% include "icons/sprite.svg" %}
|
||||
</div>
|
||||
{% include "site_header.html" %}
|
||||
{% block content %} Placeholder {% endblock %}
|
||||
{% include "site_footer.html" %}
|
||||
|
@ -3,7 +3,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">
|
||||
<use xlink:href="/svg/icons-sprite.svg#{{svg}}" />
|
||||
<use href="#{{svg}}" />
|
||||
</svg>
|
||||
<h3 class="text-lg font-medium mb-1 text-blue-950 visited:text-blue-950">{{heading|safe}}</h3>
|
||||
</header>
|
||||
|
@ -3,7 +3,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">
|
||||
<use xlink:href="/svg/icons-sprite.svg#{{svg}}" />
|
||||
<use href="#{{svg}}" />
|
||||
</svg>
|
||||
</aside>
|
||||
<section>
|
||||
|
19
axum_server/templates/icons/sprite.svg
Normal file
19
axum_server/templates/icons/sprite.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 12 KiB |
Reference in New Issue
Block a user