alpha p10
This commit is contained in:
5
examples/advanced/Fes.toml
Normal file
5
examples/advanced/Fes.toml
Normal file
@@ -0,0 +1,5 @@
|
||||
[app]
|
||||
|
||||
name = "advanced"
|
||||
version = "0.0.1"
|
||||
authors = ["vx-clutch"]
|
||||
7
examples/advanced/include/foo.lua
Normal file
7
examples/advanced/include/foo.lua
Normal file
@@ -0,0 +1,7 @@
|
||||
local foo = {}
|
||||
|
||||
foo.render = function()
|
||||
return "This was called from a foo function"
|
||||
end
|
||||
|
||||
return foo
|
||||
15
examples/advanced/www/index.lua
Normal file
15
examples/advanced/www/index.lua
Normal file
@@ -0,0 +1,15 @@
|
||||
local fes = require("fes")
|
||||
local std = fes.std
|
||||
|
||||
|
||||
local site = fes.fes()
|
||||
|
||||
site.copyright = fes.util.copyright("https://git.vxserver.dev/fSD", "fSD")
|
||||
|
||||
site:h1("Hello, World!")
|
||||
|
||||
site:note(
|
||||
fes.app.foo.render()
|
||||
)
|
||||
|
||||
return site
|
||||
5
examples/archive/Fes.toml
Normal file
5
examples/archive/Fes.toml
Normal file
@@ -0,0 +1,5 @@
|
||||
[app]
|
||||
|
||||
name = "archive"
|
||||
version = "0.0.1"
|
||||
authors = ["vx-clutch"]
|
||||
BIN
examples/archive/archive/2025.12.07/seal.png
Normal file
BIN
examples/archive/archive/2025.12.07/seal.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.8 MiB |
17
examples/archive/www/index.lua
Normal file
17
examples/archive/www/index.lua
Normal file
@@ -0,0 +1,17 @@
|
||||
local fes = require("fes")
|
||||
local std = fes.std
|
||||
|
||||
local site = fes.fes()
|
||||
|
||||
site.copyright = fes.util.copyright("https://git.vxserver.dev/fSD", "fSD")
|
||||
|
||||
site:h1("Hello, World!")
|
||||
|
||||
site:note(fes.util.cc {
|
||||
std.h2("Files"),
|
||||
std.ul {
|
||||
std.a("/archive", "to the file room!"),
|
||||
}
|
||||
})
|
||||
|
||||
return site
|
||||
5
examples/error/Fes.toml
Normal file
5
examples/error/Fes.toml
Normal file
@@ -0,0 +1,5 @@
|
||||
[app]
|
||||
|
||||
name = "error"
|
||||
version = "0.0.1"
|
||||
authors = ["vx-clutch"]
|
||||
6
examples/error/www/index.lua
Normal file
6
examples/error/www/index.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
local fes = require("fes")
|
||||
local site = fes.fes()
|
||||
|
||||
This is what an error looks like
|
||||
|
||||
return site
|
||||
5
examples/hello/Fes.toml
Normal file
5
examples/hello/Fes.toml
Normal file
@@ -0,0 +1,5 @@
|
||||
[app]
|
||||
|
||||
name = "hello"
|
||||
version = "0.0.1"
|
||||
authors = ["vx-clutch"]
|
||||
8
examples/hello/www/index.lua
Normal file
8
examples/hello/www/index.lua
Normal file
@@ -0,0 +1,8 @@
|
||||
local fes = require("fes")
|
||||
local site = fes.fes()
|
||||
|
||||
site.copyright = fes.util.copyright("https://git.vxserver.dev/fSD", "fSD")
|
||||
|
||||
site:h1("Hello, World!")
|
||||
|
||||
return site
|
||||
5
examples/simple/Fes.toml
Normal file
5
examples/simple/Fes.toml
Normal file
@@ -0,0 +1,5 @@
|
||||
[app]
|
||||
|
||||
name = "simple"
|
||||
version = "0.0.1"
|
||||
authors = ["vx-clutch"]
|
||||
1
examples/simple/www/index.lua
Normal file
1
examples/simple/www/index.lua
Normal file
@@ -0,0 +1 @@
|
||||
return "Hello, World!"
|
||||
Reference in New Issue
Block a user