-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
200 lines (199 loc) · 6.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
188
189
190
191
192
193
194
195
196
197
198
199
200
<!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.0" />
<link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.css" />
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC"
crossorigin="anonymous"
/>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@200;300&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="assets/css/landingpage.css" />
<link
rel="shortcut icon"
type="image/png"
href="assets/images/book-icon.png"
/>
<title>DefineHub</title>
</head>
<body>
<!--hero image background w nav-->
<div class="hero">
<nav class="navbar navbar-light bg-light">
<div class="container">
<button
type="button"
class="btn btn-primary"
id="nav1"
onClick="window.location.href='https://github.com/jordandub1/DefineHub'"
value="GitHub"
>
GitHub
</button>
<button
type="button"
class="btn btn-primary"
id="nav2"
onClick="window.location.href='https://developers.google.com/youtube/v3'"
value="YouTube API"
>
YouTube API
</button>
<!--Centered Logo-->
<div style="text-align: center">
<img
src="assets/images/bright-logo-shadow.png"
id="logo"
alt="DefineHub Logo"
width="298"
height="100"
/>
</div>
<button
type="button"
class="btn btn-primary"
id="nav3"
onClick="window.location.href='https://www.wordsapi.com/docs/'"
value="Words API"
>
Words API
</button>
<button
type="button"
class="btn btn-primary"
id="nav4"
onClick="window.location.href='https://libretranslate.com/'"
value="Translate API"
>
Translate API
</button>
</div>
</nav>
<div class="container">
<div class="row">
<!--DefineHub Text-->
<div class="col">
<!-- text body on hero image -->
<div class="card" id="explain-definehub">
<div class="card-body">
<h1>Welcome to DefineHub!</h1>
<p id="welcome-text">
DefineHub is an all-in-one location for your word search that
puts the definition, translation, and pronunciation of any
word from the dictionary right at your fingertips! Just click
the Start Here button to begin the journey of adding to your
vocabulary!
</p>
</div>
</div>
</div>
<!--start here button-->
<div class="col">
<div class="d-grid gap-2 d-md-flex justify-content-md-end">
<button
type="button"
class="btn btn-primary"
id="start-here-btn"
onClick="window.location.href='word.html'"
>
Start Here!
</button>
</div>
</div>
</div>
</div>
</div>
<!--main content-->
<div class="container" id="main-content">
<!-- define section -->
<div class="row">
<!--Define image-->
<div class="col body-card" data-aos="zoom-in-right">
<img
src="assets/images/define.jpeg"
id="define-image"
alt="Page in Dictionary"
width="458"
height="266"
/>
</div>
<div class="col body-card" data-aos="zoom-in">
<!--Define text-->
<h1>Define</h1>
<p>
Need to quickly define a word? Look no further. With DefineHub, you
can easily pull the definition for any word in a matter of seconds
utilizing the WordsAPI. Just click the Start Here button above to
begin the search.
</p>
</div>
</div>
<!-- Translate section -->
<div class="row">
<div class="col body-card" data-aos="zoom-out">
<!--Translate text-->
<h1>Translate</h1>
<p>
Using the Libre Translate API, DefineHub gives you the opportunity
to translate any word from over 20 languages. Simply enter the word
into our translation page and choose the languages needed for
translation.
</p>
</div>
<div class="col body-card" data-aos="zoom-in-left">
<!-- Translate image -->
<img
src="assets/images/translate.jpeg"
id="translate-image"
alt="World Map"
width="458"
height="266"
/>
</div>
</div>
<!-- Pronounce section -->
<div class="row">
<div class="col body-card" data-aos="zoom-in-right">
<!-- Pronounce image -->
<img
src="assets/images/justicer.jpeg"
id="pronounce-image"
alt="Justicer in dictionary"
width="458"
height="266"
/>
</div>
<div class="col body-card" data-aos="zoom-in">
<!-- Pronounce text -->
<h1>Pronounce</h1>
<p>
Not sure how to pronounce a word? DefineHub can help you with
pronunciation by employing the YouTube API. With DefineHub, you can
search for the pronunciation of a word and our application will
return a YouTube video to upskill your pronunciation.
</p>
</div>
</div>
</div>
<script src="https://unpkg.com/aos@next/dist/aos.js"></script>
<script>
AOS.init();
</script>
</body>
<!-- Dark blue footer -->
<footer></footer>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM"
crossorigin="anonymous"
></script>
</html>