feat: add rss link
This commit is contained in:
parent
cfb3baa79d
commit
ac90ac07fd
@ -15,7 +15,7 @@
|
||||
>
|
||||
<a
|
||||
class="
|
||||
flex gap-1 items-center justify-center
|
||||
flex gap-1 items-center justify-center align-middle max-h-full
|
||||
{highlight
|
||||
? 'text-ralsei-pink-regular app-selected-route'
|
||||
: 'text-ralsei-green-light hover:underline'}
|
||||
|
@ -1,4 +1,5 @@
|
||||
<script lang="ts">
|
||||
import { PUBLIC_BASE_URL } from '$env/static/public';
|
||||
import getTitle from '$lib/getTitle';
|
||||
import NavButton from '../components/navButton.svelte';
|
||||
import '../styles/app.css';
|
||||
@ -150,11 +151,15 @@
|
||||
"
|
||||
style="border-style: ridge hidden hidden hidden;"
|
||||
>
|
||||
<div class="flex flex-row flex-nowrap gap-2 justify-start overflow-auto">
|
||||
<div class="flex flex-row flex-nowrap gap-2 justify-start overflow-x-auto">
|
||||
{#each menuItems as item}
|
||||
{@const highlight = isRoute(item.href)}
|
||||
<NavButton {highlight} {...item} />
|
||||
{/each}
|
||||
<div class="hidden md:block grow"/>
|
||||
<a class="align-middle" href="/entries/_rss">
|
||||
<img class="min-w-fit" src="/valid-rss.png" alt="rss feed"/>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
@ -9,7 +9,6 @@
|
||||
@apply font-sans-serif bg-ralsei-black text-ralsei-white;
|
||||
@apply prose-code:font-monospace prose-headings:font-monospace;
|
||||
cursor: url('/icons/gaze_closed.png'), default;
|
||||
image-rendering: optimizeQuality;
|
||||
}
|
||||
|
||||
.prose h1::before {
|
||||
|
BIN
static/valid-rss.png
Normal file
BIN
static/valid-rss.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.0 KiB |
Loading…
Reference in New Issue
Block a user