mirror of
https://github.com/phfroidmont/scalive.git
synced 2025-12-25 21:46:59 +01:00
Complete redesign to allow assigns style state
This commit is contained in:
parent
ae0dc04a9e
commit
bb062b9679
18 changed files with 802 additions and 739 deletions
13
zio/src/scalive/RootLayout.scala
Normal file
13
zio/src/scalive/RootLayout.scala
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
package scalive
|
||||
|
||||
import scalive.HtmlElement
|
||||
|
||||
object RootLayout:
|
||||
def apply[RootModel](content: HtmlElement): HtmlElement =
|
||||
htmlRootTag(
|
||||
lang := "en",
|
||||
metaTag(charset := "utf-8"),
|
||||
bodyTag(
|
||||
// content
|
||||
)
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue