veb starter
@title
@message
Try GET /health for a plain-text response.
module main import os fn (mut c Create) set_web_project_files() { base := if c.new_dir { c.name } else { '' } c.files << ProjectFiles{ path: os.join_path(base, 'assets', 'main.css') content: "html, body { font-family: Arial, Helvetica, sans-serif; background: #f4efe6; color: #1f2933; height: 100%; margin: 0; } body { display: grid; place-items: center; padding: 24px; } .card { max-width: 560px; padding: 32px; border: 1px solid #d8ccb8; border-radius: 16px; background: #fffaf1; box-shadow: 0 18px 50px rgba(69, 52, 35, 0.08); } .eyebrow { margin: 0 0 12px; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #8b5e34; } h1 { margin: 0 0 12px; font-size: 40px; line-height: 1.1; } p { margin: 0; font-size: 18px; line-height: 1.6; } .hint { margin-top: 16px; font-size: 14px; color: #52606d; } code { font-family: 'Courier New', monospace; } " } c.files << ProjectFiles{ path: os.join_path(base, 'templates', 'index.html') content: "
veb starter
@message
Try GET /health for a plain-text response.