-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
74 lines (57 loc) · 2.5 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Launch Scout Store</title>
<meta name="description" content="Art, writing, crafting, & flavors by Sia Karamalegos">
<meta property="og:description" content="Art, writing, crafting, & flavors by Sia Karamalegos" />
<link rel="preconnect dns-prefetch" href="https://www.google-analytics.com">
<script type="module" src="https://cdn.jsdelivr.net/npm/launch-cart"></script>
<link rel="stylesheet" href="/css/index.css">
<link rel="icon" href="/images/favicon.png" type="image/png" />
<link rel="preload" as="font" type="font/woff2" href="/css/fonts/josefin-sans-v14-latin-700.woff2" crossorigin>
</head>
<body>
<a class="skip-link" href="#main-content">Skip to content</a>
<header role="banner" class="[ site-head ] [ pad-top-700 ">
<div class="wrapper">
<span class="visually-hidden">: </span>
<div class="[ site-head__inner ] [ md:box-flex space-between align-center ]">
<a href="/" class="[ site-head__site-name ] [ leading-tight ]" aria-current=page>
<span class="visually-hidden">Homepage</span>
<img src="/images/launch-scout-logo.png" width="80" />
</a>
<launch-cart url="ws://localhost:4000/socket" store-id="0023f3d0-049a-404a-9eb4-b39a1e149230"></launch-cart>
</div>
</div>
</header>
<main id="main-content" tabindex="-1">
<section class="[ gap-bottom-900 ]">
<div class="[ inner-wrapper ] [ sf-flow ]">
<h2 class="[ post-list__heading ] [ text-700 md:text-800 ]">Products</h2>
<ol class="[ pad-top-300 ] [ product ] [ ol-reset ]">
{% for price in prices %}
<li class="product-card sf-flow">
<h3 class="font-base leading-tight text-600 weight-mid">
<a
href=""
class="post-list__link"
rel="bookmark"
>{{ price.product.name }}</a
>
</h3>
<img src="{{ price.product.images[0] }}" alt="">
<img src="https://files.stripe.com/links/MDB8YWNjdF8xSTQ2a3FLRkd4TXpHYmdrfGZsX3Rlc3RfUVlQS0RpTXhzNG9lVDhlQ3djUE8yYXdO00JMT3Kxjq" alt="">
<p>{{ price.unit_amount | convertCentsToDollars }}</p>
<launch-cart-additem price-id="{{price.id}}">
<button class="button" type="submit">Add to cart</button>
</launch-cart-additem>
</li>
</ol>
</div>
</section>
</main>
</body>
</html>