diff --git a/lib/quadquizaminos_web/live/contest_prizes.ex b/lib/quadquizaminos_web/live/contest_prizes.ex index aca79545..0be2359e 100644 --- a/lib/quadquizaminos_web/live/contest_prizes.ex +++ b/lib/quadquizaminos_web/live/contest_prizes.ex @@ -3,62 +3,68 @@ defmodule QuadquizaminosWeb.ContestPrizes do alias QuadquizaminosWeb.Router.Helpers, as: Routes def render(assigns) do + prices = [ + %{ + icon: "trophy", + heading: "High Score", + content: + "One lucky person will win a $25 MyRewards Gift Card. The prize goes to ELIGIBLE person with the highest Score DURING THE CONTEST (see rules).", + price: "25" + }, + %{ + icon: "th", + heading: "Most Bricks", + content: + " One lucky person will win a $25 MyRewards Gift Card. The prize goes to ELIGIBLE person with the the most bricks in a game DURING THE CONTEST (see rules). ", + price: "25" + }, + %{ + icon: "question", + heading: "Most Questions", + content: + " One lucky person will win a $25 MyRewards Gift Card. The prize goes to ELIGIBLE person who answers the most trivia questions in the game DURING THE CONTEST (see rules). ", + price: "25" + }, + %{ + icon: "gift", + heading: "???????", + content: """ + One lucky person will win a + $25 MyRewards Gift Card. + The prize goes to ELIGIBLE person + who meets a suprise criteria + DURING THE CONTEST (see rules). + In the past, the surpise criteria + was the first questions in the lecture Q&A. + Another time it was for finding a new bug + in the game. + Or it has been for the best question in the Q&A. + Or it might be used when there is a tie. + Or it could even be for the most creative handle. + Or it might be some other criteria. + """, + price: "25" + } + ] + ~L""" -
- This is the prize page for the - AT&T Software Symposium Security Workshop - QuadBlockQuiz contest. - See +
+ This is the prize page for the AT&T Software Symposium Security Workshop QuadBlockQuiz contest. See > Contest Rules for more information on contest rules.
-- One lucky person will win a - $25 MyRewards Gift Card. - The prize goes to ELIGIBLE person - with the highest Score - DURING THE CONTEST (see rules). -
- -- One lucky person will win a - $25 MyRewards Gift Card. - The prize goes to ELIGIBLE person - with the the most bricks in a game - DURING THE CONTEST (see rules). -
- -- One lucky person will win a - $25 MyRewards Gift Card. - The prize goes to ELIGIBLE person - who answers the most trivia questions in the game - DURING THE CONTEST (see rules). -
- -- One lucky person will win a - $25 MyRewards Gift Card. - The prize goes to ELIGIBLE person - who meets a suprise criteria - DURING THE CONTEST (see rules). - In the past, the surpise criteria - was the first questions in the lecture Q&A. - Another time it was for finding a new bug - in the game. - Or it has been for the best question in the Q&A. - Or it might be used when there is a tie. - Or it could even be for the most creative handle. - Or it might be some other criteria. -
- - +<%= price.content %>
+ $ <%=price.price %> +