-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
217 lines (198 loc) · 7.9 KB
/
index.html
File metadata and controls
217 lines (198 loc) · 7.9 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
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
<!DOCTYPE html>
<html lang="en" class="sr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>TechScroll</title>
<link href="https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700%7CRoboto%7CJosefin+Sans:100,300,400,500" rel="stylesheet" type="text/css">
<link href="https://stackpath.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="css/style.css">
<script src="https://unpkg.com/scrollreveal"></script>
<script>
ScrollReveal.debug = true;
</script>
</head>
<body>
<nav class="navbar navbar-default navbar-fixed-top load-hidden">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">TechScroll</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="#showcase">Home</a></li>
<li><a href="#info1">About</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</nav>
<section id="showcase">
<div class="container">
<div class="row">
<div class="col-md-6 col-sm-6">
<div class="showcase-left">
<img src="img/image1.png">
</div>
</div>
<div class="col-md-6 col-sm-6">
<div class="showcase-right">
<h1>Hands-free help from the Google Assistant</h1>
<p>Lorem ipsum dolor sit, amet consectetur adipisicing elit. Repudiandae possimus rem vero sequi molestiae, esse hic nam molestias non, perspiciatis quae cupiditate inventore nisi. Ducimus esse autem dolor ex iure!</p>
</div>
<br>
<a class="btn btn-default btn-lg showcase-btn">Read More</a>
</div>
</div>
</div>
</section>
<section id="testimonial">
<div class="container">
<p>"Lorem ipsum dolor sit amet, consectetur adipisicing elit. Dolorem officia temporibus, vel hic incidunt sed natus repellat officiis dolores alias exercitationem aperiam soluta? Molestiae odio eos, odit doloribus quidem exercitationem."</p>
<p class="customer">- John Doe</p>
</div>
</section>
<section id="info1">
<div class="container">
<div class="row">
<div class="col-md-6 col-sm-6">
<div class="info-left">
<img style="width: 40vw;" src="img/image2.jpg">
</div>
</div>
<div class="col-md-6 col-sm-6">
<div class="info-right">
<h2>Get to Know Google Home</h2>
<p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Earum, libero voluptatibus. Dolore fuga possimus aspernatur libero eum eaque aliquid, asperiores qui repellendus minus quae ab maxime eligendi quos, culpa totam.</p>
<br>
<a class="btn btn-default btn-lg">Read More</a>
</div>
</div>
</div>
</div>
</section>
<hr>
<section id="info2">
<div class="container">
<div class="row">
<div class="col-md-6 col-sm-6">
<div class="info-left">
<h2>Info Block One</h2>
<p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Earum, libero voluptatibus. Dolore fuga possimus aspernatur libero eum eaque aliquid, asperiores qui repellendus minus quae ab maxime eligendi quos, culpa totam.</p>
</div>
</div>
<div class="col-md-6 col-sm-6">
<div class="info-right">
<h2>Info Block Two</h2>
<p>Lorem ipsum dolor sit amet consectetur, adipisicing elit. Earum, libero voluptatibus. Dolore fuga possimus aspernatur libero eum eaque aliquid, asperiores qui repellendus minus quae ab maxime eligendi quos, culpa totam.</p>
</div>
</div>
</div>
</div>
</section>
<section id="contact">
<div class="container">
<div class="row">
<div class="col-md-5 col-sm-5">
<form>
<div class="form-group">
<label>Name: </label>
<input class="form-control" type="text" name="" value="" placeholder="Enter Name">
</div>
<div class="form-group">
<label>Email: </label>
<input class="form-control" type="email" name="" value="" placeholder="Enter Email">
</div>
<div class="form-group">
<label>Message: </label>
<textarea class="form-control" type="text" name="" value="" placeholder="Enter Message"></textarea>
</div>
<button class="btn btn-default">Submit</button>
</form>
</div>
<div class="col-md-7 col-sm-7">
</div>
</div>
</div>
</section>
<footer>
<p class="text-center">TechScrollCopyright © 2019</p>
</footer>
<script
src="https://code.jquery.com/jquery-3.3.1.js"
integrity="sha256-2Kok7MbOyxpgUVvAk/HJ2jigOSYS2auK4Pfzbm7uH60="
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<script>
window.sr = ScrollReveal();
sr.reveal('.navbar', {
duration: 2000,
origin: 'bottom',
distance: '20px',
scale: 0.85
});
sr.reveal('.showcase-left', {
duration: 2000,
origin: 'top',
distance: '300px',
scale: 0.85
});
sr.reveal('.showcase-right', {
duration: 2000,
origin: 'right',
distance: '300px',
scale: 0.85
});
sr.reveal('.showcase-btn', {
duration: 2000,
delay: 2000,
origin: 'bottom',
scale: 0.85
});
sr.reveal('#testimonial div', {
duration: 2000,
origin: 'bottom',
scale: 0.85
});
sr.reveal('.info-left', {
duration: 2000,
origin: 'left',
distance: '300px',
viewFactor: 0.2,
scale: 0.85
});
sr.reveal('.info-right', {
duration: 2000,
origin: 'right',
distance: '300px',
viewFactor: 0.2,
scale: 0.85
});
</script>
<script>
$(function() {
// Smooth Scrolling
$('a[href*="#"]:not([href="#"])').click(function() {
if(location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'') &&
location.hostname == this.hostname) {
var target = $(this.hash);
target = target.length ? target : $('[name=' + this.hash.slice(1) = ']');
if(target.length) {
$('html, body').animate({
scrollTop: target.offset().top
}, 1000);
return false;
}
}
});
});
</script>
</body>
</html>