RSS feed merged to main branch #1

Merged
christian merged 9 commits from projects-2 into main 2024-05-19 06:16:41 +00:00
3 changed files with 5 additions and 6 deletions
Showing only changes of commit ff3114825b - Show all commits

View File

@ -1,7 +1,3 @@
<script>
import Vercel from '../lib/svgComponents/vercel.svelte';
</script>
<div class="main-container text-center"> <div class="main-container text-center">
<h1 class="text-xl mb-2">Welcome to my corner of the internet</h1> <h1 class="text-xl mb-2">Welcome to my corner of the internet</h1>
<p> <p>
@ -12,5 +8,4 @@
This page is my initial svelte project to try out the framework, and at the time of writing This page is my initial svelte project to try out the framework, and at the time of writing
(24th April 2024) many pages are still lacking content. (24th April 2024) many pages are still lacking content.
</p> </p>
<Vercel />
</div> </div>

View File

@ -1,5 +1,8 @@
<script> <script>
import { fade } from 'svelte/transition'; import { fade } from 'svelte/transition';
import RssFeed from '../../lib/RssFeed.svelte';
const weatherRss = 'https://gitea.rannes.dev/rannes.dev/local-weather.rss';
const titlesRss = 'https://gitea.rannes.dev/rannes.dev/titles.rss';
</script> </script>
<div in:fade> <div in:fade>
@ -37,6 +40,7 @@
href="https://gitea.rannes.dev/rannes.dev/titles">git repo here!</a href="https://gitea.rannes.dev/rannes.dev/titles">git repo here!</a
> >
</p> </p>
<RssFeed url={titlesRss} />;
</article> </article>
<article> <article>
<h2 class="font-normal text-xl my-2 mt-4">Weather application</h2> <h2 class="font-normal text-xl my-2 mt-4">Weather application</h2>
@ -60,5 +64,6 @@
href="https://gitea.rannes.dev/rannes.dev/local-weather">the code here.</a href="https://gitea.rannes.dev/rannes.dev/local-weather">the code here.</a
> >
</p> </p>
<RssFeed url={weatherRss} />
</article> </article>
</div> </div>

View File

@ -1,7 +1,6 @@
<script> <script>
import { fade } from 'svelte/transition'; import { fade } from 'svelte/transition';
import RssFeed from '../../lib/RssFeed.svelte'; import RssFeed from '../../lib/RssFeed.svelte';
import { LogoSvelte } from '@geist/new-icons/16';
const projectRssUrl = 'https://gitea.rannes.dev/rannes.dev/my-portfolio.rss'; const projectRssUrl = 'https://gitea.rannes.dev/rannes.dev/my-portfolio.rss';
</script> </script>