links: move the rss link to the list of notes, add a link to yggdrasil

This commit is contained in:
Ivan R. 2024-02-12 23:50:24 +05:00
parent 30015729e5
commit 0e538845f1
No known key found for this signature in database
GPG key ID: 56C7BAAE859B302C
3 changed files with 36 additions and 5 deletions

View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path fill="white" d="M272 96c-78.6 0-145.1 51.5-167.7 122.5c33.6-17 71.5-26.5 111.7-26.5h88c8.8 0 16 7.2 16 16s-7.2 16-16 16H288 216s0 0 0 0c-16.6 0-32.7 1.9-48.3 5.4c-25.9 5.9-49.9 16.4-71.4 30.7c0 0 0 0 0 0C38.3 298.8 0 364.9 0 440v16c0 13.3 10.7 24 24 24s24-10.7 24-24V440c0-48.7 20.7-92.5 53.8-123.2C121.6 392.3 190.3 448 272 448l1 0c132.1-.7 239-130.9 239-291.4c0-42.6-7.5-83.1-21.1-119.6c-2.6-6.9-12.7-6.6-16.2-.1C455.9 72.1 418.7 96 376 96L272 96z"/></svg>

After

Width:  |  Height:  |  Size: 678 B

View file

@ -1,14 +1,15 @@
<footer>
<div class="list">
<a href="/rss.xml">
<a href="http://[201:80ed:6eeb:aea4:cdc0:c836:2831:f2dd]">
<img
src="/icons/rss.svg"
src="/icons/leaf-solid.svg"
width="18px"
height="18px"
alt="RSS logo"
alt="Листик, похожая на иконку Yggdrasil"
/>
RSS
Yggdrasil
</a>
<a href="https://github.com/ordinary-dev/comfycamp/issues/new" target="_blank">
<img
src="/icons/github.svg"

View file

@ -20,7 +20,18 @@ notes.sort((a, b) => {
Я Иван. Скорее всего, я буду рассказывать что-нибудь про компьютеры и интернет, такой уж я человек.
</p>
<h2>Заметки</h2>
<div class="notes">
<h2>Заметки</h2>
<a href="/rss.xml" target="_blank" class="rss">
<img
src="/icons/rss.svg"
width="18px"
height="18px"
alt="RSS logo"
/>
RSS
</a>
</div>
{notes.map(note => (
<div class="note">
<div class="date">{note.data.pubDate.toLocaleDateString("ru", {year: "numeric", month: "long", day: "numeric"})}</div>
@ -31,6 +42,24 @@ notes.sort((a, b) => {
</Layout>
<style>
.notes {
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 32px;
margin-bottom: 20px;
}
.notes h2 {
margin: 0;
}
.notes .rss {
display: flex;
align-items: center;
gap: 5px;
}
.note {
margin-bottom: 15px;
}