Skip to content

Commit

Permalink
added links for teams websites
Browse files Browse the repository at this point in the history
  • Loading branch information
kosor8 committed Oct 17, 2024
1 parent d7078d6 commit f3eafa6
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
12 changes: 8 additions & 4 deletions data/teams.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
"imageURL":"AITOLIA.png",
"awards":[""],
"tags":[],
"date": "2021-2023"
"date": "2021-2023",
"link": "https://sites.google.com/view/yzt-aitolia"
},
{
"name":"YZT | BIOTOLIA",
Expand All @@ -49,7 +50,8 @@
"imageURL":"ARTIN.png",
"awards":[""],
"tags":[],
"date": "2021-2023"
"date": "2021-2023",
"link": "https://sites.google.com/view/yzt-artin"
},
{
"name":"YZT | HERDAI",
Expand All @@ -61,7 +63,8 @@
"imageURL":"HERDAI.png",
"awards":[""],
"tags":[],
"date": "2021-2023"
"date": "2021-2023",
"link": "https://sites.google.com/view/yzt-herdai"
},
{
"name":"YZT | MEVZUU",
Expand All @@ -73,7 +76,8 @@
"imageURL":"MEVZUU.png",
"awards":[""],
"tags":[],
"date": "2021-2023"
"date": "2021-2023",
"link": "https://sites.google.com/view/yzt-mevzuu"
},
{
"name":"YZT | ROBAI",
Expand Down
7 changes: 4 additions & 3 deletions js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,15 @@ fetch("./data/teams.json")
teamsDiv.insertAdjacentHTML(
"beforeend",
`<div class="col-md-3 scroll-animation" data-animation="fade_from_left">
<div class="skill">
<a href=${t.link}>
<div class="skill">
<div class="skill-inner">
<a href = "${t.link}">eren</a>
<img id="team-photo" src="assets/images/${t.imageURL}">
<h1 class="percent">${t.name}</h1>
</div>
<p class="name">${t.competitions[0]}</p>
</div>
</div>
</a>
</div>`
);
let teamMembersHTML = "";
Expand Down

0 comments on commit f3eafa6

Please sign in to comment.