diff --git a/public/img/moonboard_2016/aneasyproblem.png b/public/img/moonboard_2016/aneasyproblem.png new file mode 100644 index 0000000..6829bcd Binary files /dev/null and b/public/img/moonboard_2016/aneasyproblem.png differ diff --git a/public/img/moonboard_2016/bokchoiboi.png b/public/img/moonboard_2016/bokchoiboi.png new file mode 100644 index 0000000..2e448e3 Binary files /dev/null and b/public/img/moonboard_2016/bokchoiboi.png differ diff --git a/src/data/moonboard.json b/src/data/moonboard.json new file mode 100644 index 0000000..5439596 --- /dev/null +++ b/src/data/moonboard.json @@ -0,0 +1,32 @@ +{ + "2016": [ + { + "route":"BokChoiBoi", + "grade":"6B+", + "benchmark":false, + "tries":5, + "image":"/img/moonboard_2016/bokchoiboi.png", + "date": + { + "year": "2024", + "month": "02", + "day": "07", + "string": "07.02.2024" + } + }, + { + "route":"An easy problem", + "grade":"6B+", + "benchmark":true, + "tries":1, + "image":"/img/moonboard_2016/aneasyproblem.png", + "date": + { + "year": "2024", + "month": "02", + "day": "09", + "string": "09.02.2024" + } + } + ] +} diff --git a/src/pages/logs/index.md b/src/pages/logs/index.md index 1a96cb0..c1d9cff 100644 --- a/src/pages/logs/index.md +++ b/src/pages/logs/index.md @@ -3,10 +3,12 @@ title: 'Logs' description: '' layout: "../../layouts/Layout.astro" --- -All my logs where I keep track of stuff I’ve watched and things I’ve read. I started tracking in 2023 so the years before that are untracked. +All my logs where I keep track of stuff I’ve watched, things I’ve read and my moonboard sends. I started tracking in 2023 so the years before that are untracked. I don’t use any third-party services for my logs, I store everything in a JSON-format for this website. [📚 **Books**](/logs/books) -[📺 **Watched**](/logs/watched) \ No newline at end of file +[🧗 **MoonBoard**](/logs/moonboard) + +[📺 **Watched**](/logs/watched) diff --git a/src/pages/logs/moonboard.astro b/src/pages/logs/moonboard.astro new file mode 100644 index 0000000..36cc037 --- /dev/null +++ b/src/pages/logs/moonboard.astro @@ -0,0 +1,27 @@ +--- +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} +

+
+ ))} +
+
+
+