File tree 1 file changed +33
-5
lines changed
1 file changed +33
-5
lines changed Original file line number Diff line number Diff line change @@ -9,21 +9,49 @@ interface Options {
9
9
10
10
export default ( ( opts ?: Options ) => {
11
11
const Footer : QuartzComponent = ( { displayClass, cfg } : QuartzComponentProps ) => {
12
- const year = new Date ( ) . getFullYear ( )
13
12
const links = opts ?. links ?? [ ]
14
13
return (
15
14
< footer class = { `${ displayClass ?? "" } ` } >
16
- < p >
17
- { i18n ( cfg . locale ) . components . footer . createdWith } { " " }
18
- < a href = "https://quartz.jzhao.xyz/" > Quartz v{ version } </ a > © { year }
19
- </ p >
15
+ < p style = { { textAlign : "center" } } > Created with ❤️ by Prathamesh Dhande</ p >
20
16
< ul >
21
17
{ Object . entries ( links ) . map ( ( [ text , link ] ) => (
22
18
< li >
23
19
< a href = { link } > { text } </ a >
24
20
</ li >
25
21
) ) }
26
22
</ ul >
23
+ < div style = "text-align: center; padding: 20px; font-family: Arial, sans-serif;" >
24
+ < p style = "color: #007acc; font-size: 16px; margin: 5px;" >
25
+ Written on{ " " }
26
+ < a
27
+ href = "https://obsidian.md"
28
+ target = "_blank"
29
+ style = "color: #00bfff; text-decoration: none;"
30
+ >
31
+ Obsidian
32
+ </ a >
33
+ </ p >
34
+ < p style = "color: #ff9800; font-size: 16px; margin: 5px;" >
35
+ Powered by{ " " }
36
+ < a
37
+ href = "https://github.com/jackyzha0/quartz"
38
+ target = "_blank"
39
+ style = "color: #ffcc33; text-decoration: none;"
40
+ >
41
+ Quartz
42
+ </ a >
43
+ </ p >
44
+ < p style = "color: #4caf50; font-size: 16px; margin: 5px;" >
45
+ Hosted on{ " " }
46
+ < a
47
+ href = "https://pages.github.com/"
48
+ target = "_blank"
49
+ style = "color: #66bb6a; text-decoration: none;"
50
+ >
51
+ GitHub Pages
52
+ </ a >
53
+ </ p >
54
+ </ div >
27
55
</ footer >
28
56
)
29
57
}
You can’t perform that action at this time.
0 commit comments