mirror of
https://github.com/OpenSquawk/OpenSquawk
synced 2026-06-18 11:15:42 +08:00
131 lines
5.6 KiB
TypeScript
131 lines
5.6 KiB
TypeScript
import {ref} from "vue";
|
||
|
||
/** MODULES **/
|
||
export type Lesson = { id: string; title: string; desc: string; target: string; hints: string[]; keywords: string[] }
|
||
export type ModuleDef = { id: string; title: string; subtitle: string; art: string; lessons: Lesson[] }
|
||
|
||
const modules = ref<ModuleDef[]>([
|
||
// New: ICAO chapter
|
||
{
|
||
id: 'icao',
|
||
title: 'ICAO Alphabet',
|
||
subtitle: 'Alphabets & Numbers',
|
||
art: 'https://images.unsplash.com/photo-1488085061387-422e29b40080?q=80&w=1600&auto=format&fit=crop',
|
||
lessons: [
|
||
{
|
||
id: 'alpha',
|
||
title: 'Alphabet A–M',
|
||
desc: 'Say Alpha through Mike.',
|
||
target: 'Alpha Bravo Charlie Delta Echo Foxtrot Golf Hotel India Juliett Kilo Lima Mike.',
|
||
hints: ['Keep a steady pace', 'Separate each word clearly'],
|
||
keywords: ['Alpha', 'Bravo', 'Charlie', 'Delta', 'Echo', 'Foxtrot', 'Golf', 'Hotel', 'India', 'Juliett', 'Kilo', 'Lima', 'Mike']
|
||
},
|
||
{
|
||
id: 'alpha2',
|
||
title: 'Alphabet N–Z',
|
||
desc: 'November through Zulu.',
|
||
target: 'November Oscar Papa Quebec Romeo Sierra Tango Uniform Victor Whiskey X-ray Yankee Zulu.',
|
||
hints: ['Spell X-ray with a hyphen', "Juliett has two t's"],
|
||
keywords: ['November', 'Oscar', 'Papa', 'Quebec', 'Romeo', 'Sierra', 'Tango', 'Uniform', 'Victor', 'Whiskey', 'X-ray', 'Yankee', 'Zulu']
|
||
},
|
||
{
|
||
id: 'numbers',
|
||
title: 'Numbers',
|
||
desc: 'Read ICAO numbers.',
|
||
target: 'Tree Fower Fife Six Seven Eight Niner Zero.',
|
||
hints: ['Nine → Niner', 'Three → Tree', 'Four → Fower', 'Five → Fife'],
|
||
keywords: ['Tree', 'Fower', 'Fife', 'Niner']
|
||
},
|
||
{
|
||
id: 'callsign-icao',
|
||
title: 'Spell the call sign',
|
||
desc: 'Sample call sign.',
|
||
target: 'DLH one two three, Lufthansa one two three.',
|
||
hints: ['DLH → Lufthansa', 'Use ICAO numbers'],
|
||
keywords: ['Lufthansa', 'DLH', 'one', 'two', 'three']
|
||
}
|
||
]
|
||
},
|
||
{
|
||
id: 'basics',
|
||
title: 'Basics',
|
||
subtitle: 'Call sign · Structure · Numbers',
|
||
art: 'https://images.unsplash.com/photo-1541392822270-85b2ff6c4577?q=80&w=1600&auto=format&fit=crop',
|
||
lessons: [
|
||
{
|
||
id: 'checkin',
|
||
title: 'Check-in',
|
||
desc: 'Make the first call correctly.',
|
||
target: 'Frankfurt Ground, Lufthansa one two three at stand A12, request taxi.',
|
||
hints: ['Station • Callsign • Position • Intent'],
|
||
keywords: ['Frankfurt Ground', 'Lufthansa', 'stand', 'request taxi']
|
||
},
|
||
{
|
||
id: 'readback', title: 'Short Readback', desc: 'Give a short acknowledgement.',
|
||
target: 'Lufthansa one two three, roger.',
|
||
hints: ['Callsign + roger/affirm'], keywords: ['roger', 'affirm']
|
||
}
|
||
]
|
||
},
|
||
{
|
||
id: 'ground',
|
||
title: 'Ground',
|
||
subtitle: 'Taxi • Hold Short • Handoff',
|
||
art: 'https://images.unsplash.com/photo-1523961131990-5ea7c61b2107?q=80&w=1600&auto=format&fit=crop',
|
||
lessons: [
|
||
{
|
||
id: 'taxi1', title: 'Taxi-Clearance', desc: 'Via A, A5, B2.',
|
||
target: 'Lufthansa one two three, taxi to runway two five via A, A five, B two, hold short runway two five.',
|
||
hints: ['Taxi to runway • via • hold short'], keywords: ['taxi to runway', 'via', 'hold short']
|
||
},
|
||
{
|
||
id: 'handoff', title: 'Handoff', desc: 'Frequency change.',
|
||
target: 'Contact Tower on one one niner decimal five, Lufthansa one two three.',
|
||
hints: ['Contact Tower on … • decimal'], keywords: ['Contact Tower', 'decimal']
|
||
}
|
||
]
|
||
},
|
||
{
|
||
id: 'departure',
|
||
title: 'Departure',
|
||
subtitle: 'Line up • Takeoff',
|
||
art: 'https://images.unsplash.com/photo-1494412685616-a5d310fbb07d?q=80&w=1600&auto=format&fit=crop',
|
||
lessons: [
|
||
{
|
||
id: 'lineup', title: 'Line up', desc: 'Line up and wait.',
|
||
target: 'Lufthansa one two three, line up and wait runway two five.',
|
||
hints: ['line up and wait'], keywords: ['line up and wait']
|
||
}
|
||
]
|
||
},
|
||
{
|
||
id: 'arrival',
|
||
title: 'Arrival',
|
||
subtitle: 'Approach • Vacate',
|
||
art: 'https://images.unsplash.com/photo-1542089363-07b2d92aacc3?q=80&w=1600&auto=format&fit=crop',
|
||
lessons: [
|
||
{
|
||
id: 'vacate', title: 'Vacate', desc: 'Exit the runway and report clear.',
|
||
target: 'Lufthansa one two three, vacated runway two five via A six.',
|
||
hints: ['vacated runway • via taxiway'], keywords: ['vacated', 'runway']
|
||
}
|
||
]
|
||
},
|
||
{
|
||
id: 'vatsim',
|
||
title: 'VATSIM',
|
||
subtitle: 'Netiquette • Connect',
|
||
art: 'https://images.unsplash.com/photo-1508264769638-658b34d79f6e?q=80&w=1600&auto=format&fit=crop',
|
||
lessons: [
|
||
{
|
||
id: 'checkin', title: 'IFR Check-in', desc: 'First online call.',
|
||
target: 'Frankfurt Ground, Lufthansa one two three, A320 at stand A12, IFR to Munich, information Bravo, request clearance.',
|
||
hints: ['IFR/VFR • ATIS Info • Request'], keywords: ['IFR', 'information', 'request clearance']
|
||
}
|
||
]
|
||
}
|
||
])
|
||
|
||
export default modules
|
||
|