package main import ( "fmt" "log" "net/http" "nebula" ) func main() { mux := http.NewServeMux() // Register application routes registerRoutes(mux) // Apply nebula middleware handler := nebula.Middleware( nebula.WithBasePath("/"), nebula.WithAppTitle("Sonr Wallet"), nebula.WithTheme("dark"), nebula.WithTransitions(true), nebula.WithPreload(true), )(mux) addr := ":8080" fmt.Printf("Starting server at http://localhost%s\n", addr) log.Fatal(http.ListenAndServe(addr, handler)) }