tryling cosmetics

This commit is contained in:
Sergey Chernov 2025-11-21 00:45:18 +01:00
parent fa3fda144b
commit 4e37d0be26
4 changed files with 6 additions and 6 deletions

View File

@ -75,7 +75,7 @@ ssh -p ${SSH_PORT} ${SSH_HOST} "
SRC=./site/build/dist/js/productionExecutable
rsync -e "ssh -p ${SSH_PORT}" -avz -r -d --delete ${SRC}/* ${SSH_HOST}:${ROOT}/build/dist
checkState
rsync -e "ssh -p ${SSH_PORT}" -avz ./static/* ${SSH_HOST}:${ROOT}/build/dist
#rsync -e "ssh -p ${SSH_PORT}" -avz ./static/* ${SSH_HOST}:${ROOT}/build/dist
#checkState
#rsync -e "ssh -p ${SSH_PORT}" -avz -r -d --delete private_data/* ${SSH_HOST}:${ROOT}/build/private_data
#checkState

View File

@ -71,7 +71,7 @@ fun HomePage() {
// Code sample
val code = """
// Create, transform, and verify — the Lyng way
val data = [1, 2, 3, 4, 5]
val data = 1..5
val evens = data.filter { it % 2 == 0 }.map { it * it }
assertEquals([4, 16], evens)
>>> void

View File

@ -17,9 +17,9 @@
import androidx.compose.runtime.*
import kotlinx.coroutines.launch
import net.sergeych.lyng.Scope
import org.jetbrains.compose.web.attributes.placeholder
import org.jetbrains.compose.web.dom.*
import net.sergeych.lyng.Scope
@Composable
fun TryLyngPage() {
@ -31,7 +31,7 @@ fun TryLyngPage() {
// Try changing the data and press Ctrl+Enter or click Run.
import lyng.stdlib
val data = [1, 2, 3, 4, 5]
val data = 1..5
val evens = data.filter { it % 2 == 0 }.map { it * it }
evens
""".trimIndent()
@ -103,7 +103,7 @@ fun TryLyngPage() {
PageTemplate(title = "Try Lyng", showBack = true) {
// Intro
P({ classes("lead", "text-muted", "mb-3") }) {
Text("Type or paste Lyng code and run it right in your browser.")
Text("Type or paste Lyng code and run it right in your browser with embedded Lyng interpreter")
}
// Editor

View File

@ -20,7 +20,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Compose HTML SPA</title>
<title>Lyng language</title>
<!-- GitHub Markdown CSS (light and dark). We toggle these from the app. -->
<link
id="md-light"