generated from Code-Institute-Org/gitpod-full-template
-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
187 lines (166 loc) · 7.51 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Great Wall of Gratitude</title>
<!-- Favicon Includes-->
<link rel="shortcut icon" href="./favicon.ico">
<link rel="icon" sizes="16x16 32x32 64x64" href="./favicon.ico">
<link rel="icon" type="image/svg+xml" sizes="any" href="./assets/favicon/favicon.svg">
<link rel="icon" type="image/png" sizes="160x160" href="./assets/favicon/favicon-160x160.png">
<link rel="icon" type="image/png" sizes="96x96" href="./assets/favicon/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="64x64" href="./assets/favicon/favicon-64x64.png">
<link rel="icon" type="image/png" sizes="32x32" href="./assets/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./assets/favicon/favicon-16x16.png">
<link rel="apple-touch-icon" sizes="180x180" href="./assets/favicon/favicon-180x180.png">
<link rel="apple-touch-icon" sizes="152x152" href="./assets/favicon/favicon-152x152.png">
<link rel="apple-touch-icon" sizes="144x144" href="./assets/favicon/favicon-144x144.png">
<link rel="apple-touch-icon" sizes="120x120" href="./assets/favicon/favicon-120x120.png">
<link rel="apple-touch-icon" sizes="114x114" href="./assets/favicon/favicon-114x114.png">
<link rel="apple-touch-icon" sizes="76x76" href="./assets/favicon/favicon-76x76.png">
<link rel="apple-touch-icon" sizes="72x72" href="./assets/favicon/favicon-72x72.png">
<link rel="apple-touch-icon" sizes="60x60" href="./assets/favicon/favicon-60x60.png">
<link rel="apple-touch-icon" sizes="57x57" href="./assets/favicon/favicon-57x57.png">
<!-- Load local fonts before loading css -->
<style>
@font-face {
font-family: 'Poppins';
src: url('./assets/fonts/Poppins-Light.ttf');
font-weight: 300;
font-display: swap;
}
@font-face {
font-family: 'Poppins';
src: url('./assets/fonts/Poppins-ExtraBold.ttf');
font-weight: 800;
font-display: swap;
}
</style>
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">
<!-- Custom Styles -->
<link rel="stylesheet" href="./assets/css/style.css">
</head>
<body>
<!-- Page Header -->
<header class="header">
<div class="container header-content">
<div class="branding">
<a class="logo" href="./" aria-label="link to Home Page"><img src="./assets/images/logo-white.svg" width="116"
height="36" alt="The Great Wall of Gratitude"></a>
</div>
<input id="mobile-menu-toggle" type="checkbox">
<label class="hamburger" for="mobile-menu-toggle" aria-label="menu">
<span></span>
<span></span>
<span></span>
</label>
<nav class="navigation">
<ul class="menu">
<li><a class="active" aria-label="link to Home Page" href="./index.html">The Great Wall</a></li>
<li><a aria-label="link to About Page" href="./about.html">About</a></li>
<li><a aria-label="link to Contact Page" href="./contact.html">Contact</a></li>
</ul>
</nav>
</div>
</header>
<main class="page">
<!-- Home Hero -->
<div class="home-hero">
<div class="container py-4">
<div class="row">
<div class="col-lg-6 col-12 d-flex flex-column justify-content-center align-items-start">
<h1>The Great Wall of Gratitude</h1>
<p>Welcome to our gratitude wall! Here, you can post messages of appreciation and positivity to inspire
others. Join us in spreading kindness and celebrating the little joys in life.</p>
<a href="#instructions" class="btn btn-primary">Start Sharing Your Appreciation</a>
</div>
<div class="col-lg-6 col-12 d-flex justify-content-center align-content-center">
<dotlottie-player src="./assets/lottie/hero.lottie" background="transparent" speed="1"
style="width: 512px; height: 512px" direction="1" playMode="normal" loop autoplay></dotlottie-player>
</div>
</div>
<div class="scroll-arrows">
<a href="#instructions" aria-label="scroll to form">
<svg class="arrows" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
<path class="arrow-1"
d="M16.61,30.11h0s-.61.61-.61.61L3.13,17.85l.61-.61,12.26,12.26,12.26-12.26.61.61-12.26,12.26Z" />
<path class="arrow-2"
d="M16.61,22.43h0s-.61.61-.61.61L3.13,10.18l.61-.61,12.26,12.26,12.26-12.26.61.61-12.26,12.26Z" />
<path class="arrow-3"
d="M16.61,14.76h0s-.61.61-.61.61L3.13,2.5l.61-.61,12.26,12.26L28.26,1.89l.61.61-12.26,12.26Z" />
</svg>
</a>
</div>
</div>
</div>
<!-- Divider -->
<div class="divider divider--lighter-to-base divider--invert">
<svg viewBox="0 0 650 39">
<path d="M325,37.4C145.5,37.4,0,20.7,0,0v40h650V0C650,20.7,504.5,37.4,325,37.4z" />
</svg>
</div>
<!-- Instruction Section -->
<div class="instructions text-center pt-5" id="instructions">
<div class="container">
<h2>How to use the Great Wall</h2>
<h6>
Fill out the card below and watch it become a permanent part of our wall!
</h6>
</div>
</div>
<!-- Add Post Form -->
<div class="container py-5">
<div id="form" class="form">
<div class="form-content">
<div class="row">
<div class="col-12 col-md-4">
<div class="mb-2">
<label for="sender-input">From:</label>
<input type="text" id="sender-input" class="form-control">
</div>
<div>
<label for="name-input">To:</label>
<input type="text" id="name-input" class="form-control">
</div>
</div>
<div class="col-12 col-md-8">
<div class="">
<label for="message-input">Message:</label>
<textarea id="message-input" class="form-control" rows="4"></textarea>
</div>
</div>
</div>
<button type="button" class="btn btn-light mt-4" id="submit">Spread Kindness!</button>
</div>
</div>
</div>
<!-- Great Wall of Gratitude -->
<div id="wall" class="container wall"></div>
<!-- Load More Button -->
<div class="container my-4">
<button type="button" class="btn btn-primary" id="load-more-btn">Load More</button>
</div>
<div id="alert-container"></div>
</main>
<footer class="footer py-4">
<div class="container">
<p class="text-center">Created to Spread Happiness</p>
<p class="text-center"> World Happiness Day 😁</p>
<p class="text-center">© The Great Wall of Gratitude 2024</p>
</div>
</footer>
<!-- JQuery CDN -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<!-- Bootstrap JS -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-kenU1KFdBIe4zVF0s0G1M5b4hcpxyD9F7jL+jjXkk+Q2h455rYXK/7HAuoJl+0I4"
crossorigin="anonymous"></script>
<!-- Lottie Player -->
<script src="https://unpkg.com/@dotlottie/player-component@latest/dist/dotlottie-player.mjs" type="module"></script>
<!-- Custom JS -->
<script src="./assets/js/script.js"></script>
</body>
</html>