mirror of
https://github.com/mfocko/blog.git
synced 2024-11-22 13:03:47 +01:00
chore: switch to public GitLab URL and add footer
• switch git URLs to public GitLab • add footer with links Signed-off-by: Matej Focko <mfocko@redhat.com>
This commit is contained in:
parent
df872c346e
commit
1e0d39d0e9
1 changed files with 62 additions and 6 deletions
|
@ -23,7 +23,7 @@ class Subject {
|
|||
path: this.subject,
|
||||
routeBasePath: this.subject,
|
||||
sidebarPath: require.resolve("./sidebars.js"),
|
||||
editUrl: "https://gitlab.fi.muni.cz/xfocko/kb/tree/main",
|
||||
editUrl: "https://gitlab.com/mfocko/kb/tree/main",
|
||||
remarkPlugins: [math],
|
||||
rehypePlugins: [katex],
|
||||
},
|
||||
|
@ -39,6 +39,13 @@ class Subject {
|
|||
label: `${this.subject.toUpperCase()}: ${this.description}`,
|
||||
};
|
||||
}
|
||||
|
||||
footer() {
|
||||
return {
|
||||
label: `${this.subject.toUpperCase()}: ${this.description}`,
|
||||
to: this.subject,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
const subjects = [
|
||||
|
@ -91,6 +98,7 @@ const config = {
|
|||
type: 'all',
|
||||
copyright: `Copyright © ${new Date().getFullYear()} Matej Focko.`,
|
||||
},
|
||||
editUrl: "https://gitlab.com/mfocko/kb/tree/main",
|
||||
remarkPlugins: [math],
|
||||
rehypePlugins: [katex],
|
||||
},
|
||||
|
@ -119,16 +127,64 @@ const config = {
|
|||
position: "right",
|
||||
label: "Blog",
|
||||
},
|
||||
{
|
||||
href: "https://gitlab.com/mfocko/kb",
|
||||
label: "GitLab",
|
||||
position: "right",
|
||||
},
|
||||
],
|
||||
},
|
||||
footer: {
|
||||
style: "dark",
|
||||
copyright: `Copyright © ${new Date().getFullYear()} Matej Focko.`,
|
||||
links: [
|
||||
{
|
||||
title: "Additional materials for φ courses",
|
||||
items: subjects.map(s => s.footer()),
|
||||
},
|
||||
{
|
||||
title: "Social #1",
|
||||
items: [
|
||||
{
|
||||
label: "LinkedIn",
|
||||
href: "https://www.linkedin.com/in/mfocko/",
|
||||
},
|
||||
{
|
||||
label: "GitHub",
|
||||
href: "https://github.com/mfocko",
|
||||
},
|
||||
{
|
||||
label: "GitLab",
|
||||
href: "https://gitlab.com/mfocko",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Social #2",
|
||||
items: [
|
||||
{
|
||||
label: "Twitter",
|
||||
href: "https://twitter.com/m4tt_314",
|
||||
},
|
||||
{
|
||||
label: "Twitch",
|
||||
href: "https://twitch.tv/m4tt_314",
|
||||
},
|
||||
{
|
||||
label: "Ko-fi",
|
||||
href: "https://ko-fi.com/m4tt_314",
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Source of this web",
|
||||
items: [
|
||||
{
|
||||
label: "GitLab",
|
||||
href: "https://gitlab.com/mfocko/kb",
|
||||
},
|
||||
{
|
||||
label: "GitLab FI",
|
||||
href: "https://gitlab.fi.muni.cz/xfocko/kb",
|
||||
},
|
||||
]
|
||||
}
|
||||
],
|
||||
},
|
||||
prism: {
|
||||
theme: lightCodeTheme,
|
||||
|
|
Loading…
Reference in a new issue