Added multiplayer launch view.

This commit is contained in:
Scott Erickson 2014-03-16 17:33:57 -07:00
parent 3fa0124d7e
commit e430a6c2de
3 changed files with 24 additions and 1 deletions

View file

@ -0,0 +1,13 @@
extends /templates/modal/modal_base
block modal-header-content
h4 March 17th, 2014: Dungeon Arena
strong The new way to compete with code
block modal-body-content
ul
li Code a hero to support your troops and destroy the enemy base.
| Think DotA but with JavaScript.
li Rank your code against everyone else's, and climb the ladder as far as you can
li Rework and finetune your code to handle every strategy opponents will throw your way.
li Roll your own levels and heroes and see how they fare

View file

@ -1 +0,0 @@
require './home_view'

View file

@ -0,0 +1,11 @@
HomeView = require './home_view'
ModalView = require 'views/kinds/ModalView'
modalTemplate = require 'templates/multiplayer_launch_modal'
module.exports = class MultiplayerLaunchView extends HomeView
afterInsert: ->
super()
@openModalView(new MultiplayerLaunchModal())
class MultiplayerLaunchModal extends ModalView
template: modalTemplate