web/index.html

781 lines
38 KiB
HTML
Raw Normal View History

2021-09-12 16:02:49 +02:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
2021-09-20 14:41:47 +02:00
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
2021-09-13 11:20:29 +02:00
<title>Home Page</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">
2021-09-20 14:41:47 +02:00
<script src="https://kit.fontawesome.com/e48d166edc.js" crossorigin="anonymous"></script>
<link rel="stylesheet" type="text/css" href="plugins/OwlCarousel2-2.2.1/owl.carousel.css">
2021-09-13 11:24:52 +02:00
<script src="https://unpkg.com/feather-icons"></script>
<link href="https://fonts.googleapis.com" rel="preconnect">
<link crossorigin href="https://fonts.gstatic.com" rel="preconnect">
2021-09-13 11:24:52 +02:00
<link href="https://fonts.googleapis.com/css2?family=Poppins&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="Style-index.css">
2021-09-12 16:02:49 +02:00
</head>
<body class="bg-color">
2021-09-20 18:36:06 +02:00
<nav class="navbar navbar-expand-lg navbar-dark nav-color ml-5 mr-5 nav-radius">
2021-09-20 18:25:45 +02:00
<a href="/"><img alt="Banner" class="navbar-brand" height="80" src="assets/logo_transparent.png"
2021-09-20 18:36:06 +02:00
style="margin-top: 0%;" width="80"></a>
2021-09-20 18:25:45 +02:00
<button aria-controls="navbarTogglerDemo01" aria-expanded="false" aria-label="Toggle navigation" class="navbar-toggler"
data-target="#navbarTogglerDemo01" data-toggle="collapse" type="button">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarTogglerDemo01">
<ul class="navbar-nav mx-auto">
<li class="nav-item">
<a class="nav-link" href="/">Home</a>
</li>
<li class="nav-item active">
<a aria-disabled="true" class="nav-link disabled" href="product-list.html">Products</a>
</li>
<li class="nav-item">
<a class="nav-link" href="about-us.html">About Us</a>
</li>
<li class="nav-item">
<a class="nav-link" href="faq.html">FAQ</a>
</li>
</ul>
<span class="navbar-nav my-2 my-lg-0 text-white">
2021-09-20 18:36:06 +02:00
<div class="my-4">
<a href="login.html"><button class="btn btn-outline-success mt-auto mb-auto mr-3" type="button">Login</button></a>
</div>
<i class="fas fa-shopping-cart mt-auto mb-auto"><span class="ml-2 mt-auto mb-auto">$999</span></i>
</span>
2021-09-20 18:25:45 +02:00
</div>
</nav>
<header>
<div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel" style="width: 100%;">
<div style="padding-top: 66px;">
<div class="col-13">
<ol class="carousel-indicators">
<li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="2"></li>
</ol>
<div class="carousel-inner">
<div class="carousel-item active">
<img class="d-block w-100" src="assets/Carousel_1.jpg" alt="First slide" height="500px">
</div>
<div class="carousel-item">
<img class="d-block w-100" src="assets/Carousel_2.jpg" alt="Second slide" height="500px">
</div>
<div class="carousel-item">
<img class="d-block w-100" src="assets/Carousel_3.jpg" alt="Third slide" height="500px">
2021-09-20 14:41:47 +02:00
</div>
</div>
<a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
2021-09-13 11:20:29 +02:00
</div>
</div>
</header>
<div class="banner">
<div class="container">
2021-09-20 18:25:45 +02:00
<div class="row justify-content-center" >
<div class="col-md-4">
<div class="banner_item align-item-center" style="background-image: url(assets/banner_1.jpg);">
<div class="banner_category">
<a href="#">Women's</a>
2021-09-20 14:41:47 +02:00
</div>
</div>
</div>
<div class="col-md-4">
<div class="banner_item align-item-center" style="background-image: url(assets/banner_2.jpg);">
<div class="banner_category">
<a href="#">Men's</a>
2021-09-20 14:41:47 +02:00
</div>
</div>
</div>
2021-09-13 11:36:24 +02:00
</div>
</div>
</div>
<div class="new_arrivals">
<div class="container">
<div class="row">
<div class="col text-center">
<div class="section-title new_arrivals_title">
<h2>New Arrivals</h2>
2021-09-20 14:41:47 +02:00
</div>
</div>
</div>
2021-09-20 14:41:47 +02:00
<div class="row align-items-center">
<div class="col text-center">
<div class="new_arrivals_sorting">
<ul class="arrivals_grid_sorting clearfix button-group filters-button-group">
<li class="grid_sorting_button button d-flex flex-column justify-content-center align-items-center active is-checked"
data-filter="*">All
</li>
<li class="grid_sorting_button button d-flex flex-column justify-content-center align-items-center"
data-filter=".women">Women's
</li>
<li class="grid_sorting_button button d-flex flex-column justify-content-center align-items-center"
data-filter=".men">Men's
</li>
</ul>
2021-09-20 14:41:47 +02:00
</div>
</div>
</div>
<div class="row">
<div class="col">
<div class="product-grid" data-isotope='{ "itemSelector": ".product-item", "layoutMode": "fitRows"}'>
<div class="product-item men">
<div class="product product_filter">
<div class="product_image">
<img src="assets/Product_1.png" alt="product_1">
2021-09-20 14:41:47 +02:00
</div>
<div class="favorite favorite_left"></div>
<div class="product_bubble product_bubble_right product_bubble_red d-flex flex-column align-items-center">
<span>New</span>
</div>
<div class="product_info">
<h6 class="product_name"><a href="#">Adidas NMD_R1 (GX0997)</a></h6>
<div class="product_price">Rp. 2.200.000</div>
</div>
<div class="add_to_cart_button"><a href="bag.html">ADD TO CART</a></div>
</div>
</div>
<div class="product-item women">
<div class="product product_filter">
<div class="product_image">
<img src="assets/Product_2.png" alt="product_2">
</div>
<div class="favorite favorite_left"></div>
<div class="product_bubble product_bubble_right product_bubble_red d-flex flex-column align-items-center">
<span>Sale</span>
</div>
<div class="product_info">
<h6 class="product_name"><a href="#">Adidas NMD_R1 (G55575)</a></h6>
<div class="product_price">Rp. 1.760.000</div>
</div>
<div class="add_to_cart_button"><a href="bag.html">ADD TO CART</a></div>
2021-09-20 14:41:47 +02:00
</div>
</div>
<div class="product-item women">
<div class="product product_filter">
<div class="product_image">
<img src="assets/Product_3.png" alt="product_3">
</div>
<div class="favorite favorite_left"></div>
<div class="product_bubble product_bubble_right product_bubble_red d-flex flex-column align-items-center">
<span>Sale</span>
</div>
<div class="product_info">
<h6 class="product_name"><a href="#">Adidas NMD_R1 <br>(FV1740)</a></h6>
<div class="product_price">Rp. 1.100.000</div>
</div>
<div class="add_to_cart_button"><a href="bag.html">ADD TO CART</a></div>
</div>
</div>
<div class="product-item women">
<div class="product product_filter">
<div class="product_image">
<img src="assets/Product_4.png" alt="product_4">
</div>
<div class="favorite favorite_left"></div>
<div class="product_info">
<h6 class="product_name"><a href="#">Adidas NMD_R1 PRIMBLUE (GZ9256)</a></h6>
<div class="product_price">Rp. 2.200.000</div>
2021-09-20 14:41:47 +02:00
</div>
<div class="add_to_cart_button"><a href="bag.html">ADD TO CART</a></div>
</div>
</div>
<div class="product-item women men">
<div class="product product_filter">
<div class="product_image">
<img src="assets/Product_5.png" alt="product_5">
</div>
<div class="favorite favorite_left"></div>
<div class="product_info">
<h6 class="product_name"><a href="#">Adidas NMD_R1 (GZ7944)</a></h6>
<div class="product_price">Rp. 2.200.000</div>
</div>
<div class="add_to_cart_button"><a href="bag.html">ADD TO CART</a></div>
2021-09-20 14:41:47 +02:00
</div>
</div>
<div class="product-item men">
<div class="product discount product_filter">
<div class="product_image">
<img src="assets/Product_6.png" alt="product_6">
</div>
<div class="favorite favorite_left"></div>
<div class="product_bubble product_bubble_right product_bubble_red d-flex flex-column align-items-center">
<span>New</span>
</div>
<div class="product_info">
<h6 class="product_name"><a href="#">Adidas NMD_R1 <br> (GZ7943)</a></h6>
<div class="product_price">Rp. 2.200.000</div>
</div>
<div class="add_to_cart_button"><a href="bag.html">ADD TO CART</a></div>
</div>
</div>
<div class="product-item women">
<div class="product product_filter">
<div class="product_image">
<img src="assets/Product_7.png" alt="product_7">
2021-09-20 14:41:47 +02:00
</div>
<div class="favorite favorite_left"></div>
<div class="product_bubble product_bubble_right product_bubble_red d-flex flex-column align-items-center">
<span>Sale</span>
</div>
<div class="product_info">
<h6 class="product_name"><a href="#">Adidas NMD_R1 <br> (FY3566)</a></h6>
<div class="product_price">Rp. 1.540.000</div>
</div>
<div class="add_to_cart_button"><a href="bag.html">ADD TO CART</a></div>
2021-09-20 14:41:47 +02:00
</div>
</div>
<div class="product-item women men">
<div class="product product_filter">
<div class="product_image">
<img src="assets/Product_8.png" alt="product_8">
</div>
<div class="favorite favorite_left"></div>
<div class="product_info">
<h6 class="product_name"><a href="#">Adidas NMD_R1 (GX0996)</a></h6>
<div class="product_price">Rp. 2.200.000</div>
2021-09-20 14:41:47 +02:00
</div>
<div class="add_to_cart_button"><a href="bag.html">ADD TO CART</a></div>
</div>
</div>
<div class="product-item men">
<div class="product product_filter">
<div class="product_image">
<img src="assets/Product_9.png" alt="product_9">
</div>
<div class="favorite favorite_left"></div>
<div class="product_bubble product_bubble_right product_bubble_red d-flex flex-column align-items-center">
<span>Sale</span>
</div>
<div class="product_info">
<h6 class="product_name"><a href="#">Adidas NMD_R1 <br> (FY3565)</a></h6>
<div class="product_price">Rp. 1.540.000</div>
</div>
<div class="add_to_cart_button"><a href="bag.html">ADD TO CART</a></div>
2021-09-20 14:41:47 +02:00
</div>
</div>
<div class="product-item men">
<div class="product product_filter">
<div class="product_image">
<img src="assets/Product_10.png" alt="product_1">
</div>
<div class="favorite favorite_left"></div>
<div class="product_info">
<h6 class="product_name"><a href="#">Adidas NMD_R1A (FX6794)</a></h6>
<div class="product_price">Rp. 2.200.000</div>
</div>
<div class="add_to_cart_button"><a href="bag.html">ADD TO CART</a></div>
</div>
2021-09-14 20:08:36 +02:00
</div>
2021-09-20 14:41:47 +02:00
</div>
</div>
</div>
</div>
</div>
<div class="main_slider" style="background-image: url(assets/slider_1.jpg);">
<div class="container fill_hight">
<div class="row align-items-center fill_hight">
<div class="col">
<div class="main_slider_content">
<h6>Spring / Summer Collection 2021</h6>
<h1>Get up to 30% off Now Arrivals</h1>
<div class="red_button shop_now_button"><a href="product-list.html">Shop now</a></div>
2021-09-20 14:41:47 +02:00
</div>
</div>
</div>
</div>
</div>
<div class="best_sellers">
<div class="container">
<div class="row">
<div class="col text-center">
<div class="section_title new_arrivals_title">
<h2>Best Sellers</h2>
2021-09-20 14:41:47 +02:00
</div>
</div>
</div>
<div class="row">
<div class="col">
<div class="product_slider_container">
<div class="owl-carousel owl-theme product_slider">
<div class="owl-item product_slider_item">
<div class="product-item men">
<div class="product discount product_filter">
<div class="product_image">
<img src="assets/Product_1.png" alt="product_1">
</div>
<div class="favorite favorite_left"></div>
<div class="product_bubble product_bubble_right product_bubble_red d-flex flex-column align-items-center">
<span>New</span>
</div>
<div class="product_info">
<h6 class="product_name"><a href="product.html">Adidas NMD_R1 (G55575)</a></h6>
<div class="product_price">Rp. 2.200.000</div>
2021-09-20 14:41:47 +02:00
</div>
</div>
</div>
</div>
<div class="owl-item product_slider_item">
<div class="product-item women">
<div class="product product_filter">
<div class="product_image">
<img src="assets/Product_2.png" alt="product_2">
2021-09-20 14:41:47 +02:00
</div>
<div class="favorite favorite_left"></div>
<div class="product_bubble product_bubble_right product_bubble_red d-flex flex-column align-items-center">
<span>Sale</span>
</div>
<div class="product_info">
<h6 class="product_name"><a href="product.html">Adidas NMD_R1 (G55575)</a></h6>
<div class="product_price">Rp. 1.760.000</div>
</div>
2021-09-20 14:41:47 +02:00
</div>
</div>
</div>
<div class="owl-item product_slider_item">
<div class="product-item women">
<div class="product product_filter">
<div class="product_image">
<img src="assets/Product_3.png" alt="product_3">
</div>
<div class="favorite favorite_left"></div>
<div class="product_bubble product_bubble_right product_bubble_red d-flex flex-column align-items-center">
<span>Sale</span>
2021-09-20 14:41:47 +02:00
</div>
<div class="product_info">
<h6 class="product_name"><a href="product.html">Adidas NMD_R1 <br> (FV1740)</a>
</h6>
<div class="product_price">Rp. 1.100.000</div>
</div>
2021-09-20 14:41:47 +02:00
</div>
</div>
</div>
<div class="owl-item product_slider_item">
<div class="product-item accessories">
<div class="product product_filter">
<div class="product_image">
<img src="assets/Product_4.png" alt="product_4">
2021-09-20 14:41:47 +02:00
</div>
<div class="favorite favorite_left"></div>
<div class="product_info">
<h6 class="product_name"><a href="product.html">Adidas NMD_R1 PRIMBLUE
(GZ9256)</a></h6>
<div class="product_price">Rp. 2.200.000</div>
</div>
2021-09-20 14:41:47 +02:00
</div>
</div>
</div>
<div class="owl-item product_slider_item">
<div class="product-item women men">
<div class="product product_filter">
<div class="product_image">
<img src="assets/Product_5.png" alt="product_5">
2021-09-20 14:41:47 +02:00
</div>
<div class="favorite favorite_left"></div>
<div class="product_info">
<h6 class="product_name"><a href="product.html">Adidas NMD_R1 (GZ7944)</a></h6>
<div class="product_price">Rp. 2.200.000</div>
</div>
2021-09-20 14:41:47 +02:00
</div>
</div>
</div>
<div class="owl-item product_slider_item">
<div class="product-item accessories">
<div class="product discount product_filter">
<div class="product_image">
<img src="assets/Product_6.png" alt="product_6">
</div>
<div class="favorite favorite_left"></div>
<div class="product_bubble product_bubble_right product_bubble_red d-flex flex-column align-items-center">
<span>New</span>
</div>
<div class="product_info">
<h6 class="product_name"><a href="product.html">Adidas NMD_R1 <br> (GZ7943)</a>
</h6>
<div class="product_price">Rp. 2.200.000</div>
2021-09-20 14:41:47 +02:00
</div>
2021-09-20 14:41:47 +02:00
</div>
</div>
</div>
<div class="owl-item product_slider_item">
<div class="product-item women">
<div class="product product_filter">
<div class="product_image">
<img src="assets/Product_7.png" alt="product_7">
</div>
<div class="favorite favorite_left"></div>
<div class="product_bubble product_bubble_right product_bubble_red d-flex flex-column align-items-center">
<span>Sale</span>
2021-09-20 14:41:47 +02:00
</div>
<div class="product_info">
<h6 class="product_name"><a href="product.html">Adidas NMD_R1 <br> (FY3566)</a>
</h6>
<div class="product_price">Rp. 1.540.000</div>
</div>
2021-09-20 14:41:47 +02:00
</div>
</div>
</div>
<div class="owl-item product_slider_item">
<div class="product-item accessories">
<div class="product product_filter">
<div class="product_image">
<img src="assets/Product_8.png" alt="product_8">
2021-09-20 14:41:47 +02:00
</div>
<div class="favorite favorite_left"></div>
<div class="product_info">
<h6 class="product_name"><a href="product.html">Adidas NMD_R1 (GX0996)</a></h6>
<div class="product_price">Rp. 2.200.000</div>
</div>
2021-09-20 14:41:47 +02:00
</div>
</div>
</div>
<div class="owl-item product_slider_item">
<div class="product-item men">
<div class="product product_filter">
<div class="product_image">
<img src="assets/Product_9.png" alt="product_9">
</div>
<div class="favorite favorite_left"></div>
<div class="product_bubble product_bubble_right product_bubble_red d-flex flex-column align-items-center">
<span>Sale</span>
</div>
<div class="product_info">
<h6 class="product_name"><a href="product.html">Adidas NMD_R1 <br> (FY3565)</a>
</h6>
<div class="product_price">Rp. 1.540.000</div>
2021-09-20 14:41:47 +02:00
</div>
2021-09-20 14:41:47 +02:00
</div>
</div>
</div>
<div class="owl-item product_slider_item">
<div class="product-item men">
<div class="product product_filter">
<div class="product_image">
<img src="assets/Product_10.png" alt="product_1">
</div>
<div class="favorite favorite_left"></div>
<div class="product_info">
<h6 class="product_name"><a href="product.html">Adidas NMD_R1A (FX6794)</a></h6>
<div class="product_price">Rp. 2.200.000</div>
2021-09-20 14:41:47 +02:00
</div>
2021-09-20 14:41:47 +02:00
</div>
</div>
</div>
</div>
<div class="product_slider_nav_left product_slider_nav d-flex align-items-center justify-content-center flex-column">
<i class="fa fas-chevron-left" aria-hidden="true"><img
src="https://img.icons8.com/material-rounded/48/000000/back--v1.png"/></i>
</div>
<div class="product_slider_nav_right product_slider_nav d-flex align-items-center justify-content-center flex-column">
<i class="fa fas-chevron-right" aria-hidden="true"><img
src="https://img.icons8.com/ios-glyphs/30/000000/more-than.png"/></i>
2021-09-14 20:08:36 +02:00
</div>
2021-09-20 14:41:47 +02:00
</div>
</div>
</div>
</div>
</div>
<div class="benefit">
<div class="container">
<div class="row benefit_row">
<div class="col-lg-3 benefit_col">
<div class="benefit_item d-flex flex-row align-items-center">
<div class="benefit_icon">
<i class="fa fa-truck" aria-hidden="true"></i>
</div>
<div class="benefit_content">
<h6>Free Shipping</h6>
<p>Suffered Alteration is Some Form</p>
</div>
2021-09-20 14:41:47 +02:00
</div>
</div>
<div class="col-lg-3 benefit_col">
<div class="benefit_item d-flex flex-row align-items-center">
<div class="benefit_icon">
<i class="fa fa-undo" aria-hidden="true"></i>
</div>
<div class="benefit_content">
<h6>14 days return</h6>
<p>Making it Look like Readable</p>
</div>
2021-09-20 14:41:47 +02:00
</div>
</div>
<div class="col-lg-3 benefit_col">
<div class="benefit_item d-flex flex-row align-items-center">
<div class="benefit_icon">
<i class="fa fa-money" aria-hidden="true"></i>
</div>
<div class="benefit_content">
<h6>Cash on Delivery</h6>
<p>The Internet tend to Repeat</p>
</div>
2021-09-20 14:41:47 +02:00
</div>
</div>
<div class="col-lg-3 benefit_col">
<div class="benefit_item d-flex flex-row align-items-center">
<div class="benefit_icon">
<i class="fa fa-clock-o" aria-hidden="true"></i>
</div>
<div class="benefit_content">
<h6>Operation Hours</h6>
<p>8AM - 9PM</p>
2021-09-14 20:08:36 +02:00
</div>
</div>
</div>
</div>
</div>
</div>
<div class="newsletter">
<div class="container">
<div class="row">
<div class="col-lg-6">
<div class="newsletter_text d-flex flex-column justify-content-center
2021-09-20 14:41:47 +02:00
align-items-lg-start align-items-md-center text-center">
<h4>Newsletter</h4>
<p>Subscribe to Our Newsletter and get 20% off your first purchase</p>
2021-09-15 17:50:11 +02:00
</div>
</div>
<div class="col-lg-6">
<form action="post">
<div class="newsletter_form d-flex flex-md-row fex-column flex-xs-column
2021-09-20 14:41:47 +02:00
align-items-center justify-content-lg-end justify-content-center">
<input id="newsletter_email" type="email" placeholder="Input Your Email" required="required"
data-error="valid email is required">
<button id="newsletter_submit" type="submit" class="newsletter_submit_btn trans_300"
value="submit">Subscribe
</button>
</div>
</form>
2021-09-15 17:50:11 +02:00
</div>
</div>
</div>
2021-09-20 14:41:47 +02:00
</div>
</div>
2021-09-15 17:50:11 +02:00
2021-09-13 11:24:52 +02:00
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"
integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"
integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"
integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
crossorigin="anonymous"></script>
<script>
feather.replace()
</script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.min.js"
integrity="sha384-+YQ4JLhjyBLPDQt//I+STsc9iw4uQqACwlvpslubQzn4u2UU2UFM80nGisd026JF"
crossorigin="anonymous"></script>
<script src="js/jquery-3.2.1.min.js"></script>
<script src="plugins/Isotope/isotope.pkgd.min.js"></script>
<script src="plugins/OwlCarousel2-2.2.1/owl.carousel.js"></script>
<script>
jQuery(document).ready(function ($) {
"user strict";
var mainSlider = $('.main.slider');
var hamburger = $('.hamburger_container');
var menu = $('.hamburger_menu');
var menuActive = false;
var hamburgerClose = $('.hamburger_close');
var fsOverlay = $('.fs_menu_overlay');
initMenu();
initFavorite();
initIsotopeFiltering();
initTimer();
initSlider();
function initMenu() {
if (hamburger.length) {
hamburger.on('click', function () {
if (!menuActive) {
openMenu();
2021-09-20 14:41:47 +02:00
}
});
}
if (fsOverlay.length) {
fsOverlay.on('click', function () {
if (menuActive) {
closeMenu();
2021-09-20 14:41:47 +02:00
}
});
}
if (hamburgerClose.length) {
hamburgerClose.on('click', function () {
if (menuActive) {
closeMenu();
2021-09-20 14:41:47 +02:00
}
});
}
if ($('.menu_item'), length) {
var items = document.getElementsByClassName('menu_item');
var i;
2021-09-20 14:41:47 +02:00
for (i = 0; i < items.length; i++) {
if (items[i].classList.contains("has-children")) {
items[i].onclick = function () {
this.classList.toggle("active");
var panel = this.children[1];
if (panel.style.maxHeight) {
panel.style.maxHeight = null;
} else {
panel.style.maxHeight = panel.scrollHeight + "px";
2021-09-20 14:41:47 +02:00
}
}
}
}
}
}
2021-09-20 14:41:47 +02:00
function openMenu() {
menu.addClass('active');
fsOverlay.css('pointer-events', "auto");
menuActive = true;
}
2021-09-20 14:41:47 +02:00
function closeMenu() {
menu.removeClass('active');
fsOverlay.css('pointer-events', "none");
menuActive = false;
}
2021-09-20 14:41:47 +02:00
function initTimer() {
if ($('.timer').length) {
2021-09-20 14:41:47 +02:00
var target_date = new Date("August 31, 2021").getTime();
var days, hours, minutes, seconds;
var d = $('#day');
var h = $('#hour');
var m = $('#minute');
var s = $('#second');
2021-09-20 14:41:47 +02:00
setInterval(function () {
var current_date = new Date().getTime();
var seconds_left = (target_date - current_date) / 1000;
days = parseInt(seconds_left / 86400);
seconds_left = seconds_left % 86400;
hours = parseInt(seconds_left / 3600);
seconds_left = seconds_left % 3600;
minutes = parseInt(seconds_left / 60);
seconds = parseInt(seconds_left % 60);
d.text(days);
h.text(hours);
m.text(minutes);
s.text(seconds);
}, 1000)
}
}
function initFavorite() {
2021-09-20 14:41:47 +02:00
if ($('.favorite').length) {
var favs = $('.favorite');
favs.each(function () {
var fav = $(this);
var active = false;
if (fav.hasClass('active')) {
active = true;
2021-09-20 14:41:47 +02:00
}
fav.on('click', function () {
if (active) {
fav.removeClass('active');
active = false;
} else {
fav.addClass('active');
active = true;
}
})
});
}
}
2021-09-20 14:41:47 +02:00
function initIsotopeFiltering() {
if ($('.grid_sorting_button').length) {
$('.grid_sorting_button').click(function () {
$('.grid_sorting_button.active').removeClass('active');
$(this).addClass('active');
2021-09-20 14:41:47 +02:00
var selector = $(this).attr('data-filter');
$('.product-grid').isotope({
filter: selector,
animationOptions: {
duration: 750,
easing: 'linear',
queue: false,
2021-09-20 14:41:47 +02:00
}
});
return false
});
}
}
function initSlider() {
if ($('.product_slider').length) {
var slider1 = $('.product_slider');
slider1.owlCarousel({
loop: false,
dots: false,
nav: false,
responsive:
{
0: {items: 1},
480: {items: 2},
768: {items: 3},
991: {items: 4},
1280: {items: 5},
1440: {items: 5},
2021-09-20 14:41:47 +02:00
}
});
if ($('.product_slider_nav_left').length) {
$('.product_slider_nav_left').on('click', function () {
slider1.trigger('prev.owl.carousel');
})
}
if ($('.product_slider_nav_right').length) {
$('.product_slider_nav_right').on('click', function () {
slider1.trigger('next.owl.carousel');
})
2021-09-20 14:41:47 +02:00
}
}
}
})
</script>
2021-09-12 16:02:49 +02:00
</body>
2021-09-13 11:20:29 +02:00
</html>