edit home page

This commit is contained in:
Kelvin Samuel 2021-11-09 11:30:45 +07:00
parent ca008c9b39
commit 09f1dcfaa1
2 changed files with 13 additions and 2 deletions

View file

@ -1,5 +1,5 @@
<% if(types == "v1") { %> <% if(types == "v1") { %>
<nav class="navbar navbar-expand-lg navbar-dark comp-color ml-5 mr-5 nav-radius"> <nav class="navbar navbar-expand-lg navbar-dark comp-color ml-5 mr-5 nav-radius" style="background-color: #212226; ">
<img alt="Banner" class="navbar-brand lazyload" src="img/logo_transparent.webp"> <img alt="Banner" class="navbar-brand lazyload" src="img/logo_transparent.webp">
<button aria-controls="navbarTogglerDemo01" aria-expanded="false" aria-label="Toggle navigation" <button aria-controls="navbarTogglerDemo01" aria-expanded="false" aria-label="Toggle navigation"
class="navbar-toggler" data-target="#navbarTogglerDemo01" data-toggle="collapse" type="button"> class="navbar-toggler" data-target="#navbarTogglerDemo01" data-toggle="collapse" type="button">

View file

@ -154,6 +154,17 @@
padding-top: 10px; padding-top: 10px;
} }
.navbar-brand {
width: 5%;
}
@media screen and (max-width: 500px) {
.navbar-brand {
width: 15vw;
height: 15vw;
}
}
@media only screen and (max-width: 1000px) { @media only screen and (max-width: 1000px) {
.product { .product {
display: grid; display: grid;
@ -260,7 +271,7 @@
</head> </head>
<body style="background-color: #1b1c1e;"> <body style="background-color: #1b1c1e;">
<%- include('../layouts/navbar.ejs'); %> <%- include('../layouts/navbar.ejs', {types: 'v1', state: 'product-list'}); %>
<div class="card" style="background-color: #212226;"> <div class="card" style="background-color: #212226;">
<div class="product"> <div class="product">