This repository has been archived by the owner on May 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
bookmarklet.htm
65 lines (59 loc) · 3.46 KB
/
bookmarklet.htm
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
<html>
<head>
<meta charset='UTF-8'>
<meta content='width=device-width, user-scalable=no' name='viewport'>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bulma/0.7.5/css/bulma.min.css">
<link rel="stylesheet" href="css/style.css">
<title>The Unofficial Brewdog Discount Calculator</title>
<!-- Twitter Cards -->
<meta name="twitter:card" content="summary_large_image"/>
<meta name="twitter:site" content="@picandocodigo"/>
<meta name="twitter:title" content="The Unofficial Brewdog Discount Calculator"/>
<meta name="twitter:description" content="Unofficial Brewdog Equity for Punks App to calculate bar discounts."/>
<meta name="twitter:creator" content="@picandocodigo"/>
<meta name="twitter:image:src" content="https://picandocodigo.github.io/efp_discount/images/ow-tw.png"/>
<meta name="twitter:domain" content="https://picandocodigo.github.io/efp_discount/"/>
<!-- Open Graph -->
<meta property="og:title" content="The Unofficial Brewdog Discount Calculator" />
<meta property="og:description" content="Unofficial Brewdog Equity for Punks App to calculate bar discounts." />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://picandocodigo.github.io/efp_discount/images/ow-tw.png" />
<meta property="og:image" content="" />
</head>
<body>
<div class="container section">
<h1 class="title is-1">Bookmarklet</h1>
<h4 class="subtitle is-4">The Unofficial Brewdog Online Shop Discount Calculator Bookmarklet</h4>
Add this link to your Bookmarks Toolbar:
<section class="section has-text-centered">
<a href="javascript:(function(){document.body.appendChild(document.createElement('script')).src='https://picandocodigo.github.io/efp_discount/js/bookmarklet.js';})();">
<span class="title ">
Brewdog Shop Discount
</span>
</a>
</section>
<section class="section">
<p>
Once you're browsing the <a href="https://www.brewdog.com/shop/" target="_blank">Brewdog Shop</a>, click on the bookmarklet, enter your EFP discount amount, and the prices will change to the discounted values.
</p>
</section>
<section class="section">
<h2 class="title is-2">Installation</h2>
<h5 class="subtitle is-5">How to add the bookmarklet to your browser</h5>
<video autoplay="autoplay" loop="loop">
<source src="https://picandocodigo.github.io/efp_discount/video/bookmarklet1.webm" type="video/webm">
Your web browser doesn't support the WebM video format. <a href="http://getfirefox.com">Get Firefox</a>
</video>
<h2 class="title is-2">Usage</h2>
<h5 class="subtitle is-5">How to use the bookmarklet</h5>
<video autoplay="autoplay" loop="loop">
<source src="https://picandocodigo.github.io/efp_discount/video/bookmarklet2.webm" type="video/webm">
Your web browser doesn't support the WebM video format. <a href="http://getfirefox.com">Get Firefox</a>
</video>
</section>
<footer class="footer">
Developed by <a href="https://fernandobriano.com" target="_blank">Fernando Briano</a>. This website is not endorsed or approved by <a href="https://www.brewdog.com/" target="_blank">Brewdog</a>. The website is free software and the source code is available publicly <a href="https://github.com/picandocodigo/efp_discount">on GitHub</a>.
</footer>
</div>
</body>
</html>