diff --git a/app/templates/multiplayer_launch_modal.jade b/app/templates/multiplayer_launch_modal.jade new file mode 100644 index 000000000..36a305e03 --- /dev/null +++ b/app/templates/multiplayer_launch_modal.jade @@ -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 \ No newline at end of file diff --git a/app/views/multiplayer.coffee b/app/views/multiplayer.coffee deleted file mode 100644 index 631f1cae4..000000000 --- a/app/views/multiplayer.coffee +++ /dev/null @@ -1 +0,0 @@ -require './home_view' \ No newline at end of file diff --git a/app/views/multiplayer_view.coffee b/app/views/multiplayer_view.coffee new file mode 100644 index 000000000..6a8e82865 --- /dev/null +++ b/app/views/multiplayer_view.coffee @@ -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 \ No newline at end of file