url fragment shortcuts

This commit is contained in:
rhiannon morris 2024-10-21 14:40:22 +02:00
parent 7671c1837a
commit 204c02f219

View file

@ -106,14 +106,18 @@ function makeFragment() {
}
}
type Shortcuts = { [short: string]: Set<string> };
const shortcuts: Shortcuts = {
'summary': new Set('require_artsummary'),
'colourexamples': new Set('require_colourexample'),
'flatexamples': new Set('require_flatexample'),
'sketchexamples': new Set('require_sketchexample'),
'iconexamples': new Set('require_iconexample'),
'curated': new Set('require_curated')
summary: new Set(['require_artsummary']),
colourexamples: new Set(['require_colourexample']),
flatexamples: new Set(['require_flatexample']),
sketchexamples: new Set(['require_sketchexample']),
iconexamples: new Set(['require_iconexample']),
curated: new Set(['require_curated']),
gecs: new Set(['require_niss', 'require_nisse']),
qt: new Set(['require_q_t_']),
kesi: new Set(['require_kesi']),
};
function useFragment() {