/welcome
This is a static (SSG) page. It has been prerendered dynamically. Code: apps/server/src/pages/[...slug].astro
.
Slug: welcome
React Component example:
ShowcaseComponent (Preact) from packages/preact-components: works!
Packages can also use .env: [value from .env]
Tech demo pages (SSR, SSG)
-
Homepage →
Homepage (SSG)
-
Welcome page →
Welcome page (getStaticPaths(); SSG)
-
CV page →
Resume page (getStaticPaths(); SSG)
-
Dynamic page →
SSR rendered page, uses query params (SSR)
-
Admin login API endpoint →
API endpoint, uses env vars, returns JSON. Play with the query params.
-
Static API endpoint →
Statically pre-generated data output. API endpoint, using getStaticPaths().