forked from Lemoncode/mongo-modeler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
345 lines (336 loc) · 9.15 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
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
<!doctype html>
<html lang="en">
<head>
<!-- Google tag (gtag.js) -->
<script
async
src="https://www.googletagmanager.com/gtag/js?id=G-9X65LPXL9V"
></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'G-9X65LPXL9V');
</script>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
<link rel="manifest" href="/site.webmanifest" />
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5" />
<meta name="msapplication-TileColor" content="#da532c" />
<meta name="theme-color" content="#ffffff" />
<title>Mongo Modeler</title>
<meta
name="description"
content="A free, open-source web application for effortlessly creating and editing MongoDB database diagrams"
/>
<style>
:root {
/* colors */
--white: #ffffff;
--background-300: #142231;
--accent: #96d9ab;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
min-height: 100svh;
min-width: 320px;
margin-left: auto;
margin-right: auto;
color: var(--white);
background-color: var(--background-300);
font-family:
system-ui,
-apple-system,
BlinkMacSystemFont,
'Segoe UI',
Roboto,
Oxygen,
Ubuntu,
Cantarell,
'Open Sans',
'Helvetica Neue',
sans-serif;
font-size: 1.25rem;
line-height: 1.3;
display: flex;
flex-direction: column;
}
a {
color: inherit;
}
.container {
width: 95%;
max-width: 1980px;
margin-right: auto;
margin-left: auto;
}
.header {
display: flex;
justify-content: flex-end;
align-items: baseline;
padding-top: 2rem;
}
.main {
flex: 1;
display: flex;
flex-direction: column;
}
.info {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
padding: 1.5rem;
padding-top: 0;
padding-bottom: 4rem;
}
.info__company {
display: flex;
align-items: center;
gap: 3%;
}
.info__company img {
width: 12%;
height: 100%;
margin-top: 4px;
}
.info__company h2 {
font-size: clamp(55px, 9vw, 10rem);
color: var(--accent);
background-image: linear-gradient(69deg, #96d9ab 30%, #ffffff 75%);
background-clip: text;
-webkit-text-fill-color: transparent;
-webkit-background-clip: text;
}
.info__claim {
font-size: clamp(25px, 3.75vw, 5rem);
font-weight: 600;
padding-left: 3px;
}
.info__detail {
display: flex;
justify-content: space-between;
padding: 4.5rem 3px 0 3px;
}
.info__text {
padding-top: 0.9rem;
width: 50%;
}
.info__text h3 {
font-weight: 400;
font-size: 30px;
}
.info__text p {
font-size: 24px;
padding-top: 1.2rem;
color: #fc5969;
font-weight: 700;
letter-spacing: 1px;
}
.info__link {
display: block;
padding: 0.6em 1.1em;
background-color: #e8c091;
max-width: fit-content;
color: #0f1924;
text-decoration: none;
border-radius: 16px;
font-weight: 600;
letter-spacing: 0.2px;
font-size: 20px;
margin-top: 3.5rem;
}
.info__image {
width: 45%;
border-radius: 10px;
box-shadow:
-14px 14px 28px #0f1924,
14px -14px 28px #192b3e;
}
img {
width: 100%;
height: 100%;
object-fit: cover;
border-radius: 10px;
}
.github {
background-color: var(--accent);
color: var(--background-300);
}
.github p {
padding: 1.5rem 0;
}
.highlight {
color: #73cc8f;
font-weight: 600;
}
@media screen and (max-width: 600px) {
body {
text-align: center;
}
.info {
padding: 0;
padding-bottom: 2rem;
}
.info__claim {
padding-top: 0.8rem;
}
.container {
width: 90%;
}
.info__company {
line-height: 1.13;
}
.info__detail {
flex-direction: column-reverse;
gap: 5rem;
}
.info__text {
padding-top: 0;
width: 100%;
}
.info__image {
width: 100%;
}
.info__link {
margin-left: auto;
margin-right: auto;
font-size: 18px;
}
.header {
padding-bottom: 2rem;
}
.info__text h3 {
font-size: 22px;
}
.info__text p {
font-size: 19px;
}
.github p {
padding: 1rem 0;
font-size: 17px;
}
.info__company {
display: flex;
flex-direction: column;
justify-items: center;
align-items: center;
gap: 8px;
}
.info__company img {
width: 70px;
margin-top: 0;
}
.info__company h2 {
line-height: 1.1;
}
}
@media screen and (max-width: 900px) {
body {
text-align: center;
}
.info__detail {
flex-direction: column-reverse;
gap: 5rem;
padding-bottom: 4rem;
}
.info__text {
padding-top: 0;
width: 100%;
}
.info__image {
width: 100%;
}
.info__link {
margin-left: auto;
margin-right: auto;
}
.header {
padding-bottom: 2rem;
}
.info__company {
justify-content: center;
}
}
@media (hover: hover) {
a:hover {
color: #ae7839;
transition: all 0.5s ease-in-out;
}
.info__link:hover {
color: black;
background-color: #ae7839;
}
}
</style>
</head>
<body>
<header class="header container">
<a href="https://github.com/Lemoncode/mongo-modeler"
><svg
xmlns="http://www.w3.org/2000/svg"
width="1.8em"
height="1.8em"
viewBox="0 0 16 16"
title="View on Github"
aria-label="See the project on Github"
>
<path
fill="currentColor"
d="M8 .198a8 8 0 0 0-2.529 15.591c.4.074.547-.174.547-.385c0-.191-.008-.821-.011-1.489c-2.226.484-2.695-.944-2.695-.944c-.364-.925-.888-1.171-.888-1.171c-.726-.497.055-.486.055-.486c.803.056 1.226.824 1.226.824c.714 1.223 1.872.869 2.328.665c.072-.517.279-.87.508-1.07c-1.777-.202-3.645-.888-3.645-3.954c0-.873.313-1.587.824-2.147c-.083-.202-.357-1.015.077-2.117c0 0 .672-.215 2.201.82A7.672 7.672 0 0 1 8 4.066c.68.003 1.365.092 2.004.269c1.527-1.035 2.198-.82 2.198-.82c.435 1.102.162 1.916.079 2.117c.513.56.823 1.274.823 2.147c0 3.073-1.872 3.749-3.653 3.947c.287.248.543.735.543 1.481c0 1.07-.009 1.932-.009 2.195c0 .213.144.462.55.384A8 8 0 0 0 8.001.196z"
/></svg
></a>
</header>
<main class="main">
<div class="info container">
<div class="info__company">
<img
src="/assets/logo_mongo_modeler_dark_mode.svg"
alt="Mongo Modeler Logo"
/>
<h2 class="info__company">Mongo Modeler</h2>
</div>
<h1 class="info__claim">
A free, online Data Modeling tool for MongoDB.
</h1>
<div class="info__detail">
<div class="info__text">
<h3>
Mongo Modeler is a <span class="highlight">free</span>, open
source <span class="highlight">tool</span> for visualization of
<span class="highlight">MongoDB</span> schema design
</h3>
<p>Community preview</p>
<a href="./editor.html" class="info__link"
>Launch MongoDB Designer</a
>
</div>
<div class="info__image">
<img
src="/mongo-modeler-app.jpg"
alt="Screenshot of the application displaying the navigation bar and organized collections with their relationships"
/>
</div>
</div>
</div>
<div class="github">
<p class="container">
Interested in suggesting a new feature or reporting a bug? Visit our
project's Github page to make your contribution.
<a href="https://github.com/Lemoncode/mongo-modeler" target="_blank"
>Go to Github</a
>
</p>
</div>
</main>
</body>
</html>