This commit is contained in:
Moe Poi ~ 2021-11-21 14:32:01 +07:00
commit d702c1836b
3 changed files with 68 additions and 85 deletions

View file

@ -124,27 +124,6 @@ button[type="submit"] {
margin: 0 0 20px 0;
}
.google,
.facebook {
width: 100%;
height: 42px;
line-height: 45px;
margin-top: 10px;
}
.google {
background: white;
border: 1px solid white;
color: #1b1c1e;
margin-right: 10px;
}
.facebook {
background: #3a5897;
border: 1px solid #3a5897;
margin-left: 10px;
}
.links i {
font-size: 17px;

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>

View file

@ -47,21 +47,6 @@
<% if(locals.error) { %>
<span class="text-danger pl-2" style="font-size: 2.2vh; margin-left: 17%;" ><%= error %></span>
<% } %>
<div class="login-with">Or login with
<div class="links">
<div class="google">
<i><a href=""></a><img class="google-icon-svg lazyload"
src="../img/google.webp"
style="height: 30px; width: 30px; margin: 0 30px; padding-top: -3px"/><span></span></i>
</div>
<div class="facebook">
<i><a href=""></a><img class="facebook-icon-svg lazyload"
src="../img/facebook.webp"
style="height: 30px; width: 30px; margin: 0 30px; padding-top: -3px"><span></span></i>
</div>
</div>
</div>
<div class="hoverlogin-1 text-center">
<a href="register">Don't have an account?? Click Here to Sign Up!!</a>
</div>