-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
164 lines (143 loc) · 5.31 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>LLMs-4-India | Lingo Labs, IITGN</title>
<style>
body,
html {
height: 100%;
margin: 0;
color: white;
font-family: 'Courier New', Courier, monospace;
background-color: black;
}
.bgimg {
background-image: url('https://labs.iitgn.ac.in/lingo/wp-content/uploads/2024/02/cropped-cropped-logo_padded_black.png');
height: 100px;
background-position: center;
background-size: cover;
position: absolute;
top: 0;
left: 10px;
width: 270px;
height: 100px;
opacity: 0.7;
}
.content {
padding: 20px;
margin-top: 120px;
color: #dea7e6;
/* Adjusted to not overlap with the logo */
}
h1,
h2,
h3,
h4 {
text-align: center;
color: white;
}
.language-data {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
margin-top: 40px;
text-align: center;
}
button {
width: 150px;
background: linear-gradient(145deg, #6a5acd, #9370db);
border: none;
margin: 0 auto;
color: white;
padding: 10px 20px;
font-size: 16px;
cursor: pointer;
border-radius: 5px;
transition: transform 0.3s, box-shadow 0.3s;
box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}
button:hover {
box-shadow: 0 6px 12px rgba(255, 255, 255, 0.7);
}
button:active {
transform: translateY(4px);
}
.data-section {
display: none;
padding: 10px;
background-color: #333;
border-radius: 5px;
margin-top: 5px;
}
.team-photo {
width: 100px;
height: 100px;
border-radius: 50%;
margin: 10px;
}
footer {
position: fixed;
bottom: 0;
width: 100%;
text-align: center;
background-color: black;
color: white;
padding: 10px;
}
</style>
</head>
<body>
<div class="bgimg"></div>
<div class="content">
<h1>LLMs-4-India</h1>
<h2>Language Models for Indian Languages</h2>
<div class="language-data" id="languageButtons">
<!-- Buttons will be added here by JavaScript -->
</div>
<!-- add some space after the buttons -->
<div style="height: 120px;"></div>
<h4>LLMs-4-India is a project by Lingo Labs, IIT Gandhinagar to build language models for Indian languages.</h4>
<footer>
<h3>Core Team</h3>
<img src="https://mayank4490.github.io/img/mayank.JPG" alt="Dr. Mayank Singh" class="team-photo">
<img src="https://labs.iitgn.ac.in/lingo/wp-content/uploads/2024/03/sd-300x300.png" alt="Siddhesh Dosi"
class="team-photo">
<img src="https://labs.iitgn.ac.in/lingo/wp-content/uploads/2024/02/hitesh-e1709222502301.jpg"
alt="Hitesh Lodwal" class="team-photo">
<img src="https://istf.iitgn.ac.in/mmmediaap/2022/08/ankit-yadav.jpg" alt="Ankit Yadav" class="team-photo">
<p>Our goal is to curate a total of 1 TB of data across multiple Indian languages.</p>
</footer>
</div>
<script>
const languages = ['Bengali', 'English', 'Gujarati', 'Hindi', 'Malayalam', 'Marathi', 'Punjabi', 'Sanskrit', 'Sindhi', 'Tamil', 'Telugu', 'Urdu'];
const dataSizes = ['20GB', '150GB', '30GB', '70GB', '40GB', '50GB', '25GB', '15GB', '10GB', '60GB', '35GB', '45GB'];
function populateButtons() {
const container = document.getElementById('languageButtons');
languages.forEach((language, index) => {
const button = document.createElement('button');
// button.textContent = `${language} - ${dataSizes[index]}`;
button.textContent = `${language}`;
button.onclick = function () { toggleVisibility(`${language.toLowerCase()}Data`) };
container.appendChild(button);
const dataDiv = document.createElement('div');
dataDiv.id = `${language.toLowerCase()}Data`;
dataDiv.className = 'data-section';
dataDiv.innerHTML = `<p>${dataSizes[index]} </p>`;
container.appendChild(dataDiv);
});
}
function toggleVisibility(id) {
var element = document.getElementById(id);
if (element.style.display === 'none') {
element.style.display = 'block';
element.style.animation = 'rollIn 0.5s forwards';
} else {
element.style.display = 'none';
}
}
window.onload = populateButtons;
</script>
</body>
</html>