aboutsummaryrefslogtreecommitdiff
path: root/credits/credits.ts
blob: d86517d514476c334cb9731342c825f759c21ec4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/**
 * The kind of third-party resource a credit entry describes. Drives
 * grouping on the Credits screen.
 */
export type CreditKind = 'font' | 'audio' | 'library'

/**
 * One entry on the Credits screen. Add a new `Credit` to `CREDITS` below
 * whenever a new third-party resource lands in the repo, alongside its
 * license file.
 */
export interface Credit {
  readonly title: string
  readonly kind: CreditKind
  readonly author: string
  readonly license: string
  readonly sourceUrl?: string
  readonly note?: string
}

/**
 * The master list of third-party credits. Append a new entry whenever a
 * new resource is added to the repo.
 */
export const CREDITS: readonly Credit[] = [
  {
    title: 'Literata',
    kind: 'font',
    author: 'Type Network',
    license: 'SIL Open Font License 1.1',
    sourceUrl: 'https://fonts.google.com/specimen/Literata'
  },
  {
    title: 'Inter',
    kind: 'font',
    author: 'Rasmus Andersson',
    license: 'SIL Open Font License 1.1',
    sourceUrl: 'https://fonts.google.com/specimen/Inter'
  },
  {
    title: 'Piano Relaxing',
    kind: 'audio',
    author: 'atlasaudio',
    license: 'Pixabay Content License',
    sourceUrl: 'https://pixabay.com/music/ambient-piano-relaxing-510242/',
    note: 'Title screen music.'
  }
]