Beautify code on Product List Page

This commit is contained in:
Moe Poi ~ 2021-09-26 23:21:15 +07:00
parent a77534d3af
commit fddbbb710f

View file

@ -6,9 +6,9 @@
<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="assets/favicon.webp" rel="shortcut icon" type="image/png"/>
<link href="assets/favicon.webp" rel="shortcut icon" type="image/png" />
<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">
integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l" rel="stylesheet">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" rel="stylesheet">
<style>
.bg-color {
@ -63,202 +63,201 @@
</head>
<body class="bg-color">
<nav class="navbar navbar-expand-lg navbar-dark comp-color ml-5 mr-5 nav-radius">
<a href="/"><img alt="Banner" class="navbar-brand lazyload" height="80" src="assets/logo_transparent.webp"
style="margin-top: 0%;" width="80"></a>
<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">
<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>
<nav class="navbar navbar-expand-lg navbar-dark comp-color ml-5 mr-5 nav-radius">
<a href="/"><img alt="Banner" class="navbar-brand lazyload" height="80" src="assets/logo_transparent.webp"
style="margin-top: 0%;" width="80"></a>
<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">
<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>
<a href="bag.html" class="mt-auto mb-auto" style="color: inherit;"><i class="fas fa-shopping-cart"><span
class="ml-2 mt-auto mb-auto">Rp 999.999</span></i></a>
</span>
</div>
</nav>
<div class="container mt-4">
<div class="row">
<div class="col">
<p class="text-white">Type</p>
</div>
<div class="col">
<p class="text-white">Gender</p>
</div>
<div class="col">
<p class="text-white">Color</p>
</div>
<div class="col col-md-auto">
<p></p>
</div>
</div>
<div class="row">
<div class="col">
<select class="form-control">
<option>All</option>
<option>NMD</option>
<option>Galaxy</option>
</select>
</div>
<div class="col">
<select class="form-control">
<option>All</option>
<option>Men</option>
<option>Women</option>
</select>
</div>
<div class="col">
<select class="form-control">
<option>All</option>
<option>Black</option>
<option>White</option>
<option>Blue</option>
</select>
</div>
<div class="col col-md-auto">
<button class="btn btn-primary btn-product-card" type="button">Filter</button>
</div>
</div>
</div>
<div class="container-fluid mt-3">
<div class="row justify-content-around">
<div class="col-lg-3 col-md-6 p-3">
<div class="card">
<img alt="Item Image" class="img-fluid lazyload" src="./assets/Product_1.webp">
<div class="card-body">
<h5 class="card-title">Adidas NMD_R1 (GX0997)</h5>
<p class="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas porttitor
tempus scelerisque. Nunc sed bibendum ante, eget imperdiet purus. Curabitur.</p>
<a href="product.html">
<button class="btn btn-info btn-product-card" type="button">View Detail</button>
</a>
</div>
<a href="bag.html" class="mt-auto mb-auto" style="color: inherit;"><i class="fas fa-shopping-cart"><span class="ml-2 mt-auto mb-auto">Rp 999.999</span></i></a>
</span>
</div>
</div>
<div class="col-lg-3 col-md-6 p-3">
<div class="card">
<img alt="Item Image" class="img-fluid lazyload" src="./assets/Product_2.webp">
<div class="card-body">
<h5 class="card-title">Adidas NMD_R1 (G55575)</h5>
<p class="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas porttitor
tempus scelerisque. Nunc sed bibendum ante, eget imperdiet purus. Curabitur.</p>
<a href="product.html">
<button class="btn btn-info btn-product-card" type="button">View Detail</button>
</a>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6 p-3">
<div class="card">
<img alt="Item Image" class="img-fluid lazyload" src="./assets/Product_3.webp">
<div class="card-body">
<h5 class="card-title">Adidas NMD_R1
(FV1740)</h5>
<p class="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas porttitor
tempus scelerisque. Nunc sed bibendum ante, eget imperdiet purus. Curabitur.</p>
<a href="product.html">
<button class="btn btn-info btn-product-card" type="button">View Detail</button>
</a>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6 p-3">
<div class="card">
<img alt="Item Image" class="img-fluid lazyload" src="./assets/Product_10.webp">
<div class="card-body">
<h5 class="card-title">Adidas NMD_R1A (FX6794)</h5>
<p class="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas porttitor
tempus scelerisque. Nunc sed bibendum ante, eget imperdiet purus. Curabitur.</p>
<a href="product.html">
<button class="btn btn-info btn-product-card" type="button">View Detail</button>
</a>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6 p-3">
<div class="card">
<img alt="Item Image" class="img-fluid lazyload" src="./assets/Product_5.webp">
<div class="card-body">
<h5 class="card-title">Adidas NMD_R1 (GZ7944)</h5>
<p class="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas porttitor
tempus scelerisque. Nunc sed bibendum ante, eget imperdiet purus. Curabitur.</p>
<a href="product.html">
<button class="btn btn-info btn-product-card" type="button">View Detail</button>
</a>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6 p-3">
<div class="card">
<img alt="Item Image" class="img-fluid lazyload" src="./assets/Product_6.webp">
<div class="card-body">
<h5 class="card-title">Adidas NMD_R1
(GZ7943)</h5>
<p class="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas porttitor
tempus scelerisque. Nunc sed bibendum ante, eget imperdiet purus. Curabitur.</p>
<a href="product.html">
<button class="btn btn-info btn-product-card" type="button">View Detail</button>
</a>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6 p-3">
<div class="card">
<img alt="Item Image" class="img-fluid lazyload" src="./assets/Product_7.webp">
<div class="card-body">
<h5 class="card-title">Adidas NMD_R1
(FY3566)</h5>
<p class="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas porttitor
tempus scelerisque. Nunc sed bibendum ante, eget imperdiet purus. Curabitur.</p>
<a href="product.html">
<button class="btn btn-info btn-product-card" type="button">View Detail</button>
</a>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6 p-3">
<div class="card">
<img alt="Item Image" class="img-fluid lazyload" src="./assets/Product_8.webp">
<div class="card-body">
<h5 class="card-title">Adidas NMD_R1 (GX0996)</h5>
<p class="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas porttitor
tempus scelerisque. Nunc sed bibendum ante, eget imperdiet purus. Curabitur.</p>
<a href="product.html">
<button class="btn btn-info btn-product-card" type="button">View Detail</button>
</a>
</div>
</div>
</div>
</div>
</div>
</nav>
<div class="container mt-4">
<div class="row">
<div class="col">
<p class="text-white">Type</p>
</div>
<div class="col">
<p class="text-white">Gender</p>
</div>
<div class="col">
<p class="text-white">Color</p>
</div>
<div class="col col-md-auto">
<p></p>
</div>
</div>
<div class="row">
<div class="col">
<select class="form-control">
<option>All</option>
<option>NMD</option>
<option>Galaxy</option>
</select>
</div>
<div class="col">
<select class="form-control">
<option>All</option>
<option>Men</option>
<option>Women</option>
</select>
</div>
<div class="col">
<select class="form-control">
<option>All</option>
<option>Black</option>
<option>White</option>
<option>Blue</option>
</select>
</div>
<div class="col col-md-auto">
<button class="btn btn-primary btn-product-card" type="button">Filter</button>
</div>
</div>
</div>
<div class="container-fluid mt-3">
<div class="row justify-content-around">
<div class="col-lg-3 col-md-6 p-3">
<div class="card">
<img alt="Item Image" class="img-fluid lazyload" src="./assets/Product_1.webp">
<div class="card-body">
<h5 class="card-title">Adidas NMD_R1 (GX0997)</h5>
<p class="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas porttitor
tempus scelerisque. Nunc sed bibendum ante, eget imperdiet purus. Curabitur.</p>
<a href="product.html">
<button class="btn btn-info btn-product-card" type="button">View Detail</button>
</a>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6 p-3">
<div class="card">
<img alt="Item Image" class="img-fluid lazyload" src="./assets/Product_2.webp">
<div class="card-body">
<h5 class="card-title">Adidas NMD_R1 (G55575)</h5>
<p class="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas porttitor
tempus scelerisque. Nunc sed bibendum ante, eget imperdiet purus. Curabitur.</p>
<a href="product.html">
<button class="btn btn-info btn-product-card" type="button">View Detail</button>
</a>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6 p-3">
<div class="card">
<img alt="Item Image" class="img-fluid lazyload" src="./assets/Product_3.webp">
<div class="card-body">
<h5 class="card-title">Adidas NMD_R1
(FV1740)</h5>
<p class="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas porttitor
tempus scelerisque. Nunc sed bibendum ante, eget imperdiet purus. Curabitur.</p>
<a href="product.html">
<button class="btn btn-info btn-product-card" type="button">View Detail</button>
</a>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6 p-3">
<div class="card">
<img alt="Item Image" class="img-fluid lazyload" src="./assets/Product_10.webp">
<div class="card-body">
<h5 class="card-title">Adidas NMD_R1A (FX6794)</h5>
<p class="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas porttitor
tempus scelerisque. Nunc sed bibendum ante, eget imperdiet purus. Curabitur.</p>
<a href="product.html">
<button class="btn btn-info btn-product-card" type="button">View Detail</button>
</a>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6 p-3">
<div class="card">
<img alt="Item Image" class="img-fluid lazyload" src="./assets/Product_5.webp">
<div class="card-body">
<h5 class="card-title">Adidas NMD_R1 (GZ7944)</h5>
<p class="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas porttitor
tempus scelerisque. Nunc sed bibendum ante, eget imperdiet purus. Curabitur.</p>
<a href="product.html">
<button class="btn btn-info btn-product-card" type="button">View Detail</button>
</a>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6 p-3">
<div class="card">
<img alt="Item Image" class="img-fluid lazyload" src="./assets/Product_6.webp">
<div class="card-body">
<h5 class="card-title">Adidas NMD_R1
(GZ7943)</h5>
<p class="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas porttitor
tempus scelerisque. Nunc sed bibendum ante, eget imperdiet purus. Curabitur.</p>
<a href="product.html">
<button class="btn btn-info btn-product-card" type="button">View Detail</button>
</a>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6 p-3">
<div class="card">
<img alt="Item Image" class="img-fluid lazyload" src="./assets/Product_7.webp">
<div class="card-body">
<h5 class="card-title">Adidas NMD_R1
(FY3566)</h5>
<p class="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas porttitor
tempus scelerisque. Nunc sed bibendum ante, eget imperdiet purus. Curabitur.</p>
<a href="product.html">
<button class="btn btn-info btn-product-card" type="button">View Detail</button>
</a>
</div>
</div>
</div>
<div class="col-lg-3 col-md-6 p-3">
<div class="card">
<img alt="Item Image" class="img-fluid lazyload" src="./assets/Product_8.webp">
<div class="card-body">
<h5 class="card-title">Adidas NMD_R1 (GX0996)</h5>
<p class="card-text">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas porttitor
tempus scelerisque. Nunc sed bibendum ante, eget imperdiet purus. Curabitur.</p>
<a href="product.html">
<button class="btn btn-info btn-product-card" type="button">View Detail</button>
</a>
</div>
</div>
</div>
</div>
</div>
<script crossorigin="anonymous"
integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
<script crossorigin="anonymous" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
src="https://code.jquery.com/jquery-3.5.1.slim.min.js">
</script>
<script crossorigin="anonymous"
integrity="sha384-Piv4xVNRyMGpqkS2by6br4gNJ7DXjqk09RmUpJ8jgGtD7zP9yug3goQfGII0yAns"
</script>
<script crossorigin="anonymous" integrity="sha384-Piv4xVNRyMGpqkS2by6br4gNJ7DXjqk09RmUpJ8jgGtD7zP9yug3goQfGII0yAns"
src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.bundle.min.js">
</script>
</script>
</body>
</html>