-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
158 lines (152 loc) · 5.27 KB
/
index.html
File metadata and controls
158 lines (152 loc) · 5.27 KB
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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script
async
src="https://www.googletagmanager.com/gtag/js?id=UA-58802702-3"
></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-58802702-3');
</script>
<!-- Primary Meta Tags -->
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Branch Name Generator</title>
<meta name="title" content="Branch Name Generator" />
<meta
name="description"
content="Because it's hard to name our branches just copying from our task's title, right?"
/>
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta
property="og:url"
content="https://rschneider94.github.io/branch_name_generator/"
/>
<meta property="og:title" content="Branch Name Generator" />
<meta
property="og:description"
content="Because it's hard to name our branches just copying from our task's title, right?"
/>
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image" />
<meta
property="twitter:url"
content="https://rschneider94.github.io/branch_name_generator/"
/>
<meta property="twitter:title" content="Branch Name Generator" />
<meta
property="twitter:description"
content="Because it's hard to name our branches just copying from our task's title, right?"
/>
<!-- CSS -->
<link
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css"
integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk"
crossorigin="anonymous"
/>
<link
href="https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,700;1,300&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="container">
<header>
<div class="row">
<div class="col-12">
<h1 class="mt-4 text-center">Branch Name Generator</h1>
<blockquote class="blockquote text-center mt-5">
<p>
Because it's hard to name our branches just copying from our
task's title, right?
</p>
<footer class="blockquote-footer">Every developer, ever</footer>
</blockquote>
</div>
</div>
</header>
<main
id="main-wrapper"
class="d-flex flex-wrap justify-content-center align-items-center align-content-center"
>
<div class="row w-100 justify-content-center align-items-center">
<div class="col-xs-12 col-md-10">
<div class="input-group my-3">
<input
id="task-title-input"
type="text"
class="form-control"
placeholder="Task's Title (e.g. Bug in error dialog)"
aria-label="Task's Title"
aria-describedby="generate-branch-name-btn"
/>
<div class="input-group-append">
<button
class="btn btn-success"
type="button"
id="generate-branch-name-btn"
disabled
>
Generate!
</button>
</div>
</div>
</div>
</div>
<div class="row w-100 justify-content-center align-items-center">
<div class="col-xs-12 col-md-10">
<div class="input-group my-3">
<input
id="task-title-output"
type="text"
class="form-control"
placeholder="The result will appear here"
aria-label="Task's Title"
aria-describedby="copy-to-clipboard-btn"
readonly
/>
<div class="input-group-append">
<button
class="btn btn-light"
type="button"
id="copy-to-clipboard-btn"
data-clipboard-target="#task-title-output"
disabled
>
Copy to clipboard
</button>
</div>
</div>
</div>
</div>
</main>
</div>
<!-- JS Area -->
<script
src="https://code.jquery.com/jquery-3.5.1.slim.min.js"
integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
crossorigin="anonymous"
></script>
<script
src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"
integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
crossorigin="anonymous"
></script>
<script
src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"
integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI"
crossorigin="anonymous"
></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.4/clipboard.min.js"></script>
<script src="main.js"></script>
</body>
</html>