diff --git a/public/img/moonboard_2016/aneasyproblem.webp b/public/img/moonboard_2016/aneasyproblem.webp deleted file mode 100644 index 59943ad..0000000 Binary files a/public/img/moonboard_2016/aneasyproblem.webp and /dev/null differ diff --git a/public/img/moonboard_2016/bokchoiboi.webp b/public/img/moonboard_2016/bokchoiboi.webp deleted file mode 100644 index a46a192..0000000 Binary files a/public/img/moonboard_2016/bokchoiboi.webp and /dev/null differ diff --git a/public/img/moonboard_2016/klingoneasy.webp b/public/img/moonboard_2016/klingoneasy.webp deleted file mode 100644 index 7f1252e..0000000 Binary files a/public/img/moonboard_2016/klingoneasy.webp and /dev/null differ diff --git a/src/data/moonboard.json b/src/data/moonboard.json deleted file mode 100644 index 567b121..0000000 --- a/src/data/moonboard.json +++ /dev/null @@ -1,46 +0,0 @@ -{ - "2016": [ - { - "route":"Klingon Easy", - "grade":"6B+", - "benchmark":true, - "tries":2, - "image":"/img/moonboard_2016/klingoneasy.webp", - "date": - { - "year": "2024", - "month": "03", - "day": "02", - "string": "02.03.2024" - } - }, - { - "route":"An easy problem", - "grade":"6B+", - "benchmark":true, - "tries":1, - "image":"/img/moonboard_2016/aneasyproblem.webp", - "date": - { - "year": "2024", - "month": "02", - "day": "09", - "string": "09.02.2024" - } - }, - { - "route":"BokChoiBoi", - "grade":"6B+", - "benchmark":false, - "tries":5, - "image":"/img/moonboard_2016/bokchoiboi.webp", - "date": - { - "year": "2024", - "month": "02", - "day": "07", - "string": "07.02.2024" - } - } - ] -} diff --git a/src/pages/logs/moonboard.astro b/src/pages/logs/moonboard.astro deleted file mode 100644 index 6bf415b..0000000 --- a/src/pages/logs/moonboard.astro +++ /dev/null @@ -1,32 +0,0 @@ ---- -import SectionContainer from '../../components/SectionContainer.astro'; -import mb from '../../data/moonboard.json'; -const mb2016Setups = mb["2016"]; ---- - - -
-

[ MoonBoard 2016 ]

- -
- {mb2016Setups.map((mb) => ( -
- -

{mb.route} ({mb.grade}):

- -
- - {mb.tries == 1 ? "Flash" : `${mb.tries} tries`} | {mb.benchmark ? "Benchmarked" : "Not benchmarked"} - - - {mb.date.string} -
-
- ))} -
-
-
- diff --git a/src/pages/logs/moonboard.md b/src/pages/logs/moonboard.md new file mode 100644 index 0000000..212c7ec --- /dev/null +++ b/src/pages/logs/moonboard.md @@ -0,0 +1,13 @@ +--- +title: 'MoonBoard' +description: '' +layout: "../../layouts/Layout.astro" +--- + +## 2016 + +| 📌 **Route** | ⭐ **Grade** | ✔️ **Status** | ⏳ **Attempts** | 📅 **Date** | +|-----------------------|-------------|---------------------|----------------|--------------| +| *Klingon Easy* | 6b+ | Benchmarked | 2 tries | 02.03.2024 | +| *An easy problem* | 6b+ | Benchmarked | Flash | 09.02.2024 | +| *BokChoiBoi* | 6b+ | Not benchmarked | 5 tries | 07.02.2024 | diff --git a/src/styles/global.css b/src/styles/global.css index 49c8b77..c6a4f3a 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -104,6 +104,7 @@ h2, h3, h4 { } .blog table { + width: 100%; border-collapse: collapse; margin: 10px 0px; } @@ -112,6 +113,10 @@ h2, h3, h4 { border: 1px solid; } +.blog th { + padding: 5px 5px; +} + .blog a { color: var(--light-link); font-weight: bolder; } .dark .blog a { color: var(--dark-link); }