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 14 additions and 4 deletions
Showing only changes of commit c75146bf42 - Show all commits

View File

@ -0,0 +1,9 @@
<script>
import RssFeed from './RssFeed.svelte';
export let url;
</script>
<div>
<h2 class="text-xl mt-4 font-normal">Here are the last 5 commits:</h2>
<RssFeed {url} />
</div>

View File

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

View File

@ -1,6 +1,7 @@
<script>
import { fade } from 'svelte/transition';
import RssFeed from '../../lib/RssFeed.svelte';
import RssContainer from '../../lib/RssContainer.svelte';
const projectRssUrl = 'https://gitea.rannes.dev/rannes.dev/my-portfolio.rss';
</script>
@ -18,6 +19,5 @@
>Read more about that here.</a
>
</p>
<h2 class="text-xl mt-4">Most recent commits</h2>
<RssFeed url={projectRssUrl} />
<RssContainer url={projectRssUrl} />
</div>