Removed unnecessary objects
This commit is contained in:
parent
9bb26355c3
commit
f891c2bdf7
@ -863,8 +863,10 @@ section {
|
||||
}
|
||||
|
||||
.slide {
|
||||
width: 600px;
|
||||
height: 400px;
|
||||
min-width: 340px;
|
||||
max-width: 600px;
|
||||
min-height: 200px;
|
||||
max-height: 400px;
|
||||
cursor: pointer;
|
||||
float: left;
|
||||
display: flex;
|
||||
|
@ -684,7 +684,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="prize-box">
|
||||
<!-- <div id="prize-box">
|
||||
Prizes will be in the form of these (very snazzy) items (amounts above are the estimated total value):<br>
|
||||
<ul id="prize-list">
|
||||
<li><span class="emphasis-text">1st Place</span>: TBA</li>
|
||||
@ -696,8 +696,8 @@
|
||||
- Your team is responsible for equally distributing prizes to team members as per our Code of Conduct.<br>
|
||||
- Prizes are non-refundable; if you refuse to accept the prize, we will offer it to another team member.<br>
|
||||
- Gilroy Hacks will not be liable for the prize once it reaches its recipient.
|
||||
</div>
|
||||
<div id="chart"></div>
|
||||
</div> -->
|
||||
<!-- <div id="chart"></div> -->
|
||||
</section>
|
||||
<section id="team">
|
||||
<h2 class="topic">Hackathon Team</h2>
|
||||
|
159
js/general.js
159
js/general.js
@ -157,8 +157,7 @@ document.addEventListener('DOMContentLoaded', function(){
|
||||
'#second-podium',
|
||||
'#first-podium',
|
||||
'#third-podium',
|
||||
'#chart',
|
||||
'#prize-box',
|
||||
// '#chart',
|
||||
'#administration',
|
||||
'#logistics',
|
||||
'#outreach',
|
||||
@ -537,82 +536,82 @@ function slide(wrapper, items, prev, next) {
|
||||
}
|
||||
}
|
||||
|
||||
var options = {
|
||||
series: [{
|
||||
name: 'Idea',
|
||||
data: [7, 9, 6, 10, 14],
|
||||
}, {
|
||||
name: 'Implementation',
|
||||
data: [11, 6, 11, 3, 9]
|
||||
}, {
|
||||
name: 'Presentation',
|
||||
data: [12, 7, 12, 11, 8]
|
||||
}, {
|
||||
name: 'Overall',
|
||||
data: [10, 6, 9, 7, 11],
|
||||
}],
|
||||
chart: {
|
||||
type: 'bar',
|
||||
height: 350,
|
||||
stacked: true,
|
||||
background: '#0d1117'
|
||||
},
|
||||
plotOptions: {
|
||||
bar: {
|
||||
horizontal: true,
|
||||
},
|
||||
},
|
||||
stroke: {
|
||||
width: 1,
|
||||
colors: ['#fff']
|
||||
},
|
||||
title: {
|
||||
text: 'Team Scores - Summer 2022',
|
||||
style: {
|
||||
color: '#fff'
|
||||
}
|
||||
},
|
||||
xaxis: {
|
||||
categories: ['Team 2', 'Team 3', 'Team 4', 'Team 6', 'Team 7'],
|
||||
labels: {
|
||||
formatter: function (val) {
|
||||
return val + ""
|
||||
},
|
||||
style: {
|
||||
colors: '#fff'
|
||||
}
|
||||
},
|
||||
},
|
||||
yaxis: {
|
||||
labels: {
|
||||
style: {
|
||||
colors: '#fff'
|
||||
}
|
||||
},
|
||||
title: {
|
||||
text: undefined
|
||||
},
|
||||
},
|
||||
tooltip: {
|
||||
y: {
|
||||
formatter: function (val) {
|
||||
return val + ""
|
||||
}
|
||||
},
|
||||
theme: 'dark'
|
||||
},
|
||||
fill: {
|
||||
opacity: 1
|
||||
},
|
||||
legend: {
|
||||
position: 'top',
|
||||
horizontalAlign: 'left',
|
||||
offsetX: 40,
|
||||
labels: {
|
||||
colors: '#fff',
|
||||
},
|
||||
},
|
||||
};
|
||||
// var options = {
|
||||
// series: [{
|
||||
// name: 'Idea',
|
||||
// data: [7, 9, 6, 10, 14],
|
||||
// }, {
|
||||
// name: 'Implementation',
|
||||
// data: [11, 6, 11, 3, 9]
|
||||
// }, {
|
||||
// name: 'Presentation',
|
||||
// data: [12, 7, 12, 11, 8]
|
||||
// }, {
|
||||
// name: 'Overall',
|
||||
// data: [10, 6, 9, 7, 11],
|
||||
// }],
|
||||
// chart: {
|
||||
// type: 'bar',
|
||||
// height: 350,
|
||||
// stacked: true,
|
||||
// background: '#0d1117'
|
||||
// },
|
||||
// plotOptions: {
|
||||
// bar: {
|
||||
// horizontal: true,
|
||||
// },
|
||||
// },
|
||||
// stroke: {
|
||||
// width: 1,
|
||||
// colors: ['#fff']
|
||||
// },
|
||||
// title: {
|
||||
// text: 'Team Scores - Summer 2022',
|
||||
// style: {
|
||||
// color: '#fff'
|
||||
// }
|
||||
// },
|
||||
// xaxis: {
|
||||
// categories: ['Team 2', 'Team 3', 'Team 4', 'Team 6', 'Team 7'],
|
||||
// labels: {
|
||||
// formatter: function (val) {
|
||||
// return val + ""
|
||||
// },
|
||||
// style: {
|
||||
// colors: '#fff'
|
||||
// }
|
||||
// },
|
||||
// },
|
||||
// yaxis: {
|
||||
// labels: {
|
||||
// style: {
|
||||
// colors: '#fff'
|
||||
// }
|
||||
// },
|
||||
// title: {
|
||||
// text: undefined
|
||||
// },
|
||||
// },
|
||||
// tooltip: {
|
||||
// y: {
|
||||
// formatter: function (val) {
|
||||
// return val + ""
|
||||
// }
|
||||
// },
|
||||
// theme: 'dark'
|
||||
// },
|
||||
// fill: {
|
||||
// opacity: 1
|
||||
// },
|
||||
// legend: {
|
||||
// position: 'top',
|
||||
// horizontalAlign: 'left',
|
||||
// offsetX: 40,
|
||||
// labels: {
|
||||
// colors: '#fff',
|
||||
// },
|
||||
// },
|
||||
// };
|
||||
|
||||
var chart = new ApexCharts(document.querySelector("#chart"), options);
|
||||
chart.render();
|
||||
// var chart = new ApexCharts(document.querySelector("#chart"), options);
|
||||
// chart.render();
|
Loading…
Reference in New Issue
Block a user