feat(catalog): default upstream, toggle classico = Hippiehotel

Default catalog = rebuild upstream ultima release (CatalogClassicView).
Il toggle 'stile classico' mostra il catalogo Hippiehotel (CatalogModernView).
This commit is contained in:
medievalshell
2026-05-29 23:55:36 +02:00
parent 2b8aca23b6
commit 4f133abe33
7 changed files with 487 additions and 125 deletions
+5 -5
View File
@@ -8,20 +8,20 @@ export const CatalogView: FC<{}> = () =>
const { catalogLocalizationVersion = 0 } = useCatalogData();
const [ catalogClassicStyle ] = useCatalogClassicStyle();
// Modern (Hippiehotel style) is the default; the "stile classico" toggle in
// user settings (or the global catalog.classic.style flag) switches to the
// classic catalog. Both views are the Hippiehotel.nl Nitro-V3 originals.
// Default = upstream rebuilt catalog (CatalogClassicView, latest release theme).
// The "stile classico" toggle (or global catalog.classic.style flag) switches
// to the Hippiehotel.nl catalog (CatalogModernView, self-contained tailwind).
if(catalogClassicStyle) return (
<>
<div className="hidden" data-catalog-localization-version={ catalogLocalizationVersion } />
<CatalogClassicView />
<CatalogModernView />
</>
);
return (
<>
<div className="hidden" data-catalog-localization-version={ catalogLocalizationVersion } />
<CatalogModernView />
<CatalogClassicView />
</>
);
};