diff --git a/src/components/tree/Tree.astro b/src/components/tree/Tree.astro index ca50b31..0fd5829 100644 --- a/src/components/tree/Tree.astro +++ b/src/components/tree/Tree.astro @@ -29,8 +29,11 @@ type Views = const { heading, pages, headings } = Astro.props; const views = Maybe.catMaybes([ - pages.map(pages => ({ kind: "pages", pages })), - headings.map(headings => ({ kind: "headings", headings })), + pages + .map(pages => ({ kind: "pages", pages })), + headings + .filter(x => x.length > 0) + .map(headings => ({ kind: "headings", headings })), ]) --- diff --git a/src/content/wiki/kamoshi-org.md b/src/content/wiki/kamoshi-org.md new file mode 100644 index 0000000..74c477a --- /dev/null +++ b/src/content/wiki/kamoshi-org.md @@ -0,0 +1,17 @@ +--- +title: Kamoshi.org - memorablia +--- + +I started working on this website in late July of the year 2021 during my internship as a frontend developer. It was also shortly after I had finished a proper webdev course at my university, what a coincidence! This was probably what gave me the creative spark to jump right into it head-first. + +## Humble beginnings + +You can see the first ever layout written by hand in plain HTML and SCSS below. I probably don't even have the code for that anymore since I didn't push it into version control until maybe a week later! + +![The first look](/static/first-layout.png) + +As you can see finding a nice palette of colors is not actually my greatest strength, however, if you look long enough, and squint hard enough, you can still see the resemblance! :smile: + +I work as a TypeScript developer, but ironically when I started working in this website I decided to make it completely free of JavaScript, and I went to *great* lengths to make it happen. It's a tough thing to accomplish unless you want to have a *very* simple website. As you can see, my website uses JavaScript, so did I give up? Not exactly - I still try to minimize JavaScript. You can see how much of this website still remains functional after you turn off JavaScript, you might be pleasantly surprised... + + diff --git a/src/pages/wiki/index.mdx b/src/pages/wiki/index.mdx index f58f180..2ccb176 100644 --- a/src/pages/wiki/index.mdx +++ b/src/pages/wiki/index.mdx @@ -4,8 +4,13 @@ title: Wiki home page --- import ProjectSizeChart from '@assets/wiki/ProjectSizeChart'; +Welcome! In this wiki I'll write about various things which don't really fit into any other place. This wiki is very much inspired by [Nikita Voloboev's wiki](https://wiki.nikiv.dev/), as well as [Gwern Branwen's really amazing website](https://gwern.net/), and I do really mean it! It's a marvel. But these are only some of the inspirations which I am always on the lookout for. + ## Project size The following chart displays the number of lines of code categorized by file extension within the repository of this website. + + +