-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdynamicpage.js
53 lines (52 loc) · 2.07 KB
/
dynamicpage.js
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
const data = [
{
name: 'Yochai Benkler',
title: 'Berkman Professor of Entrepreneurial Legal Studies at Harvard Law School',
description: 'Benkler studies commons-bades peer production, and published his semnial book The Wealth of Networks in 2006.',
image: './images/speaker1.png',
},
{
name: 'SohYeong Noh',
title: 'Director of Art Centre Nabi and a board member of CC',
description: 'Benkler studies commons-bades peer production, and published his semnial book The Wealth of Networks in 2006.',
image: './images/speaker2.png',
},
{
name: 'Lila Tretikov',
title: 'Executive Director of the Wikimedia Foundation',
description: 'Benkler studies commons-bades peer production, and published his semnial book The Wealth of Networks in 2006.',
image: './images/speaker3.png',
},
{
name: 'Kilnam Chon',
title: 'Web Page programmer of Google Inc., Apple Inc., Amazon Inc., Netflix Inc.',
description: 'Benkler studies commons-bades peer production, and published his semnial book The Wealth of Networks in 2006.',
image: './images/speaker4.png',
},
{
name: 'Julia Leda',
title: 'President of Young Pirates of Europe, National Security Expert',
description: 'Benkler studies commons-bades peer production, and published his semnial book The Wealth of Networks in 2006.',
image: './images/speaker5.png',
},
{
name: 'Ryan Merkley',
title: 'CEO of Creative Commons, ex COO of the Mozilla Foundation',
description: 'Benkler studies commons-bades peer production, and published his semnial book The Wealth of Networks in 2006.',
image: './images/speaker6.png',
},
];
const divPopup = document.getElementById('speakers-ul');
for (let i = 0; i < data.length; i += 1) {
divPopup.innerHTML += `
<div class="column2">
<i><img class="speaker" src="${data[i].image}" alt=""></i>
<div class="speaker-content">
<h2>${data[i].name}</h2>
<p class="about-title2">${data[i].title}</p>
<hr>
<p class="about-content">${data[i].description}</p>
</div>
</div>
`;
}