Created
December 22, 2015 19:06
-
-
Save jparishy/f9b0a002066a17d88738 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class UserIndexView : View { | |
convenience init() { | |
self.init { | |
t in | |
BootstrapLayout.render(t, activeTab: .Home) { t in | |
t.div(cssClass: "jumbotron") { t in | |
t.h1("Swerver") | |
t.h4("An MVC Framework for Web Apps & APIs in Swift") | |
t.tag("hr") | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment