-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
88 lines (86 loc) · 3.55 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
<!DOCTYPE html>
<html lang="es">
<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" />
<meta name="author" content="Lynx Pardelle" />
<title>d-grid-features-for-bootstrap</title>
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="./style.css" />
<link rel="stylesheet" href="./gfbs-styles.css" />
</head>
<body>
<!-- Change Language -->
<div class="dropdown">
<button
id="switch-lang"
class="d-block btn btn-light text-dark position-fixed top-0 start-0 mt-3 ms-3 dropdown-toggle"
type="button"
id="dropDownLang"
data-bs-toggle="dropdown"
aria-expanded="false"
>
<svg
xmlns="http://www.w3.org/2000/svg"
width="16"
height="16"
fill="currentColor"
class="bi bi-translate"
viewBox="0 0 16 16"
>
<path
d="M4.545 6.714 4.11 8H3l1.862-5h1.284L8 8H6.833l-.435-1.286H4.545zm1.634-.736L5.5 3.956h-.049l-.679 2.022H6.18z"
/>
<path
d="M0 2a2 2 0 0 1 2-2h7a2 2 0 0 1 2 2v3h3a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-3H2a2 2 0 0 1-2-2V2zm2-1a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h7a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H2zm7.138 9.995c.193.301.402.583.63.846-.748.575-1.673 1.001-2.768 1.292.178.217.451.635.555.867 1.125-.359 2.08-.844 2.886-1.494.777.665 1.739 1.165 2.93 1.472.133-.254.414-.673.629-.89-1.125-.253-2.057-.694-2.82-1.284.681-.747 1.222-1.651 1.621-2.757H14V8h-3v1.047h.765c-.318.844-.74 1.546-1.272 2.13a6.066 6.066 0 0 1-.415-.492 1.988 1.988 0 0 1-.94.31z"
/>
</svg>
</button>
<ul class="dropdown-menu" aria-labelledby="dropDownLang">
<li>
<button class="w-100 btn text-center" onclick="SwitchLang('es')">
Español
</button>
</li>
<hr />
<li>
<button class="w-100 btn text-center" onclick="SwitchLang('en')">
English
</button>
</li>
</ul>
</div>
<h1 class="text-center text-light my-5">d-grid-features-for-bootstrap</h1>
<div class="text-center text-light p-3 my-3 w-75 mx-auto">
<p lang="en">
This library has the purpose of being able to use the grid features
within bootstrap without generating a css of more than 20,000 lines of
code and that is responsive with the values that you want to give to
each property.
</p>
<p lang="es">
Esta librería tiene el propósito de poder usar las características de
grid dentro de bootstrap sin que se genere un css de más de 20,000
lineas de código y que sea responsivo con los valores que le quieras dar
a cada propiedad.
</p>
</div>
<button onclick="CreateNewGridSample();">Create New Grid Sample</button>
<div id="grid-container"></div>
<footer id="gfbTimer" class="text-light"></footer>
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p"
crossorigin="anonymous"
></script>
<script src="./d-grid.js"></script>
<script src="./langChanger.js"></script>
<script src="./index.js"></script>
</body>
</html>