this.handleMapSelection(mapValue)}
class="cursor-pointer"
>
`;
}
private renderAllMaps() {
const mapCategoryEntries = Object.entries(mapCategories);
return html`
${mapCategoryEntries.map(
([categoryKey, maps]) => html`
${translateText(`map_categories.${categoryKey}`)}
${maps.map((mapValue) => this.renderMapCard(mapValue))}
`,
)}
`;
}
private renderFeaturedMaps() {
let featuredMapList = featuredMaps;
if (!featuredMapList.includes(this.selectedMap)) {
featuredMapList = [this.selectedMap, ...featuredMaps];
}
return html`