← Back to Home

Website Documentation

Everything you need to manage, customize, and grow your website.

🚀

Getting Started

Updating Your Brand

How to customize colors, logo, and business information

1

Open public/theme.config.json to update brand colors

2

Replace public/logo.png with your logo

3

Update src/app/layout.tsx metadata with your business name and description

4

Update social links in src/components/layout/Footer.tsx

Publishing Blog Posts

Add new content to your blog

1

Create a new .md file in src/content/blog/ directory

2

Add frontmatter with title, date, author, excerpt, image, and tags

3

Write your content using Markdown formatting

4

Images go in the public/ folder and reference them as /image-name.jpg

5

The blog automatically updates when you add new files

📝

Managing Content

Updating Page Content

Edit text and images on your pages

1

Homepage: Edit src/components/sections/HeroSection.tsx

2

About page: Edit src/app/about/page.tsx

3

Services: Edit src/app/services/page.tsx

4

Contact: Edit src/app/contact/page.tsx

5

All images should be added to the public/ folder

Adding New Pages

Create additional pages for your site

1

Create a new folder in src/app/ with your page name (e.g., src/app/pricing)

2

Add a page.tsx file inside that folder

3

Copy structure from an existing page as a template

4

Add navigation link in src/components/layout/Header.tsx if needed

📧

Email & Automation

Setting Up Email Capture

Connect your email service

1

Sign up for an email service (ConvertKit, Mailchimp, etc.)

2

Get your API key from your email service dashboard

3

Add API key to your .env.local file as EMAIL_SERVICE_API_KEY

4

Update src/app/api/subscribe/route.ts with your service API endpoint

5

Test with a real email address to confirm it works

Deploying n8n Workflows

Set up automated email sequences

1

Install n8n on your server or use n8n.cloud

2

Import workflow files from n8n-workflows/ folder

3

Update webhook URLs in each workflow

4

Connect to your email service API

5

Test each workflow with sample data

6

Activate workflows in n8n dashboard

Managing Contact Form Submissions

View and respond to contact inquiries

1

Contact submissions are sent to your email (configured in .env.local)

2

Update CONTACT_EMAIL in .env.local to your business email

3

Optionally save to a database by updating src/app/api/contact/route.ts

4

Consider using a service like Airtable or Google Sheets for submissions

🌐

Deployment & Hosting

Deploying to Vercel

Get your site live in minutes

1

Push your code to GitHub repository

2

Sign up for Vercel.com and connect your GitHub

3

Import your repository and deploy

4

Add environment variables in Vercel dashboard (Settings > Environment Variables)

5

Your site will be live at [project-name].vercel.app

6

Connect custom domain in Vercel dashboard

Environment Variables

Required configuration

1

NEXT_PUBLIC_SITE_URL - Your website URL

2

EMAIL_SERVICE_API_KEY - Your email service API key

3

CONTACT_EMAIL - Email to receive contact form submissions

4

NEXT_PUBLIC_GA4_ID - Google Analytics 4 measurement ID (optional)

5

Add these in .env.local for development and in hosting platform for production

Custom Domain Setup

Use your own domain name

1

Purchase domain from registrar (Namecheap, GoDaddy, etc.)

2

In Vercel: Go to Settings > Domains > Add

3

Enter your domain name

4

Update DNS records at your registrar with values from Vercel

5

Wait 24-48 hours for DNS propagation

6

Your site will be live at your custom domain

📊

Analytics & SEO

Setting Up Google Analytics

Track your website visitors

1

Create Google Analytics 4 account at analytics.google.com

2

Get your measurement ID (starts with G-)

3

Add NEXT_PUBLIC_GA4_ID to your environment variables

4

Deploy and verify tracking in Google Analytics Real-Time report

Improving SEO

Get found on Google

1

Update metadata in src/app/layout.tsx with your business keywords

2

Write blog posts regularly (2-4 per month minimum)

3

Submit sitemap.xml to Google Search Console

4

Get backlinks from other reputable websites

5

Optimize images with descriptive file names

6

Use heading tags (H1, H2, H3) properly in content

🔧

Troubleshooting

Common Issues

Solutions to frequent problems

1

Images not loading: Check file names match exactly (case-sensitive)

2

Email forms not working: Verify API keys in environment variables

3

Build failing: Run "npm install" to update dependencies

4

Styles not applying: Clear browser cache and hard reload (Cmd/Ctrl + Shift + R)

5

Page not found: Check folder structure matches URL path exactly

Getting Help

When you need support

1

Check this documentation first

2

Review error messages in browser console (F12 > Console)

3

Search error messages on Google or Stack Overflow

4

Contact your developer for custom modifications

5

Join Next.js community on Discord for framework questions

Need More Help?

Can't find what you're looking for? We're here to help.

Contact Support