diff --git a/src/main/kotlin/main.kt b/src/main/kotlin/main.kt index 20c80fc..1c9af08 100644 --- a/src/main/kotlin/main.kt +++ b/src/main/kotlin/main.kt @@ -1,3 +1,4 @@ +@file:OptIn(ExperimentalJsExport::class) package fr.username404.website import kotlinx.browser.document @@ -5,7 +6,6 @@ import kotlinx.browser.window import kotlinx.html.dom.append import kotlinx.html.js.div -@OptIn(ExperimentalJsExport::class) @JsExport fun makeBody() { document.body!!.append.div { diff --git a/src/main/resources/index.html b/src/main/resources/index.html index cba4e2c..6562420 100644 --- a/src/main/resources/index.html +++ b/src/main/resources/index.html @@ -34,6 +34,7 @@ height: 300px; } +
@@ -47,7 +48,6 @@ Source
-