Dayrvia
DEVELOPER JOURNAL

From one entry to a service directory

How a single service record powers the homepage, directory and detail pages.

The cost of keeping two lists

If a homepage card and a directory listing are edited separately, a renamed service can appear under two names. Dayrvia keeps status, features and descriptions in one JSON entry. Korean and English copy share the same stable identifier.

Build the pages ahead of time

Astro reads each entry and generates HTML for the directory and detail pages. The homepage selects up to eight featured entries. Adding a new record creates a detail URL using its slug, so existing links keep working when display names change.

Check the destination with the status

A live listing requires an HTTPS address and a verification date. Missing either stops the build. Services in planning retain their detail pages and describe their intended scope while their external launch action stays disabled.

Search inside the browser

The directory already contains its cards when the page arrives. A category selection or a search term filters those entries locally. This keeps search terms in the browser and removes the need for a search server.

All articles