Skip to content

A personal portfolio website statically and multilingually generated using next.js.

License

Notifications You must be signed in to change notification settings

drik98/devportfolio

 
 

Repository files navigation

Dev Portfolio

This repo contains my portfolio showcasing a few of my projects as well as displaying my CV. It was originally forked from the static html template of RyanFitzgerald/devportfolio but since has evolved into a next.js app which leverages static side generation to allow an easier maintenance of the website.

To view a live demo, click here.

Netlify Status

Development

First, install the dependencies. Then run the development server:

npm install
npm run dev

To switch the active person during development:

NEXT_PUBLIC_PERSON=anna npm run dev

Open http://localhost:3000 with your browser to see the result.

Publishing

Once your changes are pushed to the remote git repository, netlify will take care of deploying it. You can preview the statically generated content manually using:

npm run build
npm run start

Multiple People

Person-specific data lives under content/people/<slug>/ and is wired up in content/people/index.ts.

The active person is controlled via the NEXT_PUBLIC_PERSON env var (defaults to hendrik). Example:

NEXT_PUBLIC_PERSON=anna npm run build

To add another person:

  1. Create content/people/<slug>/ and copy the JSON files from content/people/hendrik/ as a starting point.
  2. Add assets:
    • Website banner background: public/people/<slug>/lead-bg.jpg
    • Website profile image: public/people/<slug>/profile_picture.jpg
    • CV profile image: cv/people/<slug>/profile_picture.jpg
  3. Register the person in content/people/index.ts (slug, CV file base, contact form action, and theme colors).

License

Completely free (MIT)! See LICENSE.md for more.

About

A personal portfolio website statically and multilingually generated using next.js.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 61.5%
  • TeX 19.2%
  • SCSS 19.0%
  • JavaScript 0.3%