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" } }