-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdesigngraphics.html
459 lines (396 loc) · 20.3 KB
/
designgraphics.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
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
<!DOCTYPE html>
<html lang="zxx">
<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="assets/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/css/animate.min.css">
<link rel="stylesheet" href="assets/fonts/remixicon.css">
<link rel="stylesheet" href="assets/css/owl.carousel.min.css">
<link rel="stylesheet" href="assets/css/owl.theme.default.min.css">
<link rel="stylesheet" href="assets/css/metismenu.min.css">
<link rel="stylesheet" href="assets/css/simplebar.min.css">
<link rel="stylesheet" href="assets/css/dropzone.min.css">
<link rel="stylesheet" href="assets/css/magnific-popup.css">
<link rel="stylesheet" href="assets/css/odometer.min.css">
<link rel="stylesheet" href="assets/css/meanmenu.min.css">
<link rel="stylesheet" href="assets/css/style.css">
<link rel="stylesheet" href="assets/css/responsive.css">
<link rel="stylesheet" href="assets/css/theme-dark.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<title>eDvance - Design & Graphics</title>
<link rel="icon" type="image/png" href="assets/images/favicon.png">
</head>
<body>
<div class="preloader">
<div class="d-table">
<div class="d-table-cell">
<div class="spinner"></div>
</div>
</div>
</div>
<div class="navbar-area">
<div class="mobile-responsive-nav">
<div class="container-fluid">
<div class="mobile-responsive-menu">
<div class="logo">
<a href="index.html">
<img src="assets/images/logo.png" class="logo-one" alt="Logo">
<img src="assets/images/logo-2.png" class="logo-two" alt="Logo">
</a>
</div>
</div>
</div>
</div>
<div class="desktop-nav desktop-nav-one nav-area">
<div class="container-fluid">
<nav class="navbar navbar-expand-md navbar-light ">
<a class="navbar-brand" href="index.html">
<img src="assets/images/logo.png" class="logo-one" alt="Logo">
<img src="assets/images/logo-2.png" class="logo-two" alt="Logo">
</a>
<div class="collapse navbar-collapse mean-menu" id="navbarSupportedContent">
<ul class="navbar-nav">
<li class="nav-item">
<a href="index.html" class="nav-link">
Home
</a>
</li>
<li class="nav-item">
<a href="about-us.html" class="nav-link">
About Us
</a>
</li>
<li class="nav-item">
<a href="contact.html" class="nav-link">
Contact Us
</a>
</li>
<!-- <li class="nav-item">
<a href="#" class="nav-link">
Languages
<i class="ri-arrow-down-s-line"></i>
</a>
<ul class="dropdown-menu">
<li class="nav-item">
<button class="backtr" onclick="changeLanguage1()">
<a class="nav-link"> English </a>
</button>
</li>
<li class="nav-item">
<button class="backtr" onclick="changeLanguage('bn')">
<a class="nav-link">Bengali</a>
</button>
</li>
<li class="nav-item">
<button class="backtr" onclick="changeLanguage('kn')">
<a class="nav-link">Kannada</a>
</button>
</li>
<li class="nav-item">
<button class="backtr" onclick="changeLanguage('hi')">
<a class="nav-link">Hindi</a>
</button>
</li>
<li class="nav-item">
<button class="backtr" onclick="changeLanguage('pa')">
<a class="nav-link">Punjabi</a>
</button>
</li>
<li class="nav-item">
<button class="backtr" onclick="changeLanguage('gu')">
<a class="nav-link">Gujrathi</a>
</button>
</li>
<li class="nav-item">
<button class="backtr" onclick="changeLanguage('mr')">
<a class="nav-link">Marathi</a>
</button>
</li>
</ul>
</li> -->
<li class="nav-item">
<a href="#" class="nav-link">
More
<i class="ri-arrow-down-s-line"></i>
</a>
<ul class="dropdown-menu">
<li class="nav-item">
<a href="categories.html" class="nav-link">
Career Guides
</a>
</li>
<li class="nav-item">
<a href="aptitude.html" class="nav-link">
Aptitude Test
</a>
</li>
</ul>
</li>
</ul>
<div class="others-options d-flex align-items-center">
<div class="navbar-nav">
<li class="nav-item">
<a class="nav-link">
<i class="" id="lightMode-icon"></i>
</a>
</li>
<li> </li>
</div>
<!-- <div class="optional-item">
<a href="student-info.html" class="default-btn two border-radius-5">Get Started
<i class="ri-user-3-line"></i></a>
</div> -->
<div class="optional-item">
<a href="ai-chat.html" class="default-btn border-radius-5">AI Chat
<i class="ri-user-5-line"></i></a>
</div>
</div>
</div>
</nav>
</div>
</div>
<div class="side-nav-responsive">
<div class="container-max">
<div class="dot-menu">
<div class="circle-inner">
<div class=""><i class="" id="lightMode-icon1"></i></div>
</div>
</div>
</div>
</div>
</div>
<div class="inner-banner">
<div class="container">
<div class="inner-title text-center">
<h3 id="qw1">Career Choices in Design & Graphics</h3>
<div class="section-title">
<div class="bar m-auto"></div>
<p class="m-auto" style="padding-top: 30px;" id="qw2">Here is a list of popular career choices in Design &
Graphics.</p>
</div>
</div>
</div>
</div>
<div class="find-jobs-area pb-15">
<div class="container">
<div class="row pt-45">
<!-- content loaded from javascript -->
</div>
</div>
</div>
<footer class="footer-area" id="footer"></footer>
<script>
$.get("footer.html", function(data){
$("#footer").replaceWith(data);
});
</script>
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/bootstrap.bundle.min.js"></script>
<script src="assets/js/jquery.magnific-popup.min.js"></script>
<script src="assets/js/odometer.min.js"></script>
<script src="assets/js/jquery.appear.min.js"></script>
<script src="assets/js/meanmenu.min.js"></script>
<script src="assets/js/metismenu.min.js"></script>
<script src="assets/js/simplebar.min.js"></script>
<script src="assets/js/dropzone.min.js"></script>
<script src="assets/js/sticky-sidebar.min.js"></script>
<script src="assets/js/tweenMax.min.js"></script>
<script src="assets/js/owl.carousel.min.js"></script>
<script src="assets/js/wow.min.js"></script>
<script src="assets/js/jquery.ajaxchimp.min.js"></script>
<script src="assets/js/form-validator.min.js"></script>
<script src="assets/js/contact-form-script.js"></script>
<script src="assets/js/custom.js"></script>
<script>
const careerData = [
{
imagePath: "assets/images/digitalgraphics/fashd.jpg",
name: "Fashion Designer",
qualification: "Bachelor of Design (B.Des)",
category: "Design & Graphics",
duration: "3 - 4 Years",
careerid: "fashiondesigner",
index: 1,
},
{
imagePath: "assets/images/digitalgraphics/uiux.jpeg",
name: "UI/UX Designer",
qualification: "Bachelor of Computer Application",
category: "Design & Graphics",
duration: "2 - 4 Years",
careerid: "uiux",
index: 2,
},
{
imagePath: "assets/images/digitalgraphics/graphicsdesign.jpg",
name: "Graphic Designer",
qualification: "Bachelor of Design (B.Des)",
category: "Design & Graphics",
duration: "2 - 4 Years",
careerid: "graphic",
index: 3,
},
{
imagePath: "assets/images/digitalgraphics/animationgraphics.jpg",
name: "Interior Designer",
qualification: "Bachelor of Design (B.Des)",
category: "Design & Graphics",
duration: "2 - 4 Years",
careerid: "interior",
index: 4,
},
{
imagePath: "assets/images/digitalgraphics/jd.jpg",
name: "Jewellery Designer",
qualification: "Bachelor of Design (B.Des) in Jewellery Retail and Export Management",
category: "Design & Graphics",
duration: "2 - 4 Years",
careerid: "jewellery",
index: 5,
},
];
function loadCareerDetails() {
const careersContainer = document.querySelector('.row.pt-45');
careerData.forEach(career => {
const careerCard = document.createElement('div');
careerCard.classList.add('col-lg-12');
careerCard.innerHTML = `
<div class="find-jobs-card d-flex align-items-center">
<!-- Add other HTML elements and use career properties -->
<div class="find-jobs-img">
<a href="careerdetails.html?careerid=${career.careerid}">
<img src="${career.imagePath}" alt="Images" height="150px" width="150px" style="border-radius: 5px;">
</a>
</div>
<div class="content">
<ul class="content-list">
</ul>
<h3><a id="qw3_${career.index}" href="careerdetails.html?careerid=${career.careerid}">${career.name}</a></h3>
<ul class="content-list2">
<li id="qw4_${career.index}" class="list-two"><i class="ri-survey-line"></i> Qualification : ${career.qualification}</li>
</ul>
<ul class="content-list3">
<li id="qw5_${career.index}"><i class="ri-briefcase-line"></i> Category : <b>${career.category}</b></li>
<li id="qw6_${career.index}"><i class="ri-time-line"></i> Duration : <b>${career.duration}</b></li>
</ul>
</div>
<div class="find-jobs-btn">
<a id="qw7_${career.index}" href="careerdetails.html?careerid=${career.careerid}" class="default-btn border-radius-5">Explore Now<i class="ri-send-plane-2-line"></i></a>
</div>
</div>
`;
careersContainer.appendChild(careerCard);
});
}
loadCareerDetails();
function changeLanguage1() {
location.reload()
}
function changeLanguage(lang) {
// Your Google Cloud Translation API key
const apiKey = 'REPLACE WITH YOUR OWN CLOUD TRANSLATION API KEY';
// Elements to translate;
const head8 = document.getElementById('qw1');
const head9 = document.getElementById('qw2');
const head6_1 = document.getElementById('qw3_1');
const head6_2 = document.getElementById('qw3_2');
const head6_3 = document.getElementById('qw3_3');
const head6_4 = document.getElementById('qw3_4');
const head6_5 = document.getElementById('qw3_5');
const head6a_1 = document.getElementById('qw4_1');
const head6a_2 = document.getElementById('qw4_2');
const head6a_3 = document.getElementById('qw4_3');
const head6a_4 = document.getElementById('qw4_4');
const head6a_5 = document.getElementById('qw4_5');
const head23_1 = document.getElementById('qw5_1');
const head23_2 = document.getElementById('qw5_2');
const head23_3 = document.getElementById('qw5_3');
const head23_4 = document.getElementById('qw5_4');
const head23_5 = document.getElementById('qw5_5');
const head24_1 = document.getElementById('qw6_1');
const head24_2 = document.getElementById('qw6_2');
const head24_3 = document.getElementById('qw6_3');
const head24_4 = document.getElementById('qw6_4');
const head24_5 = document.getElementById('qw6_5');
const head25_1 = document.getElementById('qw7_1');
const head25_2 = document.getElementById('qw7_2');
const head25_3 = document.getElementById('qw7_3');
const head25_4 = document.getElementById('qw7_4');
const head25_5 = document.getElementById('qw7_5');
const head8t = head8.textContent;
const head9t = head9.textContent;
const head6_1t = head6_1.textContent;
const head6_2t = head6_2.textContent;
const head6_3t = head6_3.textContent;
const head6_4t = head6_4.textContent;
const head6_5t = head6_5.textContent;
const head6a_1t = head6a_1.textContent;
const head6a_2t = head6a_2.textContent;
const head6a_3t = head6a_3.textContent;
const head6a_4t = head6a_4.textContent;
const head6a_5t = head6a_5.textContent;
const head23_1t = head23_1.textContent;
const head23_2t = head23_2.textContent;
const head23_3t = head23_3.textContent;
const head23_4t = head23_4.textContent;
const head23_5t = head23_5.textContent;
const head24_1t = head24_1.textContent;
const head24_2t = head24_2.textContent;
const head24_3t = head24_3.textContent;
const head24_4t = head24_4.textContent;
const head24_5t = head24_5.textContent;
const head25_1t = head25_1.textContent;
const head25_2t = head25_2.textContent;
const head25_3t = head25_3.textContent;
const head25_4t = head25_4.textContent;
const head25_5t = head25_5.textContent;
// Make API request
fetch(`https://translation.googleapis.com/language/translate/v2?key=${apiKey}`, {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
q: [head8t, head9t, head6_1t, head6_2t, head6_3t, head6_4t, head6_5t, head6a_1t, head6a_2t, head6a_3t, head6a_4t, head6a_5t, head23_1t, head23_2t, head23_3t, head23_4t, head23_5t, head24_1t, head24_2t, head24_3t, head24_4t, head24_5t, head25_1t, head25_2t, head25_3t, head25_4t, head25_5t],
target: lang,
}),
})
.then(response => response.json())
.then(data => {
console.log(data);
// Update content with translated text
head8.textContent = data.data.translations[0].translatedText;
head9.textContent = data.data.translations[1].translatedText;
head6_1.textContent = data.data.translations[2].translatedText;
head6_2.textContent = data.data.translations[3].translatedText;
head6_3.textContent = data.data.translations[4].translatedText;
head6_4.textContent = data.data.translations[5].translatedText;
head6_5.textContent = data.data.translations[6].translatedText;
head6a_1.textContent = data.data.translations[7].translatedText;
head6a_2.textContent = data.data.translations[8].translatedText;
head6a_3.textContent = data.data.translations[9].translatedText;
head6a_4.textContent = data.data.translations[10].translatedText;
head6a_5.textContent = data.data.translations[11].translatedText;
head23_1.textContent = data.data.translations[12].translatedText;
head23_2.textContent = data.data.translations[13].translatedText;
head23_3.textContent = data.data.translations[14].translatedText;
head23_4.textContent = data.data.translations[15].translatedText;
head23_5.textContent = data.data.translations[16].translatedText;
head24_1.textContent = data.data.translations[17].translatedText;
head24_2.textContent = data.data.translations[18].translatedText;
head24_3.textContent = data.data.translations[19].translatedText;
head24_4.textContent = data.data.translations[20].translatedText;
head24_5.textContent = data.data.translations[21].translatedText;
head25_1.textContent = data.data.translations[22].translatedText;
head25_2.textContent = data.data.translations[23].translatedText;
head25_3.textContent = data.data.translations[24].translatedText;
head25_4.textContent = data.data.translations[25].translatedText;
head25_5.textContent = data.data.translations[26].translatedText;
})
.catch(error => console.error('Error:', error));
}
</script>
</body>
</html>