public HomeView() : base("Home", H1(Text("Home")), Ul( Li(A(ResolveUri.ForUsers(), "Users")) , Li(A(ResolveUri.ForShows(), "TV Shows")) , Li(A(ResolveUri.ForProposals(), "Proposals List")) ) ) { }
private static IWritable[] InitContent(params IWritable[] c) { List <IWritable> content = new List <IWritable> { Div("nav", "sidebar", Ul(Li(A(ResolveUri.ForUsers(), "Home")) , Li(A(ResolveUri.ForShows(), "TV Shows")) , Li(A(ResolveUri.ForProposals(), "Proposals List")) ) ) }; content.AddRange(c); return(content.ToArray()); }