-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.tsx
83 lines (82 loc) · 2.18 KB
/
config.tsx
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
const config: {
metadata: {
title: string
description: string
}
query: string
limit: number
title: string | JSX.Element
subtitle: string | JSX.Element
errorMessage: string | JSX.Element
source: string | JSX.Element
share: string | JSX.Element
loadMore: string | JSX.Element
theEnd: string | JSX.Element
footer: string | JSX.Element
} = {
metadata: {
title: 'Gallery - Mr. Will',
description: 'Gallery of my photographs posted on Mastodon.',
},
query:
'https://noc.social/api/v1/accounts/72358/statuses?only_media=true&tagged=photography', // check README.md#about-mastodon-api-query-url
limit: 20,
title: 'Gallery',
subtitle: 'A fine way to showcase sparkles in life.',
errorMessage: 'Failed to fetch from API.',
source: 'Source',
share: 'Share',
loadMore: 'Load More',
theEnd: 'Q.E.D.',
footer: (
<>
<p>
<a href="https://mrwillcom.com/">Home</a> ·{' '}
<a href="https://blog.mrwillcom.com/" target="_blank">
Blog
</a>{' '}
·{' '}
<a
href="https://github.com/MrWillCom/next-mastodon-gallery"
target="_blank"
>
GitHub
</a>{' '}
·{' '}
<a rel="me" href="https://noc.social/@MrWillCom" target="_blank">
Mastodon
</a>
</p>
<p>Copyright © 2022-2024 Mr. Will.</p>
<p>
This website is licensed under{' '}
<a
href="https://github.com/MrWillCom/next-mastodon-gallery/blob/main/LICENSE"
target="_blank"
>
MIT License
</a>
.
</p>
<p>
Photos without notes on licenses are licensed under{' '}
<a
href="https://creativecommons.org/licenses/by-nc/4.0"
target="_blank"
>
CC BY-NC 4.0
</a>
, otherwise they follow the stated license. Those available on{' '}
<a href="https://unsplash.com/@mrwillcom" target="_blank">
Unsplash
</a>{' '}
are free to use under the{' '}
<a href="https://unsplash.com/license" target="_blank">
Unsplash License
</a>
.
</p>
</>
),
}
export default config