feat: create Lux website with sleek/noble aesthetic

Website design:
- Translucent black (#0a0a0a) with gold (#d4af37) accents
- Strong serif typography (Playfair Display, Source Serif Pro)
- Glass-morphism cards with gold borders
- Responsive layout with elegant animations

Content:
- Landing page with hero, code demo, value props, benchmarks
- Effects-focused messaging ("No surprises. No hidden side effects.")
- Performance benchmarks showing Lux matches C
- Quick start guide

Technical:
- Added HTML rendering functions to stdlib/html.lux
- Created Lux-based site generator (blocked by module import issues)
- Documented Lux weaknesses discovered during development:
  - Module import system not working
  - FileSystem effect incomplete
  - No template string support

The landing page HTML/CSS is complete and viewable.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-02-16 06:41:49 -05:00
parent 49ab70829a
commit 552e7a4972
10 changed files with 3046 additions and 269 deletions

View File

@@ -0,0 +1,25 @@
// Test the HTML module rendering capabilities
// Import from stdlib
// Note: Documenting Lux weakness - no proper module import system visible to user
// Simple HTML test without relying on complex module imports
fn main(): Unit with {Console} = {
Console.print("Testing basic Lux functionality for website generation")
Console.print("")
// Test string concatenation
let tag = "div"
let content = "Hello, World!"
let html = "<" + tag + ">" + content + "</" + tag + ">"
Console.print("Generated HTML: " + html)
Console.print("")
// Test conditional
let isActive = true
let className = if isActive then "active" else "inactive"
Console.print("Class name: " + className)
}
let result = run main() with {}