From 5eb494278d1a507c40d96231252aa52b895773bf Mon Sep 17 00:00:00 2001 From: kayjaydee Date: Wed, 22 Apr 2026 21:47:23 +0200 Subject: [PATCH] feat(08-01): add HytaleRecentArticles component (queryCollection bilingual + JS tag filter) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Bilingual literal branches queryCollection('blog_fr'|'blog_en') (Phase 5 Pitfall D-03) - JS post-filter tags.includes('hytale') + slice(0,2) (D-11 — SQLite LIKE unreliable on JSON array) - v-if=articles.length hides section when no hytale-tagged articles (D-12) - BlogCard variant=compact in grid 2 col desktop / 1 col mobile - NuxtLink localePath('/blog') viewAll CTA - useAsyncData key hytale-recent-${locale.value} + watch:[locale] --- app/components/HytaleRecentArticles.vue | 72 +++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 app/components/HytaleRecentArticles.vue diff --git a/app/components/HytaleRecentArticles.vue b/app/components/HytaleRecentArticles.vue new file mode 100644 index 0000000..1d0da69 --- /dev/null +++ b/app/components/HytaleRecentArticles.vue @@ -0,0 +1,72 @@ + + +