Add per-toc styling to Timetable and train detail

This commit is contained in:
Fred Boniface
2023-07-13 22:16:41 +01:00
parent 2bbe81922c
commit 93db6c33b1
4 changed files with 229 additions and 3 deletions

40
src/lib/stores/tocMap.js Normal file
View File

@@ -0,0 +1,40 @@
const tocMap = {
gw: 'Great Western Railway',
sw: 'South Western Railway',
id: 'Island Line',
nt: 'Northern',
aw: 'Transport for Wales',
cc: 'c2c',
cs: 'Caledonian Sleeper',
ch: 'Chiltern Railways',
xc: 'CrossCountry',
em: 'East Midlands Railway',
es: 'Eurostar',
ht: 'Hull Trains',
tl: 'Thameslink',
gc: 'Grand Central',
hx: 'Heathrow Express',
ls: 'Locomotive Services Limited',
me: 'Merseyrail',
lr: 'Network Rail OTM',
xr: 'TfL Elizabeth Line',
se: 'SouthEastern',
sn: 'Southern',
le: 'Greater Anglia',
lm: 'West Midlands Railway',
sr: 'ScotRail',
gn: 'Great Northern',
lt: 'TfL London Underground',
lo: 'TfL London Overground',
sj: 'Sheffield SuperTram',
tp: 'TransPennine Express',
vt: 'Avanti West Coast',
gr: 'LNER',
wc: 'West Coast Railway',
ty: 'Vintage Trains',
ld: 'Lumo',
so: 'Rail Adventure',
ln: 'Grand Union Trains'
};
export default tocMap;