-
Notifications
You must be signed in to change notification settings - Fork 3
/
gin.html
143 lines (125 loc) · 4.77 KB
/
gin.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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Gin Lovers 🥛</title>
<link href="https://fonts.googleapis.com/css2?family=Dancing+Script:wght@600&display=swap" rel="stylesheet">
<script>
!function () {
var analytics = window.analytics = window.analytics || []; if (!analytics.initialize) if (analytics.invoked) window.console && console.error && console.error("Segment snippet included twice."); else {
analytics.invoked = !0; analytics.methods = ["trackSubmit", "trackClick", "trackLink", "trackForm", "pageview", "identify", "reset", "group", "track", "ready", "alias", "debug", "page", "once", "off", "on", "addSourceMiddleware", "addIntegrationMiddleware", "setAnonymousId", "addDestinationMiddleware"]; analytics.factory = function (e) { return function () { var t = Array.prototype.slice.call(arguments); t.unshift(e); analytics.push(t); return analytics } }; for (var e = 0; e < analytics.methods.length; e++) { var t = analytics.methods[e]; analytics[t] = analytics.factory(t) } analytics.load = function (e, t) { var n = document.createElement("script"); n.type = "text/javascript"; n.async = !0; n.src = "https://cdn.segment.com/analytics.js/v1/" + e + "/analytics.min.js"; var a = document.getElementsByTagName("script")[0]; a.parentNode.insertBefore(n, a); analytics._loadOptions = t }; analytics.SNIPPET_VERSION = "4.1.0";
analytics.load("QEIUywDMJFxSuzr5hVXqRIIowjDvhvil");
analytics.page("Gin Lovers Homepage");
}
}();
</script>
<style>
h1 {
text-align: left;
color: black;
font-family: 'Dancing Script', cursive;
font-size: 55px;
}
h2 {
text-align: left;
font-size: 30px;
font-family: 'Dancing Script', cursive;
}
p {
line-height: 1.5;
font-size: 18px;
margin: 20px 0 10px;
text-align: left;
padding: 10px;
font-family: 'Dancing Script', cursive;
}
button {
display: block;
margin: 20px auto;
background: transparent;
color: whitesmoke;
font-size: 18px;
padding: 15px 20px;
border: none;
border-radius: 6px;
box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.3);
transition: all 200ms ease-in-out;
}
button:hover {
opacity: 0.9;
cursor: pointer;
}
.container {
max-width: 600px;
margin: 0 auto;
padding: 15px 60px;
text-align: left;
}
.learn-more {
color: black;
text-decoration: none;
font-size: 25px;
font-family: 'Dancing Script', cursive;
}
.learn-more:hover {
text-decoration: underline;
}
.footer {
text-align: center;
font-size: 18px;
}
body {
background-image: url('https://s3.amazonaws.com/shecodesio-production/uploads/files/000/001/416/original/pink-gin-hero.jpg?1593798400');
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
}
</style>
</head>
<body>
<div class="container">
<h1>
Gin Lovers
</h1>
<h2>
"Trust me, you can dance" -Gin
</h2>
<p>
Roses are red
</br>
violets are blue
</br>
Gin costs less
</br>
than dinner for two
</p>
<a href="https://www.bbcgoodfood.com/howto/guide/gin-cocktails" target="_blank" class="learn-more">
Click here for 10 gin cocktails you can make in minutes!
</a>
<button class="fun-button">
🍸 LET'S GIN UP
</button>
<p class="footer">
This page was built by
<a href="https://www.linkedin.com/in/prigiatti/?originalSubdomain=ie" target="_blank">
Pris
</a>
</p>
</div>
<script>
function fun() {
let name = prompt("What is your name?");
let email = prompt("What is your email address?");
let age = prompt("You have the legal age to consume alcoholic beverages?");
alert(
"Thank you, " +
name +
"! We'll be in touch by email, meanwhile let the fun be-gin! "
);
}
let funButton = document.querySelector(".fun-button");
funButton.addEventListener("click", fun);
</script>
</body>
</html>