summaryrefslogtreecommitdiff
path: root/pages/shop/success.fnl
blob: 2e9abb4fa30222a360b3eb6c8d940176db0b377f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
(local templates (require :templates))
(local html (require :vendor.html))

(tset _G :package :loaded "pages.shop.success" nil)

(fn content []
  [[:div {:class "side"}
    (templates.header "/shop/order")]
   [:div {:class "content"}
    "Спасибо за заказ!"]])

(fn render []
  (values 200 {} (html.render (templates.base (content)) true)))

{: render}