home: redo the homepage

Signed-off-by: Matej Focko <me@mfocko.xyz>
This commit is contained in:
Matej Focko 2022-12-25 19:10:03 +01:00
parent c1a49e116c
commit 783a8091b1
Signed by: mfocko
GPG key ID: 7C47D46246790496
3 changed files with 25 additions and 22 deletions

View file

@ -49,18 +49,18 @@ class Subject {
} }
const subjects = [ const subjects = [
new Subject("ib002", "Algorithms"), new Subject("ib002", "Algorithms"),
// new Subject("ib015", "Non-imperative programming"), // new Subject("ib015", "Non-imperative programming"),
// new Subject("ib110", "Introduction to informatics"), // new Subject("ib110", "Introduction to informatics"),
// new Subject("ib111", "Foundations of programming"), // new Subject("ib111", "Foundations of programming"),
new Subject("pb071", "C"), new Subject("pb071", "C"),
new Subject("pb161", "C++"), new Subject("pb161", "C++"),
]; ];
/** @type {import('@docusaurus/types').Config} */ /** @type {import('@docusaurus/types').Config} */
const config = { const config = {
title: "Additional materials by mf", title: "mf",
tagline: "Additional materials", tagline: "blog and additional materials for courses at φ",
url: process.env.URL, url: process.env.URL,
baseUrl: process.env.BASE_URL, baseUrl: process.env.BASE_URL,
onBrokenLinks: "warn", onBrokenLinks: "warn",
@ -119,7 +119,7 @@ const config = {
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */ /** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({ ({
navbar: { navbar: {
title: "Additional materials by mf", title: "mf",
items: [ items: [
...subjects.map(s => s.navbar()), ...subjects.map(s => s.navbar()),
{ {

View file

@ -3,30 +3,33 @@ import clsx from "clsx";
import styles from "./styles.module.css"; import styles from "./styles.module.css";
const FeatureList = [ const FeatureList = [
{
title: "About Me",
description: (
<p>
I'm working in Red Hat in the <a href="https://github.com/packit">Packit
team</a> and studying at <a href="https://fi.muni.cz">FI MUNI</a> while
also tutoring some courses there.
</p>
),
},
{ {
title: "Content", title: "Content",
description: ( description: (
<> <>
On this page you can find unofficial materials I have written over the On this page you can find my blog or unofficial materials I have written
course of teaching multiple courses at the FI. over the course of teaching multiple courses at the FI.
</> </>
), ),
}, },
{ {
title: "Source", title: "This web",
description: ( description: (
<> <>
This content can be found as a source at{" "} This content can be found as a source at{" "}
<a href="https://gitlab.com/mfocko/kb">GitLab</a> or{" "} <a href="https://gitlab.com/mfocko/kb">GitLab</a> or{" "}
<a href="https://gitlab.fi.muni.cz/xfocko/kb">FI GitLab</a>. <a href="https://gitlab.fi.muni.cz/xfocko/kb">FI GitLab</a>. And you can
</> find it deployed on {" "}
),
},
{
title: "Deployment",
description: (
<>
This content is also deployed on{" "}
<a href="https://fi.muni.cz/~xfocko/kb">aisa</a> or{" "} <a href="https://fi.muni.cz/~xfocko/kb">aisa</a> or{" "}
<a href="https://blog.mfocko.xyz">poincare</a>. <a href="https://blog.mfocko.xyz">poincare</a>.
</> </>

View file

@ -23,7 +23,7 @@ export default function Home() {
return ( return (
<Layout <Layout
title={`${siteConfig.title}`} title={`${siteConfig.title}`}
description="Additional materials for the course of Algorithms and Data structures I" description="mf's blog and additional materials for courses at φ"
> >
<HomepageHeader /> <HomepageHeader />