Skip to content

theenadayalank/website

Repository files navigation

Portfolio and blog built with Next.js 14 (App Router), React 18, Tailwind CSS, and TypeScript.

Tech Stack

  • Framework: Next.js 14 (App Router)
  • React: 18.x
  • Styling: Tailwind CSS 3
  • Language: TypeScript
  • Content: Markdown (gray-matter + react-markdown) for blog posts
  • Package Manager: pnpm

Prerequisites

Installation

git clone <repository-url>
cd website
pnpm install

Running / Development

pnpm dev

Visit http://localhost:3000.

Build

pnpm build

Where does the build go?

Path Purpose
.next/ pnpm build writes here. Compiled app, server bundles, static assets for production. This folder is not committed to git. Run pnpm start to serve it.
public/ Static files you add (images, PDF, favicon.ico). Next.js serves them at the site root (e.g. public/img/x.jpg/img/x.jpg). Build output is never written into public/.
out/ Only if you enable static export (output: 'export' in next.config). Then pnpm build produces a static site in out/, still not in public/.

So: public/ = your static assets only; .next/ = build output.

Production

pnpm build
pnpm start

Project Structure

├── app/
│   ├── layout.tsx       # Root layout, metadata
│   ├── page.tsx         # Homepage
│   ├── globals.css
│   ├── components/      # UI components
│   ├── lib/             # Profile data, blog helpers, projects
│   ├── blog/            # Blog index and post pages
│   ├── sitemap.ts
│   ├── robots.ts
│   └── not-found.tsx
├── content/blog/        # Markdown posts
└── public/              # Static assets (images, resume PDF)

Assets

Place static files directly in public/:

  • public/img/profile.jpg, public/img/header-bg.jpg
  • public/Theenadayalan_Resume.pdf
  • public/blog/[slug]/ for blog post images

Profile and resume content is edited in app/lib/profile.ts.

Deploy (Vercel)

  1. Push to GitHub
  2. Import project in Vercel
  3. Build command: pnpm build
  4. Deploy

Author

Theenadayalan Kaliamurthytheenadayalan.netlify.app

License

MIT © Theenadayalan Kaliamurthy

Releases

No releases published

Packages

 
 
 

Contributors