-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy paththeme.config.tsx
77 lines (71 loc) · 1.96 KB
/
theme.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
import CustomHead from '#components/custom-head'
import Link from 'next/link'
import { FaGithub, FaMastodon, FaRss, FaTelegramPlane, FaTwitter } from 'react-icons/fa'
// Fixed name and paths
// Year
const YEAR = new Date().getFullYear()
// Nextra blog theme config
const NextraThemeConfig = {
// <Head>
head: CustomHead,
// Date format
dateFormatter: (date: Date) => `${date.toDateString()}`,
// <Footer/>
footer: (
<div>
<hr />
<div className="grid auto-cols-min grid-flow-col gap-8 text-xl ss:gap-4">
<Link
href="https://twitter.com/Aozaki__"
target="_blank"
rel="noreferrer"
aria-label="Twitter"
className=""
>
<FaTwitter />
</Link>
<Link
href="https://m.cmx.im/@aozaki"
target="_blank"
rel="me"
aria-label="Mastodon"
className=""
>
<FaMastodon />
</Link>
<Link
href="https://github.com/aozaki-kuro"
target="_blank"
rel="noreferrer"
aria-label="Github"
className=""
>
<FaGithub />
</Link>
<Link
href="https://t.me/aozaki_ch"
target="_blank"
rel="noreferrer"
aria-label="Telegram"
className=""
>
<FaTelegramPlane />
</Link>
<Link href="/feed.xml" target="_blank" rel="noreferrer" aria-label="RSS" className="">
<FaRss />
</Link>
</div>
<small className="mt-32 block text-p-light dark:text-inherit">
<abbr
title="This site and all its content are licensed under a Creative Commons Attribution-NonCommercial 4.0 International License."
className="cursor-help"
>
CC BY-NC 4.0
</abbr>{' '}
<time>{YEAR}</time> © Aozaki.
<div className="float-right">[ Afezria ]</div>
</small>
</div>
),
}
export default NextraThemeConfig