Skip to content

LiamPattinson/liampattinson.github.io

Repository files navigation

liampattinson.github.com

My personal webpage, and a space I'm using to learn a little web-dev.

This site uses React with assets from Material UI.

I'm also using WAVE to ensure the website is designed with accessibility in mind.

Usage

I use Yarn to manage the project, but the steps below will also work by replacing yarn with npm run.

All developer dependencies are listed in package.json, and setup for various tools can be found in *.config.js files.

To install all dependencies, use:

yarn install

Using Vite, a local development version of the site can be deployed with:

yarn dev

A production build can be created and previewed with:

yarn build
yarn preview

The code is linted with ESLint and formatted with Prettier. The two tools are integrated, so style violations will be picked up by ESLint. To lint the code, use:

yarn lint [--fix]

Providing --fix will auto-fix most issues. To format the code without linting:

yarn format

To add new blog posts, create a new markdown file in the top-level blog/ directory, and run:

yarn blog

Q&A

Why not use [insert static site template] like a sensible person?

It's more fun this way.

License

All material licensed under MIT.

About

My personal webpage.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages