mirror of
https://github.com/Xahau/xahau-web.git
synced 2026-08-23 19:10:53 +00:00
remove unused lines
This commit is contained in:
@@ -27,7 +27,6 @@ const languages = [
|
||||
{ code: 'en', label: 'English' },
|
||||
{ code: 'es', label: 'Español' },
|
||||
{ code: 'pt-BR', label: 'Português (Brasil)' },
|
||||
// { code: 'ja', label: '日本語' },
|
||||
{ code: 'ja', label: '日本語' },
|
||||
]
|
||||
|
||||
|
||||
@@ -29,7 +29,6 @@ import logoXaman from '../assets/ecosystem-logos/xaman.png'
|
||||
import logoXrplwin from '../assets/ecosystem-logos/xrplwin.png'
|
||||
import ecosystemData from '../data/ecosystem.json'
|
||||
import { defaultLocale, type Locale } from '../i18n/locales'
|
||||
import { normalizeLocale } from '../utils/localizedHref'
|
||||
|
||||
const logoMap: Record<string, ImageMetadata> = {
|
||||
xaman: logoXaman,
|
||||
@@ -50,10 +49,6 @@ const logoMap: Record<string, ImageMetadata> = {
|
||||
|
||||
const locale = (Astro.currentLocale ?? defaultLocale) as Locale
|
||||
|
||||
const meta = ecosystemData.meta
|
||||
const L = (rec: Record<string, string>) =>
|
||||
rec[locale] ?? rec['en'] ?? Object.values(rec)[0]
|
||||
|
||||
// Projects sorted alphabetically at build time; others keep editorial order.
|
||||
const sections = ecosystemData.sections.map((section) =>
|
||||
section.id === 'projects'
|
||||
|
||||
Reference in New Issue
Block a user