From 88d72685d565812192afadd6636e9e8516b0f064 Mon Sep 17 00:00:00 2001 From: moepoi Date: Tue, 9 Nov 2021 09:30:17 +0700 Subject: [PATCH] [WIP] Add header --- views/layouts/header.ejs | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 views/layouts/header.ejs diff --git a/views/layouts/header.ejs b/views/layouts/header.ejs new file mode 100644 index 0000000..45f3e4c --- /dev/null +++ b/views/layouts/header.ejs @@ -0,0 +1,38 @@ + + + + + + + <%= title %> + + + + + + + + + <% if(state == "bag") { %> + + <% } else if(state == "checkout") { %> + + <% } else if(state == "about-us") { %> + + <% } else if(state == "notif-pay") { %> + + <% } else if(state == "payment") { %> + + <% } else if(state == "product") { %> + + <% } else if(state == "register-verification-completed") { %> + + <% } else if(state == "register-verification-sent") { %> + + <% } else if(state == "register") { %> + + <% } else if(state == "success-add") { %> + + <% } %> + \ No newline at end of file