feat: move all posts to bottom of recent section

This commit is contained in:
2026-03-10 22:57:38 -05:00
parent 05d7ad6557
commit 940342cc3f
4 changed files with 15 additions and 26 deletions

View File

@@ -6,7 +6,6 @@ import type { Post } from '@lib/directusTypes';
import HeroSection from '@components/sections/HeroSection.astro';
import SelectedPostsSection from '@components/sections/SelectedPostsSection.astro';
import RecentPostsSection from '@components/sections/RecentPostsSection.astro';
import AllPostsSection from '@components/sections/AllPostsSection.astro';
import BaseLayout from '@layouts/BaseLayout.astro';
import directus from '@lib/directus';
@@ -57,8 +56,6 @@ const recentPosts: Post[] = posts.filter(
title="Recent Posts"
/>
<AllPostsSection />
</BaseLayout>
<script>

View File

@@ -7,7 +7,6 @@ import HeroSection from '@components/sections/HeroSection.astro';
import FeatureSection from '@components/sections/FeatureSection.astro';
import WeatherSection from '@components/sections/WeatherSection.astro';
import RecentPostsSection from '@components/sections/RecentPostsSection.astro';
import AllPostsSection from '@components/sections/AllPostsSection.astro';
import GiteaSection from '@components/sections/GiteaSection.astro';
import BaseLayout from '@layouts/BaseLayout.astro';
import directus from '@lib/directus';
@@ -70,8 +69,6 @@ const recentPosts = posts
subTitle="Checkout my most recent thoughts here"
/>
<AllPostsSection />
<GiteaSection
title="Follow me on Gitea"
subTitle="I love open source and have my code availabile on my Gitea server."