-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·399 lines (353 loc) · 20.3 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
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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>Landing Page</title>
<!-- bootstrap css -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.2/css/bootstrap.min.css" integrity="sha384-y3tfxAZXuh4HwSYylfB+J125MxIs6mR5FOHamPBG064zB+AFeWH94NdvaCBm8qnd" crossorigin="anonymous">
<link rel="stylesheet" href="css/custom.css">
</head>
<body id="home" data-spy="scroll" data-target=".navbar" data-offset="100">
<!-- navbar -->
<nav class="navbar navbar-dark bg-primary navbar-fixed-top">
<div class="container">
<ul class="nav navbar-nav">
<li class="nav-item">
<a id="home-button" class="nav-link" href="#home">Home <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a id="about-button" class="nav-link" href="#about">About</a>
</li>
<li class="nav-item">
<a id="speakers-button" class="nav-link" href="#speakers">Grid</a>
</li>
<li class="nav-item">
<a id="list-button" class="nav-link" href="#list">List</a>
</li>
</ul>
<a class="navbar-brand pull-sm-right m-r-0 hidden-xs-down" href="http://www.jonnysmillie.co.uk">by Jonny Smillie</a>
</div>
</nav><!-- /navbar -->
<!-- jumbotron -->
<div class="jumbotron jumbotron-fluid bg-info">
<div class="container text-sm-center p-t-3">
<h1 class="display-2">Landing Page</h1>
<p class="lead">A Simple <a target="_blank" href="http://getbootstrap.com/">Bootstrap</a> Single Page Website Template</p>
<div class="btn-group m-t-2" role="group" aria-label="Basic example">
<button type="button" class="btn btn-primary btn-lg" data-toggle="modal" data-target="#register">Launch Modal</button>
<a class="btn btn-secondary btn-lg" href="#speakers">View Grid</a>
</div>
</div>
</div>
<!-- /jumbotron -->
<div id="main" class="container p-t-2">
<div id="about" class="row panel">
<div class="col-lg-6">
<h3 class="m-b-2">About Landing Page</h3>
<p>Landing Page is a simple <a target="_blank" href="https://www.w3schools.com/html/html_intro.asp">HTML</a>/<a target="_blank" href="https://www.w3schools.com/css/css_intro.asp">CSS</a>/<a target="_blank" href="https://www.w3schools.com/js/js_intro.asp">JS</a> single page website built on <a target="_blank" href="http://getbootstrap.com/">Bootstrap</a>. You can use this static site as a starting point for a simple website or something bigger.</p>
<h3 class="m-b-2">Just 3 Files?</h3>
<p>Landing Page consists of just 3 files: index.html (this page), <a target="_blank" href="/css/custom.css">custom.css</a>, and <a target="_blank" href="/js/main.js">main.js</a>. There are 2 folders. A css folder for Cascading Style Sheets and a js folder for Javascript. There is not very much code in these files and they are ready to be edited.</p>
<hr>
<div class="m-b-2">
<span class="fa fa-file"></span>
<h3>index.html</h3>
</div>
<p>This is the HTML part of the app that actually displays content such as this text and the other elements on this page. This is also where the website's dependencies are declared such as <a target="_blank" href="http://getbootstrap.com/">Bootstrap</a>, <a target="_blank" href="http://tether.io/">Tether</a>, and <a target="_blank" href="https://jquery.com/">jQuery</a>. </p>
<hr>
<div class="m-b-2">
<span class="fa fa-file"></span>
<h3><a target="_blank" href="/css/custom.css">custom.css</a></h3>
</div>
<p>This is the Cascading Style Sheets file that applies styles to the HTML in index.html. This is run right at the end of index.html. </p>
<hr>
<div class="m-b-2">
<span class="fa fa-file"></span>
<h3><a target="_blank" href="/js/main.js">main.js</a></h3>
</div>
<p>This is where the Javascript used to transition between parts of the page is stored.</p>
<hr>
</div>
<div class="col-lg-6">
<div class="m-b-2">
<span class="fa fa-link"></span>
<h3>Dependencies</h3>
</div>
<p>As previously mentioned Landing Page depends on <a target="_blank" href="http://getbootstrap.com/">Bootstrap</a>, <a target="_blank" href="http://jquery.com/">jQuery</a>, and <a target="_blank" href="http://tether.io/">Tether</a> which are referenced as CSS and Javascript files in index.html. Landing Page also depends on <a target="_blank" href="http://fontawesome.io/">Font Awesome</a> which comes with <a target="_blank" href="http://getbootstrap.com/">Bootstrap</a> and is referenced in the head element of index.html. Landing Page uses 5 CDN links in total: Font Awesome and <a target="_blank" href="http://getbootstrap.com/">Bootstrap</a> CSS, <a target="_blank" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.2/js/bootstrap.min.js">Bootstrap</a>, <a target="_blank" href="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js">jQuery</a>, and <a target="_blank" href="https://npmcdn.com/[email protected]/dist/js/tether.min.js">Tether</a> Javascript. These could easily be replaced with local versions.</p>
<img class="m-b-1 img-fluid img-rounded hidden-xs-down" src="img/landing-page.png" alt="Portland">
</div>
</div><!-- /about -->
<!-- speakers -->
<h1 id="speakers" class="display-4 text-xs-center m-y-3 text-muted panel">Grid</h1>
<div class="row">
<div class="col-md-6 col-lg-4">
<div class="card">
<img class="card-img-top img-fluid" src="img/sunflowers1.jpg" alt="Card image cap">
<div class="card-block">
<h4 class="card-title">Sunflowers One</h4>
<p class="card-text">Sunflowers (original title, in French: Tournesols) are the subject of two series of still life paintings by the Dutch painter Vincent van Gogh. The earlier series, executed in Paris in 1887, depicts the flowers lying on the ground, while the second set, executed a year later in Arles, shows bouquets of sunflowers in a vase. In the artist's mind both sets were linked by the name of his friend Paul Gauguin, who acquired two of the Paris versions.</p>
</div>
</div>
</div>
<div class="col-md-6 col-lg-4">
<div class="card">
<img class="card-img-top img-fluid" src="img/sunflowers2.jpg" alt="Card image cap">
<div class="card-block">
<h4 class="card-title">Sunflowers Two</h4>
<p class="card-text">Sunflowers (original title, in French: Tournesols) are the subject of two series of still life paintings by the Dutch painter Vincent van Gogh. The earlier series, executed in Paris in 1887, depicts the flowers lying on the ground, while the second set, executed a year later in Arles, shows bouquets of sunflowers in a vase. In the artist's mind both sets were linked by the name of his friend Paul Gauguin, who acquired two of the Paris versions.</p>
</div>
</div>
</div>
<div class="col-md-6 col-lg-4">
<div class="card">
<img class="card-img-top img-fluid" src="img/sunflowers3.jpg" alt="Card image cap">
<div class="card-block">
<h4 class="card-title">Sunflowers Three</h4>
<p class="card-text">Sunflowers (original title, in French: Tournesols) are the subject of two series of still life paintings by the Dutch painter Vincent van Gogh. The earlier series, executed in Paris in 1887, depicts the flowers lying on the ground, while the second set, executed a year later in Arles, shows bouquets of sunflowers in a vase. In the artist's mind both sets were linked by the name of his friend Paul Gauguin, who acquired two of the Paris versions.</p>
</div>
</div>
</div>
<div class="col-md-6 col-lg-4">
<div class="card">
<img class="card-img-top img-fluid" src="img/sunflowers4.jpg" alt="Card image cap">
<div class="card-block">
<h4 class="card-title">Sunflowers Four</h4>
<p class="card-text">Sunflowers (original title, in French: Tournesols) are the subject of two series of still life paintings by the Dutch painter Vincent van Gogh. The earlier series, executed in Paris in 1887, depicts the flowers lying on the ground, while the second set, executed a year later in Arles, shows bouquets of sunflowers in a vase. In the artist's mind both sets were linked by the name of his friend Paul Gauguin, who acquired two of the Paris versions.</p>
</div>
</div>
</div>
<div class="col-md-6 col-lg-4">
<div class="card">
<img class="card-img-top img-fluid" src="img/sunflowers5.jpg" alt="Card image cap">
<div class="card-block">
<h4 class="card-title">Sunflowers Five</h4>
<p class="card-text">Sunflowers (original title, in French: Tournesols) are the subject of two series of still life paintings by the Dutch painter Vincent van Gogh. The earlier series, executed in Paris in 1887, depicts the flowers lying on the ground, while the second set, executed a year later in Arles, shows bouquets of sunflowers in a vase. In the artist's mind both sets were linked by the name of his friend Paul Gauguin, who acquired two of the Paris versions.</p>
</div>
</div>
</div>
<div class="col-md-6 col-lg-4">
<div class="card">
<img class="card-img-top img-fluid" src="img/sunflowers6.jpg" alt="Card image cap">
<div class="card-block">
<h4 class="card-title">Sunflowers Six</h4>
<p class="card-text">Sunflowers (original title, in French: Tournesols) are the subject of two series of still life paintings by the Dutch painter Vincent van Gogh. The earlier series, executed in Paris in 1887, depicts the flowers lying on the ground, while the second set, executed a year later in Arles, shows bouquets of sunflowers in a vase. In the artist's mind both sets were linked by the name of his friend Paul Gauguin, who acquired two of the Paris versions.</p>
</div>
</div>
</div>
</div><!-- /speakers -->
<!-- list -->
<h1 id="list" class="display-4 text-xs-center m-y-3 text-muted">List</h1>
<h3 class="text-xs-center text-muted">Some other Bootstrap themes I like</h3>
<ul class="list-group">
<li class="list-group-item">
<h4 class="list-group-item-heading"><a target="_blank" href="https://blackrockdigital.github.io/startbootstrap-new-age/">Start Bootstrap / New Age</a> <span class="label label-info label-pill pull-xs-right">FREE</span></h4>
<a target="_blank" href="http://blackrockdigital.io/">BlackRock Digital</a>
</li>
<li class="list-group-item">
<h4 class="list-group-item-heading"><a target="_blank" href="https://blackrockdigital.github.io/startbootstrap-clean-blog/index.html">Start Bootstrap / Clean Blog</a> <span class="label label-info label-pill pull-xs-right">FREE</span></h4>
<a target="_blank" href="http://blackrockdigital.io/">BlackRock Digital</a>
</li>
<li class="list-group-item">
<h4 class="list-group-item-heading"> <a target="_blank" href="https://blackrockdigital.github.io/startbootstrap-grayscale/"> Start Bootstrap / Greyscale</a><span class="label label-info label-pill pull-xs-right">FREE</span></h4>
<a target="_blank" href="http://blackrockdigital.io/">BlackRock Digital</a>
</li>
<li class="list-group-item list-group-item-success">
<h4 class="list-group-item-heading"><a href="https://bootswatch.com/">Bootswatch</a> <span class="label label-info label-pill pull-xs-right">FREE</span></h4>
Free themes for Bootstrap
</li>
<li class="list-group-item">
<h4 class="list-group-item-heading"><a target="_blank" href="http://blacktie.co/demo/pratt/">Pratt</a><span class="label label-info label-pill pull-xs-right">FREE</span></h4>
<a targer="_blank" href="http://blacktie.co/">Black Tie</a>
</li>
<li class="list-group-item">
<h4 class="list-group-item-heading"><a target="_blank" href="http://demos.creative-tim.com/material-kit/index.html">Material Kit</a><span class="label label-info label-pill pull-xs-right">FREE</span></h4>
<a targe="_blank" href="https://www.creative-tim.com/">Creative Tim</a>
</li>
<li class="list-group-item">
<h4 class="list-group-item-heading"><a target="_blank" href="https://www.codeply.com/render/KrUO8QpyXP">Bootstrap 4 Dashboard</a> <span class="label label-info label-pill pull-xs-right">FREE</span></h4>
<a target="_blank" href="https://www.codeply.com/">CODEPLY</a>
</li>
</ul><!-- /list -->
<!-- callout button -->
<button type="button" class="btn btn-info-outline btn-lg center-block m-y-3" data-toggle="modal" data-target="#register">Launch Modal</button>
<!-- signup form -->
<hr>
<div class="row p-y-2 text-muted">
<div class="col-md-6 col-xl-5">
<p><strong>About Jonny Smillie</strong></p>
<p><a target="_blank" href="http://jonnysmillie.co.uk">Jonny Smillie</a> is a web and app developer based in the UK.</p>
</div>
<div class="col-md-6 col-xl-5 col-xl-offset-2">
<p><strong>Email Sign Up Field</strong></p>
<div class="input-group">
<input type="text" class="form-control" placeholder="Email">
<span class="input-group-btn">
<button class="btn btn-primary" type="button">Sign up</button>
</span>
</div>
</div>
</div>
<hr><!-- /signup form -->
<!-- footer -->
<div class="row p-y-1">
<div class="col-md-7">
<ul class="nav nav-inline">
<li class="nav-item">
<span class="nav-link">Landing Page</span>
</li>
<li class="nav-item">
<a class="nav-link" target="_blank" href="https://github.com/jonnysmillie/landing-page">Github</a>
</li>
<li class="nav-item">
<a class="nav-link" target="_blank" href="https://teamtreehouse.com">Treehouse</a>
</li>
<li class="nav-item">
<!-- Split button -->
<div class="btn-group dropup">
<button type="button" class="btn btn-secondary">Drop Up Menu</button>
<button type="button" class="btn btn-secondary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
<span class="sr-only">Toggle Dropdown</span>
</button>
<div class="dropdown-menu">
<a class="dropdown-item" href="#">CSS</a>
<a class="dropdown-item" href="#">HTML</a>
<a class="dropdown-item" href="#">Javascript</a>
<a class="dropdown-item" href="#">Bootstrap</a>
</div>
</div>
</li>
</ul>
</div>
<div class="col-md-5 text-md-right">
<small>© 2017 <a href="http://jonnysmillie.co.uk">Jonny Smillie</a> & <a target="_blank" href="http://wolfonmoon.com">Wolf on Moon</a></small>
</div>
</div><!-- /footer -->
</div><!-- /.container -->
<!--===================================
FORM MODAL
====================================-->
<div id="register" class="modal fade">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header bg-info">
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
<h4 class="modal-title">Registration Modal</h4>
</div>
<div class="modal-body">
<!-- registration form -->
<div class="alert alert-warning alert-dismissible fade in" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
<strong>This</strong> is a modal that can be used to submit forms.
</div>
<form>
<h5 class="m-b-2">Basic Info</h5>
<fieldset class="form-group">
<label for="name">Name:</label>
<input type="text" class="form-control" id="name">
</fieldset>
<fieldset class="form-group has-danger">
<label for="mail" class="form-control-label p-l-0">Email:</label>
<input type="email" class="form-control form-control-danger" id="mail">
</fieldset>
<fieldset class="form-group">
<label for="role">Job Role:</label>
<select class="c-select form-control" id="role" name="user_role">
<option value="full stack js developer">Full Stack JavaScript Developer</option>
<option value="front end developer">Front End Developer</option>
<option value="back end developer">Back End Developer</option>
<option value="designer">Designer</option>
<option value="student">Student</option>
</select>
</fieldset>
<hr class="m-y-2">
<h5 class="m-b-2">Which Topics Interest You Most?</h5>
<div class="form-group c-inputs-stacked">
<label class="c-input c-checkbox">
<input type="checkbox">
<span class="c-indicator"></span>
HTML
</label>
<label class="c-input c-checkbox">
<input type="checkbox">
<span class="c-indicator"></span>
CSS
</label>
<label class="c-input c-checkbox">
<input type="checkbox">
<span class="c-indicator"></span>
Bootstrap
</label>
<label class="c-input c-checkbox">
<input type="checkbox">
<span class="c-indicator"></span>
Javascript
</label>
<label class="c-input c-checkbox">
<input type="checkbox">
<span class="c-indicator"></span>
Templates
</label>
</div>
<hr class="m-b-2">
<h5 class="m-b-2">Payment Info</h5>
<div class="row">
<div class="col-lg-6 form-group has-success">
<label class="form-control-label p-l-0" for="cc-num">Card Number:</label>
<input class="form-control form-control-success" id="cc-num" type="text">
</div>
<div class="col-lg-3 form-group">
<label for="zip">Zip Code:</label>
<input class="form-control" id="zip" type="text">
</div>
<div class="col-lg-3 form-group">
<label for="cvv">CVV:</label>
<input class="form-control" id="cvv" type="text">
</div>
</div>
<div class="row">
<label class="col-lg-12">Expiration Date:</label>
<div class="col-lg-8 form-group">
<select class="c-select form-control" id="exp-month">
<option value="1">1 - January</option>
<option value="2">2 - February</option>
<option value="3">3 - March</option>
<option value="4">4 - April</option>
<option value="5">5 - May</option>
<option value="6">6 - June</option>
<option value="7">7 - July</option>
<option value="8">8 - August</option>
<option value="9">9 - September</option>
<option value="10">10 - October</option>
<option value="11">11 - November</option>
<option value="12">12 - December</option>
</select>
</div>
<div class="col-lg-4 form-group">
<select class="c-select form-control" id="exp-year">
<option value="2017">2017</option>
<option value="2018">2018</option>
<option value="2019">2019</option>
<option value="2020">2020</option>
</select>
</div>
</div>
<hr class="m-b-2">
<button type="submit" class="btn btn-primary btn-lg">Register</button>
</form><!-- /registration form -->
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
<!-- jQuery first, then tether js, then bootstrap js -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<script src="https://npmcdn.com/[email protected]/dist/js/tether.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.2/js/bootstrap.min.js" integrity="sha384-vZ2WRJMwsjRMW/8U7i6PWi6AlO1L79snBrmgiDpgIWJ82z8eA5lenwvxbMV1PAh7" crossorigin="anonymous"></script>
<script src="js/main.js"></script>
</body>
</html>