Site¶
The portfolio site is a Vite application deployed to Azure Static Web Apps. It serves as the public-facing presence at jersal.net.
Stack¶
| Component | Technology |
|---|---|
| Build tool | Vite 7.x |
| Language | TypeScript 5.x (strict mode) |
| Styling | Tailwind CSS 4.x |
| Hosting | Azure Static Web App |
Build output¶
| Setting | Value |
|---|---|
| App location | site/app |
| Build output | site/app/dist |
| Build command | npm run build |
DNS¶
DNS for jersal.net will be configured to point to the SWA default hostname.
The SWA default hostname is available as a Terraform output from terraform/envs/site.
GitHub secret¶
The deploy workflow requires AZURE_STATIC_WEB_APPS_API_TOKEN from the SWA
resource. This must be added as a GitHub repository secret after the SWA is
created via Terraform.
Region note¶
SWA region constraint
Azure Static Web Apps does not support swedencentral. This repo defaults
to westeurope for SWA resources only. All other resources remain in
swedencentral.