forked from alejandro-ser/bootstrap-web-estatica
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
169 lines (155 loc) · 6.63 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<title>Bootstrap Website Two</title>
<!-- GOOGLE FONT -->
<link href="https://fonts.googleapis.com/css?family=Titillium+Web" rel="stylesheet" />
<!-- BOOTSTRAP 4 -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/css/bootstrap.min.css" integrity="sha384-9gVQ4dYFwwWSjIDZnLEWnxCjeSWFphJiwGPXr1jddIhOegiu1FwO5qRGvFXOdJZ4" crossorigin="anonymous">
<!-- SCROOLL REVEAL JS LIBRARY CDN -->
<script src="https://unpkg.com/scrollreveal/dist/scrollreveal.min.js"></script>
<!-- CUSTOM CSS -->
<link rel="stylesheet" href="css/main.css">
</head>
<body>
<!-- NAVIGATION -->
<nav class="navbar navbar-expand-lg navbar-light bg-light fixed-top">
<a class="navbar-brand" href="#">WebsiteTwo</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavAltMarkup" aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNavAltMarkup">
<div class="navbar-nav ml-auto">
<a class="nav-item nav-link" href="#header">Home</a>
<a class="nav-item nav-link" href="#info-one">About</a>
<a class="nav-item nav-link" href="#contact">Contact</a>
</div>
</div>
</nav>
<!-- SECTION -->
<section id="header">
<div class="container mt-5">
<div class="row">
<div class="col-md-6 col-sm-6">
<div class="header-content-left">
<img src="img/image1.png" style="width: 100%;">
</div>
</div>
<div class="col-md-6 col-sm-6">
<div class="header-content-right">
<h1 class="display-4">Sit asperiores voluptas atque autem?</h1>
<p class="mt-5">Amet possimus omnis dolore aliquid quam. Officiis nulla nam laudantium iure amet. Debitis maiores enim modi porro sunt. Ratione harum quasi odit nemo rerum eveniet dolorem quas rem asperiores voluptate!</p>
<a href="#" class="btn btn-outline-secondary header-btn btn-lg mt-2">Read More</a>
</div>
</div>
</div>
</div>
</section>
<section id="testimonial">
<div class="container">
<p class="h2 mb-2">
Consectetur esse incidunt voluptatibus modi quae ipsa eos corrupti ad rerum? Modi natus necessitatibus eaque illum voluptas accusamus aliquid ipsum consectetur? Voluptate voluptate in deleniti amet itaque eius? Impedit sapiente?
</p>
<p class="h4">- Ryan Ray</p>
</div>
</section>
<section id="info-one">
<div class="container">
<div class="row mt-5">
<div class="col-md-6">
<div class="info-left">
<img src="img/image2.png" style="width: 100%">
</div>
</div>
<div class="col-md-6 my-auto">
<div class="info-right">
<h2>Consectetur magnam quos voluptatibus laboriosam.</h2>
<p>Amet vero earum quis modi ad? Voluptate id nihil harum mollitia exercitationem, dolores mollitia minus voluptates repellat esse. Dignissimos consectetur libero mollitia nihil enim. Nam pariatur veritatis ratione temporibus nisi!</p>
<a href="#" class="btn btn-outline-secondary btn-lg">Read More</a>
</div>
</div>
</div>
</div>
</section>
<section id="info-two">
<div class="container">
<div class="row my-5">
<div class="col-md-6">
<h2>Lorem repellat qui.</h2>
<p>Amet neque nulla enim ex adipisci. Dolorum maxime at mollitia eius explicabo maxime eaque hic eveniet corporis est officia corporis laudantium sed odit officia, voluptates iure in doloremque. Atque quo.</p>
</div>
<div class="col-md-6">
<h2>Dolor harum debitis!</h2>
<p>Ipsum neque ratione illo fuga numquam accusamus. Ipsam dolore non reprehenderit sed voluptatibus. Aut fugit repudiandae consectetur in obcaecati doloremque praesentium ratione. Laboriosam sapiente corrupti laboriosam aut velit quidem itaque.</p>
</div>
</div>
</div>
</section>
<footer id="contact">
<div class="container">
<div class="row">
<div class="col-md-5">
<form class="card mt-4">
<div class="card-body">
<div class="form-group">
<input type="text" class="form-control" placeholder="Name">
</div>
<div class="form-group">
<input type="text" class="form-control" placeholder="Email">
</div>
<div class="form-group">
<textarea cols="30" rows="10" placeholder="Message" class="form-control"></textarea>
</div>
<button class="btn btn-outline-secondary btn-block">
Send
</button>
</div>
</form>
</div>
</div>
</div>
</footer>
<!-- SCRIPTS -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.0/umd/popper.min.js" integrity="sha384-cs/chFZiN24E4KMATLdqdvsezGxaGsi4hLGOzlXwp5UZB1LY//20VyM2taTB4QvJ" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.0/js/bootstrap.min.js" integrity="sha384-uefMccjFJAIv6A+rW+L4AHf99KvxDjWSu1z9VI8SKNVmz4sk7buKt/6v9KI65qnm" crossorigin="anonymous"></script>
<!-- SCROOLL REVEAL SCRIPT -->
<script>
window.sr = ScrollReveal();
sr.reveal('.navbar', {
duration: 2000,
origin: 'bottom'
});
sr.reveal('.header-content-left', {
duration: 2000,
origin: 'top',
distance: '300px'
});
sr.reveal('.header-content-right', {
duration: 2000,
origin: 'right',
distance: '300px'
});
sr.reveal('.header-btn', {
duration: 2000,
delay: 1000,
origin: 'bottom'
});
sr.reveal('#testimonial div', {
duration: 2000,
origin: 'left',
distance: '300px',
viewFactor: 0.2
});
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
e.preventDefault();
document.querySelector(this.getAttribute('href')).scrollIntoView({
behavior: 'smooth'
});
});
});
</script>
</body>
</html>