Personal Site

Move NowPlaying into seperate component

vielle.dev 53297560 edf18c08

verified
+7 -1
+5
src/components/home/NowPlaying.astro
···
··· 1 + --- 2 + 3 + --- 4 + 5 + <section class="playing">Now Playing</section>
+2 -1
src/pages/index.astro
··· 1 --- 2 import Base from "/components/Base.astro"; 3 import Landing from "/components/home/Landing.astro"; 4 --- 5 6 <Base> ··· 8 <!-- landing --> 9 <Landing /> 10 <!-- now playing --> 11 - <section class="playing">playing</section> 12 <!-- feeds --> 13 <section class="feeds">feeds</section> 14 <!-- blog -->
··· 1 --- 2 import Base from "/components/Base.astro"; 3 import Landing from "/components/home/Landing.astro"; 4 + import NowPlaying from "/components/home/NowPlaying.astro" 5 --- 6 7 <Base> ··· 9 <!-- landing --> 10 <Landing /> 11 <!-- now playing --> 12 + <NowPlaying /> 13 <!-- feeds --> 14 <section class="feeds">feeds</section> 15 <!-- blog -->