Fixed Register-error CSS link on header

This commit is contained in:
Matthew Patrick 2021-11-21 14:23:29 +07:00
parent 5a5af35968
commit 656fde185f

View file

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