Skip to content

Commit

Permalink
Merge pull request #105 from hacksoc-manchester/achivements-fix
Browse files Browse the repository at this point in the history
Fix achievement prize size on volunteers page
  • Loading branch information
kzalys authored Mar 31, 2019
2 parents fdd1d18 + 9a24f96 commit 95647ca
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
Binary file added src/public/img/achievements/wa.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/public/js/timer.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var countDownDate = new Date("Nov 11, 2018 12:00:00").getTime();
var countDownDate = new Date("Mar 31, 2019 12:30:00").getTime();

var timerInterval = setInterval(updateTime, 1000);
updateTime();
Expand Down
7 changes: 7 additions & 0 deletions src/util/achievements/localAchievements.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,13 @@ export const localAchievements: AchievementOptions[] = [
maxProgress: 1,
isManual: true
},
{
title: "The greatest waaaaaa",
description: "The winner of the ultimate smash tourney",
prizeURL: "/img/achievements/wa.png",
maxProgress: 1,
isManual: true
},
{
title: "Scooby doo",
description: "Took part in midnight mafia and won",
Expand Down
1 change: 1 addition & 0 deletions src/views/pages/achievements/volunteerControls.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
<head>
<% include ../../partials/head.ejs %>
<title>GUH18 Hub - Achievements</title>
<link rel="stylesheet" href="/css/hardware.css">
<script src="/js/achievementsVolunteerControls.js"></script>
</head>

Expand Down

0 comments on commit 95647ca

Please sign in to comment.