| 1 | ## Gurpal Singh – Portfolio (EN/DE) |
| 2 | |
| 3 | This is my personal portfolio built with Next.js. I translated the site to German to practice German, so you may find mistakes here and there. Sorry but corrections are not welcome as I will fix them as I keep learning German. |
| 4 | |
| 5 | ### Highlights |
| 6 | - **Content**: Projects and writings, with MDX articles under |
| 7 | - **Internationalization**: English and German via |
| 8 | - **MDX**: Rendered with |
| 9 | - **Styling**: Tailwind CSS. |
| 10 | - **Dynamic OG images**: Per-writing Open Graph images generated via |
| 11 | |
| 12 | ### Tech Stack |
| 13 | - Next.js 15, React 19, TypeScript |
| 14 | - Tailwind CSS, `@tailwindcss/typography` |
| 15 | - `next-intl` for i18n |
| 16 | - `@content-collections/core`, `@content-collections/mdx`, |
| 17 | - `fumadocs-ui` for MDX components |
| 18 | |
| 19 | ### Run locally |
| 20 | ```bash |
| 21 | pnpm install |
| 22 | pnpm dev |
| 23 | ``` |
| 24 | |
| 25 | Build and start: |
| 26 | ```bash |
| 27 | pnpm build && pnpm |
| 28 | ``` |
| 29 | |
| 30 | ### Structure |
| 31 | - App routes: `app/[locale]/(root)/**`, writings: `app/[locale]/(root)/writings/[slug]/**` |
| 32 | - Content: `content/writings/en`, `content/writings/de` |
| 33 | - Translations: `translations/en.json`, `translations/de.json` |
| 34 | |
| 35 | ### Notes on German translation |
| 36 | I’m actively learning German. The DE copy exists primarily for practice; expect occasional errors or phrasing that I’ll improve over time. |
| 37 | |
| 38 | |