Skip to content

Commit c2882a5

Browse files
Old Code for the footer
1 parent fded9d6 commit c2882a5

File tree

1 file changed

+33
-5
lines changed

1 file changed

+33
-5
lines changed

quartz/components/Footer.tsx

+33-5
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,49 @@ interface Options {
99

1010
export default ((opts?: Options) => {
1111
const Footer: QuartzComponent = ({ displayClass, cfg }: QuartzComponentProps) => {
12-
const year = new Date().getFullYear()
1312
const links = opts?.links ?? []
1413
return (
1514
<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>
2016
<ul>
2117
{Object.entries(links).map(([text, link]) => (
2218
<li>
2319
<a href={link}>{text}</a>
2420
</li>
2521
))}
2622
</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>
2755
</footer>
2856
)
2957
}

0 commit comments

Comments
 (0)