-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
60 lines (51 loc) · 2.63 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://cdn.tailwindcss.com"></script>
<title>Product Cards</title>
<link rel="stylesheet" href="./styles/reset.css">
<link rel="stylesheet" href="./styles/style.css">
</head>
<body class="w-screen h-screen w-full h-full bg-gray-100">
<div class="flex flex-col bg-gradient-to-r from-indigo-500 via-purple-500 to-pink-500">
<!-- Introduction -->
<div class="container mx-auto m-10 p-6">
<h1 class="text-4xl font-bold text-white">Introduction</h1>
<p class="text-white">A product card section designed for Shopify stores.</p>
<!-- Product Card Showcase -->
<div class="container mx-auto mt-10 p-5 pb-20 bg-white shadow-xl drop-shadow-md">
<div class="pt-10 pb-5 flex flex-col lg:flex-row items-center justify-between">
<h2 class="text-3xl font-semibold text-black lg:w-1/3">Best Sellers</h2>
<p class="text-sm text-black lg:text-right lg:w-2/3 invisible lg:visible">Shop All Best Sellers
→</p>
</div>
<div class="pt-5 border-solid border-black">
<!-- Product Card -->
<div id="product-list"
class="flex flex-row flex-wrap justify-center gap-4 overflow-hidden overflow-x-auto snap-x snap-mandatory md:flex-nowrap md:justify-normal lg:min-h-[20rem]">
</div>
<div class="flex sm:visible md:invisible container mx-auto justify-center pt-10">
<button id="show-more-btn"
class="bg-black text-white border-radius py-4 px-10 rounded-full shadow-xl drop-shadow-md"
role="button">Show More</button>
</div>
</div>
</div>
</div>
<!-- Liquid Code -->
<div class="container mx-auto m-10 p-6">
<h1 class="text-4xl font-bold text-white">Liquid</h1>
<p class="text-white">Add the below code to a Shopify <code
class="bg-white text-red-400">{% section %}</code> file.</p>
<div class="container mx-auto m-10 p-6 bg-black shadow-xl">
<code class="text-blue-400 text-sm">
Visit the `products.cards.liquid` to see example using HTML & Liquid
</code>
</div>
</div>
</div>
<script async src="scripts/index.js"></script>
</body>
</html>