From f891c2bdf76f1c4292c75730f4323634cbd0cc89 Mon Sep 17 00:00:00 2001 From: James Dinh Date: Fri, 30 Dec 2022 15:31:59 -0800 Subject: [PATCH] Removed unnecessary objects --- css/general.css | 6 +- index.html | 6 +- js/general.js | 159 ++++++++++++++++++++++++------------------------ 3 files changed, 86 insertions(+), 85 deletions(-) diff --git a/css/general.css b/css/general.css index be41bff..ced1f28 100644 --- a/css/general.css +++ b/css/general.css @@ -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; diff --git a/index.html b/index.html index 6045dfe..52ceb2a 100644 --- a/index.html +++ b/index.html @@ -684,7 +684,7 @@ -
+ +

Hackathon Team

diff --git a/js/general.js b/js/general.js index db7ac72..ae8a470 100644 --- a/js/general.js +++ b/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(); \ No newline at end of file +// var chart = new ApexCharts(document.querySelector("#chart"), options); +// chart.render(); \ No newline at end of file