Skip to content
Back to Home

Mono - Minimal Portfolio Template

Thank you for purchasing Mono! This guide will help you set up and customize your new website.

1. Quick Start

Prerequisites

Installation

  1. Extract the package files.
  2. Open your terminal in the project directory.
  3. Run npm install to install dependencies.
  4. Run npm run dev to start the development server.
  5. Visit http://localhost:3000 in your browser.
  6. Copy .env.example to .env.local and set your site URL.

2. Environment Variables

Create a .env.local file in the root directory:

NEXT_PUBLIC_SITE_URL=https://your-domain.com

This is used for SEO metadata, sitemaps, and robots.txt.

3. Customization

Central Configuration (The easiest way!)

Almost everything can be customized by editing just one file: lib/site-config.ts.

In this file, you can change:

Styling

This template uses Tailwind CSS with Next-Themes.

Changing Colors

You can change the entire color scheme by editing the CSS variables in app/globals.css.

These variables are defined for both :root (Light Mode) and .dark (Dark Mode).

4. Dynamic Pages

Project & Blog Pages

The template automatically generates separate pages for:

  1. Projects added to siteConfig.projects (at /projects/[slug])

  2. Blog posts added as Markdown files (at /writing/[slug])

  3. Ensure each item has a unique slug.

  4. The page content works with standard Markdown formatting.

5. Contact Form

The contact form is currently set up with a "success" state simulation. To make it functional, we recommend using a service like:

Implementation details can be found in app/components/Contact.tsx.

6. Deployment

Vercel (Recommended)

  1. Push your code to a GitHub repository.
  2. Connect your GitHub account to Vercel.
  3. Create a new project and select your repository.
  4. Vercel will automatically detect the Next.js settings and deploy.

Build Command

For other platforms, use the following command to generate a static production build:

npm run build

If you have any questions, feel free to reach out via the support email listed on the marketplace.