diff options
author | Joris | 2019-05-16 09:40:02 +0200 |
---|---|---|
committer | Joris | 2019-05-16 09:40:02 +0200 |
commit | 7bf58894761742d4da8e6f52ce113ea7327e7114 (patch) | |
tree | 388785f65e258e956296977cff4bd1f7ac6e1526 /client/src/view/View.scala | |
parent | f015a216f5ee1e335d5ae90dbc8f3efafdca6fec (diff) |
Bootstrap
Diffstat (limited to 'client/src/view/View.scala')
-rw-r--r-- | client/src/view/View.scala | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/client/src/view/View.scala b/client/src/view/View.scala new file mode 100644 index 0000000..5c79a71 --- /dev/null +++ b/client/src/view/View.scala @@ -0,0 +1,22 @@ +package yoga.view + +import scala.xml.Node + +import yoga.router.Router + +object View { + + def apply(): Node = + <div> + <header> + <a href={Router.Path.index} class="header__link"> + YOGA + </a> + </header> + + <main> + {Router.render()} + </main> + </div> + +} |