noway.moe/README.md
2024-01-03 14:58:16 -07:00

2.5 KiB

My Personal Website!

The codebase for my personal website, which you can visit here!

Written using Astro.js as the main framework, with Tailwind CSS. MDX rendering and syntax highlighting provided by remark.js.

Desktop view of home page of
noway.moe

Building

If you're interested in building this code, do the following:

git clone https://git.mami2.moe/akemi/noway.moe
cd noway.moe
npm install
npm run dev

# To view the compiled version
npm run preview

# Once you're ready to publish
npm run build

I use Cloudflare Pages for hosting. It's free for static sites, but there are many other options to consider including Vercel, Github, and Netlify all of which are also free and fast for static webpages! Live on the edge, pick one you haven't tried!

Licence

Feel free to fork this code and use it for your website! No need to credit me.

This code is licensed under AGPL, meaning that you must open source any forks of this code. That way everyone can benefit from our collective efforts!

Design

This site is designed to reuse pages as much as possible. There are only 4 particularly different page types:

  1. Home page
  2. Posts listing (blog listing, unix listing...)
  3. Markdown posts (blogs, contact page)
  4. Pinterest-style masonry (cat pics page)

In general, only 4 style sheets are necessary to cover all the pages, but each individual page makes adjustments on top of the base.

This makes it easy to make the website very mobile-responsive. The home page has the most complex responsive design. Images are attached below!

Desktop Windowed

Windowed desktop view of home page of noway.moe

iPad Vertical

Vertical iPad view of home page of noway.moe

iPhone 12

iPhone view of home page of noway.moe