store: añade la sección plegable "Novedades" (changelog)
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) <noreply@anthropic.com>
This commit is contained in:
@@ -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:
|
||||
),
|
||||
})}
|
||||
</p>
|
||||
<br />
|
||||
<StoreNews />
|
||||
</ServiceBox>
|
||||
|
||||
<StoreBrowser
|
||||
|
||||
@@ -583,3 +583,9 @@ textarea:focus {
|
||||
cursor: pointer; font-size: 22px; color: #b1997f;
|
||||
}
|
||||
.modal-close:hover { color: #fff; }
|
||||
|
||||
/* Novedades de la tienda (cabecera plegable) */
|
||||
#store-news { cursor: pointer; user-select: none; }
|
||||
#store-news-content { margin-top: 6px; }
|
||||
#store-news-content ul { padding-left: 16px; }
|
||||
#store-news-content li { margin: 4px 0; }
|
||||
|
||||
Reference in New Issue
Block a user