mirror of
https://github.com/duckietm/Nitro-V3.git
synced 2026-06-20 07:26:19 +00:00
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:
@@ -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 />
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user