-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
207 lines (185 loc) · 9.88 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
<!--
* Author: Alex Thomas
* Assignment: WE4.0 PHP Web App Assignment, Digital Skills Academy
* Student ID: D15126833
* Date : 2016/04/26
* Ref:
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Muncher</title>
<!-- just google monster and got this image for the title image -->
<link rel="shortcut icon" href="./public/images/title-image.ico" />
<!-- Bootstrap -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
<!-- Awesome Fonts -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
<!-- main -->
<link rel="stylesheet" href="./public/css/style.css">
</head>
<body class="body">
<!-- MARK: Header -->
<!-- putting images inside header and setting it to relative so i can stack & align the logo inside the background -->
<div class="banner">
<!-- putting logo inside container so its left aligned with the content on any width -->
<div class="container">
<a href="index.html"><img class="banner__logo img-responsive" src="./public/images/banner-logo.png" alt="Muncher Logo" /></a>
</div>
<img class="banner__background img-responsive" src="./public/images/banner-background.png" alt="Muncher banner Background" />
</div>
<!-- MARK: Nav -->
<nav class="navbar navbar-default navbar-static-top" role="navigation">
<div class="container">
<!-- Hamburger Menu -->
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<!-- Nav -->
<div class="collapse navbar-collapse" id="navbar">
<ul class="nav navbar-nav navbar-right">
<li class="active"><a href="index.html">HOME</a></li>
<li><a href="About.html">ABOUT</a></li>
<li><a href="Press.html">PRESS</a></li>
<li><a href="Buy.html">BUY</a></li>
<li><a href="#contact" data-toggle="modal">CONTACT</a></li>
</ul>
</div>
</div>
</nav>
<!--MARK: Intro -->
<section class="intro">
<div class="container">
<div class="row">
<div class="col-sm-12">
<!-- typo in design leacing it in "an Muncher" -->
<p>Muncher is a fun, easy to use app that helps you eat more healthy food. Create an muncher and feed it to see the effects.
<br> Customise your muncher, set yourself goals, get advice on your diet and many other features.
<br> Transform your attitude towards food with muncher, download now to see what it can do for you.
</p>
</div>
</div>
</div>
</section>
<!--MARK: Main -->
<section class="main">
<div class="container">
<div class="row">
<!--Video -->
<div id="VideoDiv" class="col-md-9">
<!-- video player to go here but we our team doesnt have a video yet, so just using the image the designers provided -->
<img class="img-responsive" src="./public/images/video-image.png" alt="Video">
</div>
<!-- App Store -->
<div class="appStore col-md-offset-1 col-md-2 text-center">
<h4 class="appStore__heading">AVAILABLE <span class="h3">NOW!</span></h2>
<a href="https://www.apple.com"><img class="appStore__img" src="./public/images/store-apple.png" alt="Apple App Store" /></a>
<a href="https://www.google.com"><img class="appStore__img" src="./public/images/store-google.png" alt="Android App Store" /></a>
<h4 class="appStore__heading--lower">For Mobile or Tablet</h3>
<img src="./public/images/device-mobile.png" alt="Mobile Devices" />
<img src="./public/images/device-tablet.png" alt="Tablet Devices" />
</div>
</div>
</div>
</section>
<!--MARK: Social Media-->
<section class="social-media">
<div class="container">
<div class="row">
<!-- Social Media Container -->
<!-- on the PSD after the facebook & twitter icon the text's baseline is alligned to the bottom of the icons , also the input & submit buttons actually go lower than the bottom of the icons
was pretty fustrating trying to align this perfectly to what the designers specified , I basicly needed a col-md-7.5-->
<div class="social-container col-md-7 col-sm-9">
<a href="https://www.facebook.com"><img class="social-container__social-image" src="./public/images/social-facebook.png" alt="Facebook icon" /></a>
<a href="https://www.twitter.com"><img class="social-container__social-image" src="./public/images/social-twitter.png" alt="Twitter Icon" /></a>
<p class="social-container__text">
Sign up for our newsletter to recieve upgrades and other free stuff
</p>
</div>
<!-- Subscribe Form -->
<div class="subscribe-form-container col-md-5 col-sm-12">
<form class="form-inline form-inline--subscribe" id="subscribeForm" method="post" action="./ajax/contactSimple.php" onsubmit="return false;">
<div class="form-group form-inline--subscribe__input">
<input class="input--muncher input--lg" type="email" name="subscribeEmail" placeholder="name@email" required value="">
</div>
<input class="btn--muncher btn--lg" type="submit" value="submit">
</form>
<p id="subscribeResponse"></p>
</div>
</div>
</div>
</section>
<!--MARK: Footer -->
<footer class="footer">
<div class="container">
<div class="row">
<div class="col-xs-12 text-center">
<p class="footer__p">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vitae iaculis ipsum, at elementum leo. In congue elementum ante quis rhoncus. Proin malesuada nec arcu sit amet ullamcorper. Donec consectetur tellus diam, quis cursus augue
vestibulum sit amet.
<br>
<br> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras vitae iaculis ipsum, at elementum leo.
</p>
</div>
</div>
</div>
</footer>
<!--MARK: Modal Contact form-->
<div class="modal fade" id="contact" tabindex="-1" role="dialog" aria-labelledby="" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<!-- Contact Form -->
<form id="contactForm" class="form-horizontal" method="post" action="./ajax/contactSimple.php" onsubmit="return false;">
<!-- Modal Head -->
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title text-center">Contact</h4>
</div>
<!-- Modal Body -->
<div class="modal-body">
<div class="form-group">
<label for="contactName" class="col-sm-2 control-label">Name</label>
<div class="col-sm-10">
<input type="text" class="form-control" name="contactName" required placeholder="Name">
</div>
</div>
<div class="form-group">
<label for="contactEmail" class="col-sm-2 control-label">Email</label>
<div class="col-sm-10">
<input type="email" class="form-control" name="contactEmail" placeholder="[email protected]" required>
</div>
</div>
<div class="form-group">
<label for="contactMessage" class="col-sm-2 control-label">Message</label>
<div class="col-sm-10">
<textarea class="form-control" name="contactMessage" rows="8" placeholder="Message" required></textarea>
</div>
</div>
</div>
<!-- Modal Footer -->
<div class="modal-footer">
<!-- where the ajax response will be put -->
<p id="contactResponse"></p>
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<button class="btn btn--muncher" type="submit">Send</button>
</div>
</form>
<!-- End of Contact form -->
</div>
</div>
</div>
<!-- jQuery -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<!-- Bootstrap -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<!-- Main -->
<script src="./public/js/main.js"></script>
</body>
</html>