-
Notifications
You must be signed in to change notification settings - Fork 0
/
theme.config.jsx
58 lines (55 loc) · 1.83 KB
/
theme.config.jsx
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
/* eslint-disable import/no-anonymous-default-export */
export default {
components: {
h1: ({ children }) => (
<h1 style={{
// '-webkit-background-clip': 'text',
// '-webkit-text-fill-color': 'transparent',
// backgroundClip: 'text',
// backgroundImage: 'linear-gradient(90deg,#7928CA,#FF0080);',
}}
>
{/* {children => (children == "About") ? 'Berra Urhan' : children} */}
{children}
</h1>
)
},
footer: (
<small style={{ display: 'block', marginTop: '8rem' }}>
{new Date().getFullYear()} © Berra Urhan.
{/* <a href="/feed.xml">RSS</a> */}
<style jsx>{`
a {
float: right;
}
@media screen and (max-width: 480px) {
article {
padding-top: 2rem;
padding-bottom: 4rem;
}
}
`}</style>
</small>
),
head: () => {
return (
<>
<link rel="icon" type="image/x-icon" href="/public/favicon.ico" sizes="16x16"></link>
<link rel="icon" href="/public/basket.png" type="image/png" sizes="16x16"/>
{/* {meta.description && (<meta name="description" content={meta.description} />)}
{meta.tag && <meta name="keywords" content={meta.tag} />}
{meta.author && <meta name="author" content={meta.author} />}
{meta.author && <meta name="author" content={meta.author} />} */}
</>
)
},
readMore: 'Read More →',
postFooter: null,
darkMode: true,
navs: [
// {
// url: 'https://github.com/shuding/nextra',
// name: 'Nextra'
// }
]
}