// Home page. Route: / (a trailing `index` segment is dropped from the route). // // SSR-first: the body is server-rendered. Interactivity comes from components — // `.wrn` files under app/components, rendered on the server and hydrated in the // browser. Mount one with data-component="" and pass props as attributes. page Home { layout = "public" seo { title = "Home" description = "Welcome to the WrNexus basic app, an SSR-first framework demo." } view {

{t:home.title}

{t:home.intro}

This box uses theme tokens. Current theme controls its colors.

About

Language server playground

} style { .themed-box { background: var(--wire-color-surface); color: var(--wire-color-text); border: 1px solid var(--wire-color-border); border-radius: var(--wire-radius); padding: 1rem; margin: 1rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; } .theme-toggle { background: var(--wire-color-primary); color: var(--wire-color-primary-contrast); border: 0; border-radius: var(--wire-radius-sm); padding: 0.5rem 0.9rem; cursor: pointer; } } }