╭ changed ─╮ │src/ui.zig│ ╰──────────╯ ╭───────────╮ │← all files│ ╰───────────╯ ╭──────────────────────────────────────────────────────╮ │28 pub const RoutablePage = enum { │ │29 home_users, │ │30 home_repos, │ │31 - home_ansi, │ │32 - home_auth, │ │31 + settings, │ │32 + auth, │ │33 │ │34 pub const default: RoutablePage = .home_users;│ │35 │ ╰──────────────────────────────────────────────────────╯ ╭─────────────────────────────────────────╮ │37 return switch (self) { │ │38 .home_users => "/users", │ │39 .home_repos => "/repos", │ │40 - .home_ansi => "/ansi", │ │41 - .home_auth => "/auth", │ │40 + .settings => "/settings",│ │41 + .auth => "/auth", │ │42 }; │ │43 } │ │44 │ ╰─────────────────────────────────────────╯ ╭─────────────────────────────────────────────────────────────────────╮ │46 if (std.mem.eql(u8, path, "/")) return default; │ │47 if (std.mem.eql(u8, path, "/users")) return .home_users; │ │48 if (std.mem.eql(u8, path, "/repos")) return .home_repos; │ │49 - if (std.mem.eql(u8, path, "/ansi")) return .home_ansi; │ │50 - if (std.mem.eql(u8, path, "/auth")) return .home_auth; │ │49 + if (std.mem.eql(u8, path, "/settings")) return .settings;│ │50 + if (std.mem.eql(u8, path, "/auth")) return .auth; │ │51 return null; │ │52 } │ │53 }; │ ╰─────────────────────────────────────────────────────────────────────╯ ╭──────────────────────────────────────────────────────────────────────────╮ │251 home_header: Home.Header.View, │ │252 home_users: Home.Users.View, │ │253 home_repos: Home.Repos.View, │ │254 - home_auth_tab: Home.Header.AuthTab.View, │ │255 - home_ansi: Home.Ansi.View, │ │256 - home_auth: Home.Auth.View, │ │254 + auth_tab: Home.Header.AuthTab.View, │ │255 + settings: Home.Settings.View, │ │256 + auth: Home.Auth.View, │ │257 │ │258 pub fn deinit(self: *Widget, allocator: std.mem.Allocator) void {│ │259 switch (self.*) { │ ╰──────────────────────────────────────────────────────────────────────────╯