diff --git a/nimwcpkg/constants/_htmls.nim b/nimwcpkg/constants/_htmls.nim index a0c934c8b..750637767 100644 --- a/nimwcpkg/constants/_htmls.nim +++ b/nimwcpkg/constants/_htmls.nim @@ -396,10 +396,13 @@ const

Can you write YAML? then you can code a web app and a NimWC plugin!


Keep It Simple
this is how a Hello World looks like:

- +
+ routes: +
+ get "/yourUrlHere": +
+ resp "Hello World" +

A more complete example @@ -560,10 +563,13 @@ const

Can you write YAML? then you can code a web app and a NimWC plugin!


Keep It Simple
this is how a Hello World looks like:

- +
+ routes: +
+ get "/yourUrlHere": +
+ resp "Hello World" +

A more complete example diff --git a/public/css/style.css b/public/css/style.css index fef284ba9..ba358b28a 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -700,6 +700,24 @@ _________________*/ border-radius: .2rem; word-break: break-all; } +#frontpage #code { + background-color: #d0d0d0; + border-radius: 4px; + border: 1px solid black; + color: black; + font-size: 0.9rem; + margin-left: auto; + margin-right: auto; + max-width: 200px; + padding: 8px; + text-align: left; +} +#frontpage #code .route2 { + padding-left: 15px; +} +#frontpage #code .route3 { + padding-left: 30px; +} @media only screen and (max-width: 768px) { #frontpage .title { margin-top: 50px;