Permalink
Browse files

Merge pull request #1790 from mikekasprzak/tweaks

2019 dates
  • Loading branch information...
mikekasprzak committed Jan 24, 2019
2 parents 2608ea5 + a5a7024 commit b1e687c87d26b6559d7dd889775dc6b881a3119d
Showing with 13 additions and 11 deletions.
  1. +3 −2 src/com/sidebar/upcoming/upcoming.js
  2. +10 −9 src/com/view/sidebar/sidebar.js
@@ -17,11 +17,12 @@ export default class SidebarUpcoming extends Component {
// <div class="-item"><strong>August 23rd</strong> - Results <SVGIcon baseline small>checker</SVGIcon></div>,
// <div class="-item"><strong>April 20th</strong> - Ludum Dare 41 <SVGIcon baseline small>trophy</SVGIcon></div>,
// <div class="-item"><strong>December 28th</strong> - Results <SVGIcon baseline small>checker</SVGIcon></div>,
<div class="-item"><strong>November 30</strong> - Ludum Dare 43 <SVGIcon baseline small>trophy</SVGIcon></div>,
<div class="-item"><strong>April 2019</strong> - Ludum Dare 44 <SVGIcon baseline small>trophy</SVGIcon></div>,
// <div class="-item"><strong>November 30</strong> - Ludum Dare 43 <SVGIcon baseline small>trophy</SVGIcon></div>,
<div class="-item"><strong>April 26th-29th</strong> - Ludum Dare 44 <SVGIcon baseline small>trophy</SVGIcon></div>,
<div class="-item"><strong>October 2019</strong> - Ludum Dare 45 <SVGIcon baseline small>trophy</SVGIcon></div>,
<div class="-item"><strong>April 2020</strong> - Ludum Dare 46 <SVGIcon baseline small>trophy</SVGIcon></div>,
<div class="-item"><strong>October 2020</strong> - Ludum Dare 47 <SVGIcon baseline small>trophy</SVGIcon></div>,
<div class="-item"><strong>April 2021</strong> - Ludum Dare 48 <SVGIcon baseline small>trophy</SVGIcon></div>,
];

return (
@@ -15,18 +15,18 @@ export default class ViewSidebar extends Component {

render( props ) {
// TODO: cleanup
let ldName = "Ludum Dare 43";
let ldStartDate = new Date(Date.UTC(2018, 11, 1, 2, 0, 0));
let ldName = "Ludum Dare 44";
let ldStartDate = new Date(Date.UTC(2019, 3, 27, 1, 0, 0));

let compoEndDate = new Date(Date.UTC(2018, 11, 3, 2, 0, 0));
let compoEndDate2 = new Date(Date.UTC(2018, 11, 3, 3, 0, 0));
let compoEndDate = new Date(Date.UTC(2019, 3, 29, 1, 0, 0));
let compoEndDate2 = new Date(Date.UTC(2019, 3, 29, 2, 0, 0));

let jamEndDate = new Date(Date.UTC(2018, 11, 4, 2, 0, 0));
let jamEndDate2 = new Date(Date.UTC(2018, 11, 4, 3, 0, 0));
let jamEndDate = new Date(Date.UTC(2019, 3, 4, 27, 0, 0));
let jamEndDate2 = new Date(Date.UTC(2019, 3, 4, 30, 0, 0));
//let jamEndDate2 = new Date(Date.UTC(2018, 7, 14, 22, 0, 0));

let gradeEndDate = new Date(Date.UTC(2018, 11, 31, 20, 0, 0));
let resultsDate = new Date(Date.UTC(2018, 11, 31, 24, 0, 0));
let gradeEndDate = new Date(Date.UTC(2019, 4, 21, 20, 0, 0));
let resultsDate = new Date(Date.UTC(2019, 4, 21, 24, 0, 0));

let now = new Date();

@@ -63,12 +63,13 @@ export default class ViewSidebar extends Component {
return (
<div id="sidebar">
{ShowCountdown}
<SidebarCalendar rows={ShowCountdown.length ? 2 : 3} />
<SidebarUpcoming />
<SidebarTV />
<SidebarSponsor />
<SidebarSupport />
</div>
);

/*<SidebarCalendar rows={ShowCountdown.length ? 2 : 3} />*/
}
}

0 comments on commit b1e687c

Please sign in to comment.