people order no longer alphabetical
This commit is contained in:
@@ -17,16 +17,15 @@ export async function getAllPeopleData(): Promise<PersonData[]> {
|
||||
|
||||
// Auto-generated list of all people components
|
||||
const peopleComponents = [
|
||||
() => import('@/components/people/People_Kristof_de_Spiegeleer'),
|
||||
() => import('@/components/people/People_Adnan_Fateryji'),
|
||||
() => import('@/components/people/People_Alexandre_Hannelas'),
|
||||
() => import('@/components/people/People_Chris_Camponovo'),
|
||||
() => import('@/components/people/People_Emre_Koc'),
|
||||
() => import('@/components/people/People_Florian_Fournier'),
|
||||
() => import('@/components/people/People_Alexandre_Hannelas'),
|
||||
() => import('@/components/people/People_Gregory_Flipo'),
|
||||
() => import('@/components/people/People_Hugo_Mathecowitsch'),
|
||||
() => import('@/components/people/People_Jan_De_Landtsheer'),
|
||||
() => import('@/components/people/People_Karoline_Zizka'),
|
||||
() => import('@/components/people/People_Kristof_de_Spiegeleer'),
|
||||
() => import('@/components/people/People_Malte_Geierhos'),
|
||||
() => import('@/components/people/People_Marion_Ravarino'),
|
||||
() => import('@/components/people/People_Michel_Coucke'),
|
||||
@@ -36,6 +35,7 @@ export async function getAllPeopleData(): Promise<PersonData[]> {
|
||||
() => import('@/components/people/People_Sam_Taggart'),
|
||||
() => import('@/components/people/People_Sasha_Astiadi'),
|
||||
() => import('@/components/people/People_Timur_Gordon'),
|
||||
() => import('@/components/people/People_Emre_Koc'),
|
||||
() => import('@/components/people/People_Vianney_Spriet'),
|
||||
]
|
||||
|
||||
@@ -54,16 +54,15 @@ export async function getAllPeopleData(): Promise<PersonData[]> {
|
||||
}
|
||||
|
||||
// Synchronous version using static imports for immediate data access
|
||||
import { data as kristof_de_spiegeleerData } from '@/components/people/People_Kristof_de_Spiegeleer'
|
||||
import { data as adnan_fateryjiData } from '@/components/people/People_Adnan_Fateryji'
|
||||
import { data as alexandre_hannelasData } from '@/components/people/People_Alexandre_Hannelas'
|
||||
import { data as chris_camponovoData } from '@/components/people/People_Chris_Camponovo'
|
||||
import { data as emre_kocData } from '@/components/people/People_Emre_Koc'
|
||||
import { data as florian_fournierData } from '@/components/people/People_Florian_Fournier'
|
||||
import { data as alexandre_hannelasData } from '@/components/people/People_Alexandre_Hannelas'
|
||||
import { data as gregory_flipoData } from '@/components/people/People_Gregory_Flipo'
|
||||
import { data as hugo_mathecowitschData } from '@/components/people/People_Hugo_Mathecowitsch'
|
||||
import { data as jan_de_landtsheerData } from '@/components/people/People_Jan_De_Landtsheer'
|
||||
import { data as karoline_zizkaData } from '@/components/people/People_Karoline_Zizka'
|
||||
import { data as kristof_de_spiegeleerData } from '@/components/people/People_Kristof_de_Spiegeleer'
|
||||
import { data as malte_geierhosData } from '@/components/people/People_Malte_Geierhos'
|
||||
import { data as marion_ravarinoData } from '@/components/people/People_Marion_Ravarino'
|
||||
import { data as michel_couckeData } from '@/components/people/People_Michel_Coucke'
|
||||
@@ -73,6 +72,7 @@ import { data as sacha_obeegadooData } from '@/components/people/People_Sacha_Ob
|
||||
import { data as sam_taggartData } from '@/components/people/People_Sam_Taggart'
|
||||
import { data as sasha_astiadiData } from '@/components/people/People_Sasha_Astiadi'
|
||||
import { data as timur_gordonData } from '@/components/people/People_Timur_Gordon'
|
||||
import { data as emre_kocData } from '@/components/people/People_Emre_Koc'
|
||||
import { data as vianney_sprietData } from '@/components/people/People_Vianney_Spriet'
|
||||
|
||||
export function getAllPeopleDataSync(): PersonData[] {
|
||||
@@ -107,7 +107,7 @@ export function getAllPeopleDataSync(): PersonData[] {
|
||||
} catch (error) {
|
||||
console.error('Error loading alexandre_hannelas data:', error)
|
||||
}
|
||||
|
||||
|
||||
try {
|
||||
allPeopleData.push(...gregory_flipoData)
|
||||
} catch (error) {
|
||||
|
||||
Reference in New Issue
Block a user