Edit Home Page

This commit is contained in:
Kelvin Samuel 2021-11-09 11:42:03 +07:00
parent 09f1dcfaa1
commit 12cb3e25f5
7 changed files with 3546 additions and 4 deletions

12
plugins/Isotope/isotope.pkgd.min.js vendored Normal file

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

View file

@ -0,0 +1,245 @@
/**
* Owl Carousel v2.2.1
* Copyright 2013-2021 David Deutsch
* Licensed under ()
*/
/*
* Owl Carousel - Core
*/
.owl-carousel
{
display: none;
width: 100%;
height: 100%;
-webkit-tap-highlight-color: transparent;
/* position relative and z-index fix webkit rendering fonts issue */
position: relative;
z-index: 1;
}
.owl-carousel .owl-stage
{
position: relative;
-ms-touch-action: pan-Y;
width: 100%;
height: 100%;
-moz-backface-visibility: hidden;
/* fix firefox animation glitch */
}
.owl-carousel .owl-stage:after
{
content: ".";
display: block;
clear: both;
visibility: hidden;
line-height: 0;
height: 0;
}
.owl-carousel .owl-stage-outer
{
position: relative;
overflow: hidden;
width: 100%;
height: 100%;
/* fix for flashing background */
-webkit-transform: translate3d(0px, 0px, 0px);
}
.owl-carousel .owl-wrapper,
.owl-carousel .owl-item
{
-webkit-backface-visibility: hidden;
-moz-backface-visibility: hidden;
-ms-backface-visibility: hidden;
-webkit-transform: translate3d(0, 0, 0);
-moz-transform: translate3d(0, 0, 0);
-ms-transform: translate3d(0, 0, 0);
}
.owl-carousel .owl-item
{
position: relative;
min-height: 1px;
width: 100%;
height: 100%;
float: left;
-webkit-backface-visibility: hidden;
-webkit-tap-highlight-color: transparent;
-webkit-touch-callout: none;
}
.owl-carousel .owl-item img
{
display: block;
width: 100%;
}
.owl-carousel .owl-nav.disabled,
.owl-carousel .owl-dots.disabled
{
display: none;
}
.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next,
.owl-carousel .owl-dot
{
cursor: pointer;
cursor: hand;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.owl-carousel.owl-loaded
{
display: block;
}
.owl-carousel.owl-loading
{
opacity: 0;
display: block;
}
.owl-carousel.owl-hidden
{
opacity: 0;
}
.owl-carousel.owl-refresh .owl-item
{
visibility: hidden;
}
.owl-carousel.owl-drag .owl-item
{
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
.owl-carousel.owl-grab
{
cursor: move;
cursor: grab;
}
.owl-carousel.owl-rtl
{
direction: rtl;
}
.owl-carousel.owl-rtl .owl-item
{
float: right;
}
/* No Js */
.no-js .owl-carousel
{
display: block;
}
/*
* Owl Carousel - Animate Plugin
*/
.owl-carousel .animated
{
animation-duration: 1000ms;
animation-fill-mode: both;
}
.owl-carousel .owl-animated-in
{
z-index: 0;
}
.owl-carousel .owl-animated-out
{
z-index: 1;
}
.owl-carousel .fadeOut
{
animation-name: fadeOut;
}
@keyframes fadeOut
{
0%
{
opacity: 1;
}
100%
{
opacity: 0;
}
}
/*
* Owl Carousel - Auto Height Plugin
*/
.owl-height
{
transition: height 500ms ease-in-out;
}
/*
* Owl Carousel - Lazy Load Plugin
*/
.owl-carousel .owl-item .owl-lazy
{
opacity: 0;
transition: opacity 400ms ease;
}
.owl-carousel .owl-item img.owl-lazy
{
transform-style: preserve-3d;
}
/*
* Owl Carousel - Video Plugin
*/
.owl-carousel .owl-video-wrapper
{
position: relative;
height: 100%;
background: #000;
}
.owl-carousel .owl-video-play-icon
{
position: absolute;
height: 80px;
width: 80px;
left: 50%;
top: 50%;
margin-left: -40px;
margin-top: -40px;
background: url("owl.video.play.png") no-repeat;
cursor: pointer;
z-index: 1;
-webkit-backface-visibility: hidden;
transition: transform 100ms ease;
}
.owl-carousel .owl-video-play-icon:hover
{
-ms-transform: scale(1.3, 1.3);
transform: scale(1.3, 1.3);
}
.owl-carousel .owl-video-playing .owl-video-tn,
.owl-carousel .owl-video-playing .owl-video-play-icon
{
display: none;
}
.owl-carousel .owl-video-tn
{
opacity: 0;
height: 100%;
background-position: center center;
background-repeat: no-repeat;
background-size: contain;
transition: opacity 400ms ease;
}
.owl-carousel .owl-video-frame
{
position: relative;
z-index: 1;
height: 100%;
width: 100%;
}

File diff suppressed because it is too large Load diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

View file

@ -11,13 +11,13 @@
<a <% if(state == "home") { %> aria-disabled="true" <% } %> class="nav-link" href="/">Home</a>
</li>
<li class="nav-item">
<a <% if(state == "product-list") { %> aria-disabled="true" <% } %> class="nav-link" href="product-list.html">Products</a>
<a <% if(state == "product-list") { %> aria-disabled="true" <% } %> class="nav-link" href="product-list">Products</a>
</li>
<li class="nav-item">
<a <% if(state == "about-us") { %> aria-disabled="true" <% } %> class="nav-link" href="about-us.html">About Us</a>
<a <% if(state == "about-us") { %> aria-disabled="true" <% } %> class="nav-link" href="about-us">About Us</a>
</li>
<li class="nav-item">
<a <% if(state == "faq") { %> aria-disabled="true" <% } %> class="nav-link" href="faq.html">FAQ</a>
<a <% if(state == "faq") { %> aria-disabled="true" <% } %> class="nav-link" href="faq">FAQ</a>
</li>
</ul>
<span class="navbar-nav my-2 my-lg-0 text-white">

View file

@ -133,6 +133,16 @@
cursor: pointer;
}
.navbar-brand {
width: 5%;
}
@media screen and (max-width: 500px) {
.navbar-brand {
width: 15vw;
height: 15vw;
}
}
@media only screen and (max-width: 1000px) {
.full-body {
@ -279,7 +289,7 @@
<script src="https://cdnjs.cloudflare.com/ajax/libs/lazysizes/5.3.2/lazysizes.min.js"></script>
</head>
<body style="background-color: #1b1c1e;">
<%- include('../layouts/navbar.ejs'); %>
<%- include('../layouts/navbar.ejs', {types: 'v1', state: 'product-list'}); %>
<br>
<br>