website

mohithrao.me

Personal website built with SvelteKit, TypeScript, Vite, and Tailwind CSS.

Stack

Routes

Hidden pages are controlled by feature flags, not route deletion.

Getting Started

npm install
npm run dev

Run Locally

  1. Install dependencies:
    npm install
    
  2. Start the dev server:
    npm run dev
    
  3. Open http://localhost:5173 in your browser.

If port 5173 is in use, Vite will print the actual local URL in the terminal.

Useful scripts:

Content Editing

All site content is data-driven and lives in src/lib/content/:

Feature Flags

Use src/lib/config/features.ts:

Set either to true to show links in global navigation/footer contexts where applicable. Routes remain accessible directly even when hidden.

Components and Layout

Reusable UI components are in src/lib/components/:

Global shell is in src/routes/+layout.svelte and includes:

Static Assets

SEO and Accessibility