aboutsummaryrefslogtreecommitdiff
path: root/client/src/view/View.scala
blob: 5c79a712a13642a17a45c3a87c0a30b47454c02b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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>

}