Skip to content

Commit f656708

Browse files
committed
Add webring navigation elements
1 parent 2ae7bda commit f656708

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

docusaurus.config.ts

+9-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ const config: Config = {
148148
],
149149
},
150150
],
151-
copyright: `Copyright © ${new Date().getFullYear()} Graphics Programming Discord. Built with Docusaurus.`,
151+
copyright: `Copyright © ${new Date().getFullYear()} Graphics Programming Discord. Built with Docusaurus. ${getCoolClubWebRingEmbed()}`,
152152
},
153153
prism: {
154154
theme: prismThemes.duotoneLight,
@@ -160,4 +160,12 @@ const config: Config = {
160160
} satisfies Preset.ThemeConfig,
161161
};
162162

163+
function getCoolClubWebRingEmbed() {
164+
return `<p>
165+
<a href="https://join-the-cool.club/members/graphics-programming-blog?prev" style="text-decoration: none">⬅️</a>
166+
<a href="https://join-the-cool.club/members/graphics-programming-blog" style="text-decoration: none">🧊</a>
167+
<a href="https://join-the-cool.club/members/graphics-programming-blog?next" style="text-decoration: none">➡️</a>
168+
</p>`;
169+
}
170+
163171
export default config;

0 commit comments

Comments
 (0)