Personal site of Giuseppe de Santis — a single static page built with Astro and Tailwind CSS v4.
- Node 22 (see
.nvmrc) - pnpm 11 (
corepack enable)
| Command | Action |
|---|---|
pnpm dev |
Dev server at http://localhost:4321 |
pnpm build |
astro check (typecheck) then a production build |
pnpm preview |
Serve the built dist/ |
pnpm lint |
ESLint |
pnpm format |
Prettier (Astro + Tailwind class-sort plugins) |
pnpm e2e |
Playwright smoke tests (auto-builds + previews) |
pnpm lhci |
Lighthouse CI against a local production build |
Copy .env.sample to .env and set GTAG_ID to enable Google Analytics
(the tag renders only when the variable is present).
src/pages/— routes (index.astro,robots.txt.ts)src/layouts/BaseLayout.astro— the HTML shellsrc/components/shell/—Meta.astro(SEO/OG/JSON-LD),GoogleTag.astrosrc/components/—SocialLinks.astroandicons/src/styles/global.css— Tailwind v4 entry + theme tokenssrc/site.ts— site metadata and the social-profile listsrc/scripts/htmlMinifier.mjs— post-build HTML minification integration