noway.moe/README.md

83 lines
2.5 KiB
Markdown
Raw Permalink Normal View History

2023-12-26 22:09:20 -07:00
# My Personal Website!
2023-12-25 20:01:37 -07:00
2023-12-26 22:09:20 -07:00
The codebase for my personal website, which you can [visit
2024-01-03 14:58:16 -07:00
here](https://noway.moe)!
2023-12-25 20:01:37 -07:00
2023-12-26 22:09:20 -07:00
Written using [Astro.js](https://astro.build/) as the main framework, with
2023-12-26 22:14:41 -07:00
[Tailwind CSS](https://tailwindcss.com/). MDX rendering and syntax highlighting
provided by [remark.js](https://github.com/remarkjs).
2023-12-25 20:01:37 -07:00
2024-01-01 19:51:42 -07:00
![Desktop view of home page of
noway.moe](https://cdn.discordapp.com/attachments/436012664003624970/1191572285971255387/nowaymoe_desktop_full.jpeg)
2023-12-25 20:01:37 -07:00
2023-12-26 22:09:20 -07:00
### Building
2023-12-25 20:01:37 -07:00
2023-12-26 22:09:20 -07:00
If you're interested in building this code, do the following:
2023-12-25 20:01:37 -07:00
2023-12-26 22:09:20 -07:00
```bash
git clone https://git.mami2.moe/akemi/noway.moe
cd noway.moe
npm install
npm run dev
2023-12-25 20:01:37 -07:00
2023-12-26 22:09:20 -07:00
# To view the compiled version
npm run preview
2023-12-25 20:01:37 -07:00
2023-12-26 22:09:20 -07:00
# Once you're ready to publish
npm run build
```
2023-12-25 20:01:37 -07:00
2023-12-26 22:09:20 -07:00
I use [Cloudflare Pages](https://pages.cloudflare.com) for hosting. It's free
for static sites, but there are many other options to consider including
[Vercel](https://vercel.com/), [Github](https://pages.github.com), and
[Netlify](https://www.netlify.com) all of which are also free and fast for
static webpages! Live on the edge, pick one you haven't tried!
2024-01-01 19:51:42 -07:00
### 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
2024-01-01 19:56:59 -07:00
<img
height="800px"
alt="Windowed desktop view of home page of noway.moe"
src="https://cdn.discordapp.com/attachments/436012664003624970/1191572285648285767/nowaymoe_desktop_windowed.jpeg"
/>
2024-01-01 19:51:42 -07:00
#### iPad Vertical
2024-01-01 19:56:59 -07:00
<img
height="800px"
alt="Vertical iPad view of home page of noway.moe"
src="https://cdn.discordapp.com/attachments/436012664003624970/1191572285329514576/nowaymoe_ipad_air.jpeg"
/>
2024-01-01 19:51:42 -07:00
#### iPhone 12
2024-01-01 19:56:59 -07:00
<img
height="800px"
alt="iPhone view of home page of noway.moe"
src="https://cdn.discordapp.com/attachments/436012664003624970/1191572284977205378/nowaymoe_iphone_12_pro.jpeg"
/>