package main import ( "fmt" "strconv" ) func bootLineStyle(idx int) string { // Stagger reveal: 80ms per line so each delay is strictly greater // than the previous, per UAT 13.12. return fmt.Sprintf("animation-delay: %dms;", 80*(idx+1)) } templ bootLogComponent(data BootLogData) {
for idx, line := range data.Lines { { "[ "+strconv.Itoa(idx)+" ] " + line } } if cursorGlyph(data.Cursor) != "" { { cursorGlyph(data.Cursor) } }
}