- {/* Genres */}
- {genres.map(g => {
- const name = getLocalizedValue(g.name, locale);
- const subtitle = getLocalizedValue(g.subtitle, locale);
- return (
-
-
- {name}
+ {/* Genres */}
+ {genres.map(g => {
+ const name = getLocalizedValue(g.name, locale);
+ const subtitle = getLocalizedValue(g.subtitle, locale);
+ return (
+
+
+ {name}
+
+ {subtitle && {subtitle}}
+
+ );
+ })}
+
+ {/* Separator if both exist */}
+ {genres.length > 0 && activeSpecials.length > 0 && (
+
|
+ )}
+
+ {/* Active Specials */}
+ {activeSpecials.map(s => {
+ const name = getLocalizedValue(s.name, locale);
+ const subtitle = getLocalizedValue(s.subtitle, locale);
+ return (
+
+
+
+ ★ {name}
{subtitle && {subtitle}}
- );
- })}
-
- {/* Separator if both exist */}
- {genres.length > 0 && activeSpecials.length > 0 && (
-
|
- )}
-
- {/* Active Specials */}
- {activeSpecials.map(s => {
- const name = getLocalizedValue(s.name, locale);
- const subtitle = getLocalizedValue(s.subtitle, locale);
- return (
-
-
-
- ★ {name}
-
- {subtitle && {subtitle}}
-
- {s.curator && (
-
- {t('curatedBy')} {s.curator}
-
- )}
-
- );
- })}
-
+ {s.curator && (
+
+ {t('curatedBy')} {s.curator}
+
+ )}
+