// styles.el - Page shell: DOCTYPE, , CSS, and the minimal // inline " + "" + "" + "" + "" + page_ga_script() } // page_seo_block — emits title, description, canonical, OG, and Twitter Card // for a given page. Pass the production canonical path (e.g. "/" or "/about"). fn page_seo_block(title: String, description: String, canonical_path: String, og_description: String) -> String { let base: String = "https://neurontechnologies.ai" let canonical: String = base + canonical_path let og_image: String = base + "/assets/brand/neuron-wordmark-on-light@2x.png" return el_title(title) + el_meta("description", description) + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" + "" } fn page_head() -> String { return page_head_base() + page_seo_block( "Neuron — The AI That Remembers You", "Every AI resets when you close the tab. Neuron doesn't. Runs on your machine. Remembers everything. Start free.", "/", "Every other AI forgets you. Neuron doesn't. Runs on your machine, builds a persistent memory over time, and gets sharper the longer you use it. Free tier available." ) + page_schema() } fn page_open() -> String { return "" + page_head() + "" } // page_open_seo — page shell for inner pages with unique per-page SEO. // title: full tag text // description: meta description (120–160 chars) // canonical_path: path component, e.g. "/about" or "/checkout" // og_description: OG/Twitter description (can differ from meta description) // noindex: pass "true" to add noindex for non-public pages (e.g. checkout) fn page_open_seo(title: String, description: String, canonical_path: String, og_description: String, noindex: String) -> String { let robots_tag: String = if str_eq(noindex, "true") { "<meta name=\"robots\" content=\"noindex, nofollow\">" } else { "" } return "<!DOCTYPE html><html lang=\"en\"><head>" + page_head_base() + page_seo_block(title, description, canonical_path, og_description) + robots_tag + "</head><body>" }