From 5a903ef627c48e40257e2d40deb5af4057810f68 Mon Sep 17 00:00:00 2001
From: adevopg
Date: Wed, 15 Jul 2026 00:00:11 +0000
Subject: [PATCH] =?UTF-8?q?store:=20a=C3=B1ade=20la=20secci=C3=B3n=20plega?=
=?UTF-8?q?ble=20"Novedades"=20(changelog)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Replica el bloque Novedades del diseño original: fieldset plegable con el
changelog (Noviembre 2024) y sus objetos enlazados a wowhead (icono zamimg tiny
+ color por calidad). components/StoreNews.tsx (client, toggle con flecha
rotate/rotate2 del tema), incluido en la caja de info de /store. i18n
Store.newsTitle/newsIntro/newsDate (es/en).
Co-Authored-By: Claude Opus 4.8 (1M context)
---
web-next/app/[locale]/store/page.tsx | 3 ++
web-next/app/globals.css | 6 +++
web-next/components/StoreNews.tsx | 73 ++++++++++++++++++++++++++++
web-next/messages/en.json | 5 +-
web-next/messages/es.json | 5 +-
5 files changed, 90 insertions(+), 2 deletions(-)
create mode 100644 web-next/components/StoreNews.tsx
diff --git a/web-next/app/[locale]/store/page.tsx b/web-next/app/[locale]/store/page.tsx
index fc521a0..a7de60e 100644
--- a/web-next/app/[locale]/store/page.tsx
+++ b/web-next/app/[locale]/store/page.tsx
@@ -9,6 +9,7 @@ import { wowheadWotlkHome } from '@/lib/wowhead'
import { PageShell } from '@/components/PageShell'
import { ServiceBox } from '@/components/ServiceBox'
import { StoreBrowser } from '@/components/StoreBrowser'
+import { StoreNews } from '@/components/StoreNews'
export const dynamic = 'force-dynamic'
@@ -48,6 +49,8 @@ export default async function StorePage({ params }: { params: Promise<{ locale:
),
})}
+
+
+ setOpen((o) => !o)}>
+
+ {t('newsTitle')}
+
+
+ {open && (
+
+
{t('newsIntro')}
+
{t('newsDate')}
+
+ {ENTRIES.map((e, i) => (
+ -
+ {e.itemId ? (
+
+ {e.name}
+
+ ) : (
+ {e.name}
+ )}
+ {e.path.map((p, j) => (
+ {p}
+ ))}
+
+ ))}
+
+
+ )}
+
+ )
+}
diff --git a/web-next/messages/en.json b/web-next/messages/en.json
index a82ee74..8bf6b01 100644
--- a/web-next/messages/en.json
+++ b/web-next/messages/en.json
@@ -1956,6 +1956,9 @@
"invalidCharacter": "Invalid character.",
"emptyCart": "Your cart is empty.",
"generic": "An error occurred. Please try again."
- }
+ },
+ "newsTitle": "News",
+ "newsIntro": "List of additions made based on the community's suggestions in our forum.",
+ "newsDate": "November 2024"
}
}
diff --git a/web-next/messages/es.json b/web-next/messages/es.json
index e711f58..4f3b139 100644
--- a/web-next/messages/es.json
+++ b/web-next/messages/es.json
@@ -1956,6 +1956,9 @@
"invalidCharacter": "El personaje no es válido.",
"emptyCart": "Tu carrito está vacío.",
"generic": "Ha ocurrido un error. Inténtalo de nuevo."
- }
+ },
+ "newsTitle": "Novedades",
+ "newsIntro": "Lista de adiciones realizadas en base a las sugerencias de la comunidad en nuestro foro.",
+ "newsDate": "Noviembre 2024"
}
}