A small editorial website for alm44 — a renovated cabin in Außerteuchen, Carinthia. Built with Astro.
Tone: editorial, German-first, restraint over volume. Inspired by theplacetobe.world — moody photography, asymmetric scenes, soft palette pulled from the printed alm44 flyer.
Requires Node.js 20+.
npm install
npm run dev # http://localhost:4321Build & preview:
npm run build
npm run previewsrc/
├── components/
│ ├── Nav.astro Top-right burger + fullscreen overlay
│ ├── Footer.astro Minimal footer
│ └── Scene.astro Reusable image+prose editorial block
├── layouts/
│ └── Base.astro HTML shell, meta, fonts, scroll-reveal
├── pages/
│ ├── index.astro Hütte (home)
│ ├── umgebung.astro Surroundings
│ ├── buchung.astro Pricing + booking + Anfrage form
│ ├── kontakt.astro Contact + standort
│ ├── impressum.astro Verbatim from falkertsee13.at/impressum
│ └── datenschutz.astro Draft Datenschutzerklärung
└── styles/
└── global.css Palette, type, layout helpers
public/
├── images/ Curated photos (~22 selected from 71)
└── favicon.svg
The full set of source photos lives in Alm44/ (gitignored — kept on
disk only). Selected photos are copied into public/images/ with
semantic names (e.g. hero-home.jpg, wohnen-kachelofen.jpg).
These are marked as TODO in the code where they apply.
- Smoobu booking widget —
src/pages/buchung.astrohas a placeholder block with the standard Smoobu embed snippet commented in. Drop in the actualSMOOBU_PROPERTY_IDonce the Smoobu apartment is set up. Until then the Anfrage form below it is the fallback — it POSTs to/api/contactand sends mail via Resend (see Deploying). - Domain —
alm44.atis set inastro.config.mjsbut not yet attached to the Cloudflare Pages project. See Deploying → Domain. - Photo selection —
public/images/is a first pass. Swap any filename with another fromAlm44/to change the photo for that slot. File names are semantic (e.g.kueche.jpg,bad.jpg) so there's no other code to change. - Photo optimisation — current files are iPhone originals (3–8 MB
each). For production, run them through Sharp or ImageOptim before
deploy, or migrate to Astro's
<Image>component (imports fromsrc/assets/instead ofpublic/). - Datenschutz —
src/pages/datenschutz.astrois a draft. Adjust to the final host and any embedded services before publishing. - English version — currently DE only. To add EN, create
src/pages/en/with translated copies, plus a small language switch inNav.astro.
All German prose lives directly inside the page files
(src/pages/*.astro). Open the file, edit between the tags. Save.
The dev server reloads instantly.
Use the existing <Scene> component:
<Scene
src="/images/your-photo.jpg"
alt="Beschreibung des Bilds"
eyebrow="Kurzes Label"
scriptLine="optional"
title="der Hauptsatz."
caption="optionale Bildunterschrift"
reverse
>
<p>Erster Absatz.</p>
<p>Zweiter Absatz.</p>
</Scene>reverse flips image to the right. Drop it for image-left.
All design tokens (colors, type, spacing) live as CSS variables at the
top of src/styles/global.css. Change the values, the whole site
follows.
The site runs on Cloudflare Pages. It is live at
https://alm44.pages.dev. Deploys happen automatically: push to
main on GitHub, Cloudflare builds and publishes.
The site is almost static, with one exception that determines the
host: functions/api/contact.js is a Cloudflare Pages Function
that handles the Anfrage form. Plain static hosting (an FTP upload of
dist/ to All-inkl, a Netlify drag-and-drop, Vercel) would serve the
pages fine but silently break the contact form — the POST to
/api/contact would 404. Do not move the site off Cloudflare Pages
without replacing that endpoint first.
The Function needs one environment variable in the Pages project (Settings → Environment variables, Production):
RESEND_API_KEY— from resend.com/api-keys
Optional: MAIL_TO (default alm44@gmx.at), MAIL_FROM.
Without RESEND_API_KEY the form responds with a 503 and a message
asking the visitor to mail directly. Send a test enquiry after any
deploy that touches the form.
alm44.at is live and attached to the Pages project. site: in
astro.config.mjs is set to https://alm44.at to match, so canonical
tags, og:url, og:image and sitemap-index.xml all point at the real
domain.
Before this was set, the site served on alm44.at while declaring
https://alm44.pages.dev/ as its canonical URL — telling search engines
the authoritative copy lived on the preview domain, and making shared
link previews resolve to pages.dev. If you ever change the domain, change
site: in the same commit.
- Flyer (
Alm44/Infos alm44.pdf) — primary source for property details, palette, and tone. - Photos (
Alm44/IMG_*.jpg) — 71 originals, of which ~22 are curated into the build. - Impressum — taken verbatim from falkertsee13.at/impressum.
Built with care. If something feels off, change it — this is a tiny codebase by design.