Skip to content

andy-hook/andyhook.dev

Repository files navigation

andyhook.dev

Source code for my personal portfolio. Built with Next.js, Styled Components and Framer Motion.

Development

To start development:

yarn dev

By default this will spin up a local server on localhost:3000

Image dimensions

Static image dimensions are generated during a build step, either on each run of the dev server or for every production build. If you add, update or change any images you must run yarn generate-image-sizes or restart the dev server to get the latest dimensions and ImagePath typings.

Building

To build for Node environments:

yarn build

or for a static export:

yarn build-static

Testing

Run the tests:

yarn test

Type checking and linting

Type checking and linting is handled by a single script:

yarn lint

Formatting your code

Prettier is supported but you'll need to add your own script if you wish to use the cli.

I personally use this vscode package to format automatically within my editor.

License

MIT, see LICENSE.

About

My personal portfolio

Resources

License

Stars

Watchers

Forks

Languages