Modified header.ejs to link register-error's CSS

This commit is contained in:
Matthew Patrick 2021-11-21 13:33:04 +07:00
parent a10921cfad
commit 18dd585850

View file

@ -1,51 +1,70 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8" />
<meta content="IE=edge" http-equiv="X-UA-Compatible"> <meta content="IE=edge" http-equiv="X-UA-Compatible" />
<meta content="width=device-width, initial-scale=1" name="viewport"> <meta content="width=device-width, initial-scale=1" name="viewport" />
<meta name="theme-color" content="#2f0001"> <meta name="theme-color" content="#2f0001" />
<link href="assets/favicon.webp" rel="shortcut icon" type="image/webp" /> <link href="assets/favicon.webp" rel="shortcut icon" type="image/webp" />
<title><%= title %></title> <title><%= title %></title>
<link crossorigin="anonymous" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css" <link
integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l" rel="stylesheet"> crossorigin="anonymous"
<link href="https://fonts.googleapis.com" rel="preconnect"> href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css"
<link crossorigin href="https://fonts.gstatic.com" rel="preconnect"> integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l"
<script src="https://kit.fontawesome.com/e48d166edc.js" crossorigin="anonymous"></script> rel="stylesheet"
<link href="https://fonts.googleapis.com/css2?family=Poppins&display=swap" rel="stylesheet"> />
<link rel="stylesheet" type="text/css" href="/js/plugins/OwlCarousel2-2.2.1/owl.carousel.css"> <link href="https://fonts.googleapis.com" rel="preconnect" />
<script src="https://unpkg.com/feather-icons"></script> <link crossorigin href="https://fonts.gstatic.com" rel="preconnect" />
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet"> <script
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" rel="stylesheet"> src="https://kit.fontawesome.com/e48d166edc.js"
<script src="https://cdnjs.cloudflare.com/ajax/libs/lazysizes/5.3.2/lazysizes.min.js"></script> crossorigin="anonymous"
<link href="/css/navbar.css" rel="stylesheet"> ></script>
<% if(state == "index") { %> <link
<link href="/css/index.css" rel="stylesheet"> href="https://fonts.googleapis.com/css2?family=Poppins&display=swap"
<% } else if(state == "bag") { %> rel="stylesheet"
<link href="/css/bag.css" rel="stylesheet"> />
<% } else if(state == "checkout") { %> <link
<link href="/css/checkout.css" rel="stylesheet"> rel="stylesheet"
<% } else if(state == "about-us") { %> type="text/css"
<link href="/css/about-us.css" rel="stylesheet"> href="/js/plugins/OwlCarousel2-2.2.1/owl.carousel.css"
<% } else if(state == "payment") { %> />
<link href="/css/payment.css" rel="stylesheet"> <script src="https://unpkg.com/feather-icons"></script>
<% } else if(state == "products") { %> <link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet" />
<link href="/css/products.css" rel="stylesheet"> <link
<% } else if(state == "product") { %> href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"
<link href="/css/product.css" rel="stylesheet"> rel="stylesheet"
<% } else if(state == "login") { %> />
<link href="/css/login.css" rel="stylesheet"> <script src="https://cdnjs.cloudflare.com/ajax/libs/lazysizes/5.3.2/lazysizes.min.js"></script>
<% } else if(state == "register") { %> <link href="/css/navbar.css" rel="stylesheet" />
<link href="/css/register.css" rel="stylesheet"> <% if(state == "index") { %>
<% } else if(state == "register-verification-completed") { %> <link href="/css/index.css" rel="stylesheet" />
<link href="/css/register-verification-completed.css" rel="stylesheet"> <% } else if(state == "bag") { %>
<% } else if(state == "register-verification-sent") { %> <link href="/css/bag.css" rel="stylesheet" />
<link href="/css/register-verification-sent.css" rel="stylesheet"> <% } else if(state == "checkout") { %>
<% } else if(state == "forgot-password") { %> <link href="/css/checkout.css" rel="stylesheet" />
<link href="/css/forgot-password.css" rel="stylesheet"> <% } else if(state == "about-us") { %>
<% } else if(state == "change-password") { %> <link href="/css/about-us.css" rel="stylesheet" />
<link href="/css/change-password.css" rel="stylesheet"> <% } else if(state == "payment") { %>
<% } else if(state == "otp") { %> <link href="/css/payment.css" rel="stylesheet" />
<link href="/css/otp.css" rel="stylesheet"> <% } else if(state == "products") { %>
<% } else if(state == "faq") { %> <link href="/css/products.css" rel="stylesheet" />
<link href="/css/faq.css" rel="stylesheet"> <% } else if(state == "product") { %>
<% } %> <link href="/css/product.css" rel="stylesheet" />
<% } else if(state == "login") { %>
<link href="/css/login.css" rel="stylesheet" />
<% } else if(state == "register") { %>
<link href="/css/register.css" rel="stylesheet" />
<% } else if(state == "register-verification-completed") { %>
<link href="/css/register-verification-completed.css" rel="stylesheet" />
<% } else if(state == "register-verification-sent") { %>
<link href="/css/register-verification-sent.css" rel="stylesheet" />
<% } else if(state == "forgot-password") { %>
<link href="/css/forgot-password.css" rel="stylesheet" />
<% } else if(state == "register-error") { %>
<link href="/css/register-error.css" rel="stylesheet" />
<% } else if(state == "change-password") { %>
<link href="/css/change-password.css" rel="stylesheet" />
<% } else if(state == "otp") { %>
<link href="/css/otp.css" rel="stylesheet" />
<% } else if(state == "faq") { %>
<link href="/css/faq.css" rel="stylesheet" />
<% } %>
</head> </head>