8/src/hh1.nim

28 lines
658 B
Nim
Raw Normal View History

2024-07-19 17:51:48 +02:00
import
mike,
nimja
2024-07-19 17:36:17 +02:00
2024-07-19 17:51:48 +02:00
"/" -> get:
2024-07-19 18:04:38 +02:00
compileTemplateFile(getScriptDir() / "view" / "index.nimja")
2024-07-19 17:36:17 +02:00
2024-07-19 18:39:21 +02:00
"/shop" -> get:
compileTemplateFile(getScriptDir() / "view" / "shop.nimja")
"/contact" -> get:
compileTemplateFile(getScriptDir() / "view" / "contact.nimja")
"/cart" -> get:
compileTemplateFile(getScriptDir() / "view" / "cart.nimja")
2024-07-19 19:25:49 +02:00
"/checkout" -> get:
compileTemplateFile(getScriptDir() / "view" / "checkout.nimja")
"shop-detail" -> get:
compileTemplateFile(getScriptDir() / "view" / "shop-detail.nimja")
"/testimonial" -> get:
compileTemplateFile(getScriptDir() / "view" / "testimonial.nimja")
2024-07-19 17:51:48 +02:00
servePublic("src/public", "/static")
run()