fix(layout): reverse library blog listing and aside order to match live site

This commit is contained in:
DeCentN2Madness committed 2026-06-08 23:34:06 -07:00
1 parent 5a66284bb5
commit 4bbd58b361
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -6,6 +6,6 @@ const posts = (await getCollection('blog', ({ data }) => data.lang === 'ar' && !
const popular = posts.slice(0, 5);
---
<BlogIndexLayout title="مكتبة معهد أريزونا للتوحد" description="مقالات إخبارية حول علاج تحليل السلوك التطبيقي والتعليم الخاص، ودراسات حالة، ووصفات، ومقالات افتتاحية، ودروس تعليمية." lang="ar">
<aside class="library-sidebar"><h2>المقالات الشائعة</h2><ul>{popular.map((post) => <li><a href={`/ar/library/${post.data.slug}`}>{post.data.title}</a></li>)}</ul></aside>
<div class="blog-list">{posts.map((post) => <BlogCard post={post} prefix="/ar" />)}</div>
<aside class="library-sidebar"><h2>المقالات الشائعة</h2><ul>{popular.map((post) => <li><a href={`/ar/library/${post.data.slug}`}>{post.data.title}</a></li>)}</ul></aside>
</BlogIndexLayout>