Skip to content

Open source code base for a personal site, portfolio, and blog

Notifications You must be signed in to change notification settings

brti-dev/brti.dev

Repository files navigation

Mattberti.com

This is the complete code behind brti.dev, a personal web site mostly focused on a portfolio and blog. I am providing this as open source because I wanted to share my code to others.

Built With

  • Javascript
  • Typescript
  • React
  • Next.js
  • Sass

Setup

To get this app running on your local machine:

  1. Clone this repository
  2. Install website dependencies by running npm install
  3. Run the development server: npm run dev

Edit the constants in src/lib/constants.ts, then personalize pages/index.tsx. You can then delete all the other pages except _app.tsx, _document.tsx, and the blog folder (unless you will forego the blog, in which case it would be prudent to delete it).

Blog

Posts within the posts directory are automatically generated as blog posts. To add a new post, manually create a new markdown file, or use the shortcut script: npm run newpost.

Build

I recommend you deploy your app to Vercel, in which case you can skip the build process instructions below.

To build for deployment: npm run build

The current build config utilizes Next.js static export. To deploy this app on a server, use next build.

Contributing

Feel free to file a PR if you want to help improve this project. :)

About

Open source code base for a personal site, portfolio, and blog

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published