-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
89 lines (82 loc) · 3.43 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<!DOCTYPE html>
<html>
<head>
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-119128905-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-119128905-1');
</script>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"/>
<meta name="description" content="Write your mom a special message for Mother's Day!"/>
<meta property="og:description" content="Write your mom a special message for Mother's Day!"/>
<meta property="og:title" content="Mother's Day Message"/>
<meta property="twitter:card" content="summary"/>
<meta property="twitter:site" content="@ian_fiskars"/>
<meta property="og:image" content="https://ianfisk.github.io/moms/images/bg.png"/>
<meta property="og:image:width" content="1366"/>
<meta property="og:image:height" content="768"/>
<meta property="og:type" content="website"/>
<meta property="faithlife:embed:uri" content="https://ianfisk.github.io/moms/index.html"/>
<meta property="faithlife:embed:aspectratio" content="1.778"/>
<link rel="icon" href="images/icon.png">
<title>Moms</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link href="css/common.css" rel="stylesheet">
<link href="css/index.css" rel="stylesheet">
<script type="text/javascript" src="js/index.js" async></script>
<script>
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('sw.js', { scope: './' })
.then(function(reg) {
console.log('Service worker registration succeeded. Scope is ' + reg.scope);
});
}
</script>
</head>
<body>
<div class="main">
<div>
<h1>Mother's Day Message</h1>
<p>
Write a Mother's Day message to your mom!
<br>
Fill out the form below, click "Get link," and send it to your mom for a fun Mother's Day note!
<br><br>
</p>
</div>
<form class="mom-form">
<div class="form-group">
<label for="momName">What do you call your mom?</label>
<input type="text" class="form-control" id="momName" placeholder="e.g. Mommy, Mama, Big Cheese">
</div>
<div class="form-group">
<label for="birthdate">When were you born?</label>
<input type="text" class="form-control" id="birthdate" placeholder="MM/DD/YYYY">
</div>
<div class="form-group">
<label for="faveThing">What's your fave thing ending in "ing" to do with your mom?</label>
<input type="text" class="form-control" id="faveThing" placeholder="e.g. gardening, running, sipping margs">
</div>
<button type="submit" class="btn btn-default" id="generate-message-button" title="Get link to the message for your mom">Get link</button>
</form>
</div>
<div class="modal fade" id="link-modal" role="dialog">
<div class="modal-content my-modal-content">
<div class="modal-header">
<button type="button" class="close close-button" style="padding-top:3px;">×</button>
<h4 id="modalTitle" class="modal-title overflow-ellipsis"></h4>
</div>
<div class="modal-body my-modal-body">
<input type="text" id="linkContainer" class="form-control link-input" aria-label="mom link" readonly>
<button type="button" id="copyButton" class="btn btn-primary">Copy</button>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default close-button">Close</button>
</div>
</div>
</div>
</body>
</html>