From 82a5cb5e3a72fc9272fedbaf1778d9e179150393 Mon Sep 17 00:00:00 2001 From: Korbs Date: Tue, 30 Apr 2024 23:06:09 -0400 Subject: [PATCH] Add cart partial --- html/partials/card.ejs | 71 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 html/partials/card.ejs diff --git a/html/partials/card.ejs b/html/partials/card.ejs new file mode 100644 index 00000000..f19115f9 --- /dev/null +++ b/html/partials/card.ejs @@ -0,0 +1,71 @@ +
+
+
+ <% if(icon="none"){ %><% } else{ %> <%- icon %><% } %> +
+

<%= title %>

+
+

<%= description %>

+ <% if (actions=="true") { %> +
+ <% if (has_secondary_action=="true") { %> + <%- secondary_icon %> <%= secondary_text %> + <% } %> + <%- primary_icon %> <%= primary_text %> +
+ <% }%> +
+ + \ No newline at end of file