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

View file

@ -3,30 +3,33 @@ import clsx from "clsx";
import styles from "./styles.module.css";
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",
description: (
<>
On this page you can find unofficial materials I have written over the
course of teaching multiple courses at the FI.
On this page you can find my blog or unofficial materials I have written
over the course of teaching multiple courses at the FI.
</>
),
},
{
title: "Source",
title: "This web",
description: (
<>
This content can be found as a source at{" "}
<a href="https://gitlab.com/mfocko/kb">GitLab</a> or{" "}
<a href="https://gitlab.fi.muni.cz/xfocko/kb">FI GitLab</a>.
</>
),
},
{
title: "Deployment",
description: (
<>
This content is also deployed on{" "}
<a href="https://gitlab.fi.muni.cz/xfocko/kb">FI GitLab</a>. And you can
find it deployed on {" "}
<a href="https://fi.muni.cz/~xfocko/kb">aisa</a> or{" "}
<a href="https://blog.mfocko.xyz">poincare</a>.
</>

View file

@ -23,7 +23,7 @@ export default function Home() {
return (
<Layout
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 />