<< lib/website/klm/KLMWebsite.sleela SLeeLa Standard Library Definition. Definition: Defines KLMWebsite — the SLeeLa Website Generator build for KLM Royal Dutch Airlines. It composes the airline's brand design (brand #00a1de, accent #f36f21) and an ordered list of semantic signs (nav, hero, feature, testimonial, cta, footer) into a complete, self-contained HTML site. Mirrors lib/website/website.sleela: String concatenation on OP_ADD plus integer-to-text, no new VM opcode. >> #sleela 2.5 material; < SLeeLa website/klm front-end builder — one airline website per directory. > < Family: website. KLM Royal Dutch Airlines brand site, built from the website model: a > < design (brand/base/accent + an energy dial) and an ordered list of semantic > < signs. The same sign model as lib/website/website.sleela; only the brand > < identity and copy change. Self-contained and runnable (print the HTML). > class KLMWebsite { < ---- Descriptive metadata (version 1.11 nested-friendly accessors) ---- > << Eleven catalogued attributes with getter/setter pairs, so a GUI, loader, or catalog can read and (where appropriate) override this record. Values are faithful to the subject's real origin where publicly known. >> String metaVersion = "1.0.0"; int metaId = 10854; String metaAuthor = "Kiro Agent"; String metaDate = "2026-10-16"; String metaCopyright = "SLeeLa project"; String metaTrademark = "none"; String metaCorporation = "none"; < metaOrigin: National | | International | Galactic > String metaOrigin = "International"; String metaBirthDate = "2026-10-10"; < metaScienceRating: maturity/robustness on a 1..10 scale > int metaScienceRating = 9; < metaNationalSchedule: a real, citable instrument or "none" > String metaNationalSchedule = "none"; String getMetaVersion() { return metaVersion; } void setMetaVersion(String v) { metaVersion = v; } int getMetaId() { return metaId; } void setMetaId(int v) { metaId = v; } String getAuthor() { return metaAuthor; } void setAuthor(String v) { metaAuthor = v; } String getDate() { return metaDate; } void setDate(String v) { metaDate = v; } String getCopyright() { return metaCopyright; } void setCopyright(String v) { metaCopyright = v; } String getTrademark() { return metaTrademark; } void setTrademark(String v) { metaTrademark = v; } String getCorporation() { return metaCorporation; } void setCorporation(String v) { metaCorporation = v; } String getOrigin() { return metaOrigin; } void setOrigin(String v) { metaOrigin = v; } String getBirthDate() { return metaBirthDate; } void setBirthDate(String v) { metaBirthDate = v; } int getScienceRating() { return metaScienceRating; } void setScienceRating(int v) { metaScienceRating = v; } String getNationalSchedule() { return metaNationalSchedule; } void setNationalSchedule(String v) { metaNationalSchedule = v; } < Brand identity for KLM Royal Dutch Airlines. > String brandName() { return "KLM Royal Dutch Airlines"; } String brand() { return "#00a1de"; } String base() { return "#031726"; } String accent() { return "#f36f21"; } String tagline() { return "Journeys of inspiration."; } String hubs() { return "Amsterdam Schiphol"; } < Airline sites read as confident and vivid: a bold animated hero gradient. > int energy() { return 85; } String font() { return "'Inter', system-ui, sans-serif"; } String intToStr(int v) { return "" + v; } < The "; return css; } < The composed page body: the airline's ordered semantic signs. > String body() { String b = ""; b = b + ""; b = b + "

" + brandName() + "

" + tagline() + "

Book a flight
"; String cards = ""; cards = cards + "

Destinations

Fly our global network with one trusted brand.

"; cards = cards + "

Loyalty

Earn and redeem on every journey.

"; cards = cards + "

Hubs

" + hubs() + "

"; b = b + "

Why fly with us

" + cards + "
"; b = b + "
" + tagline() + "
- " + brandName() + "
"; b = b + "

Ready to travel?

Search fares
"; b = b + ""; return b; } < The finished, self-contained HTML document for this airline. > String build() { String html = "\n\n\n"; html = html + "\n\n"; html = html + "" + brandName() + " - generated by SLeeLa\n" + style() + "\n\n\n" + body() + "\n\n\n"; return html; } void main() { print(build()); } }