Permalink
Browse files

added index page

  • Loading branch information...
playerx committed Mar 1, 2014
1 parent abe0dd5 commit fb40e5a526c2d18984a990075fe9707e00e28b37

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -10,7 +10,7 @@ public class HomeController : Controller
{
public ActionResult Index()
{
- return RedirectToAction("Play");
+ return View();
}
public ActionResult Play(string deviceid)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -135,13 +135,17 @@
<Content Include="Audio\miss.wav" />
<Content Include="Audio\splash.wav" />
<Content Include="Content\bootstrap.css" />
+ <Content Include="Content\Index.css" />
<Content Include="favicon.ico" />
<Content Include="fonts\glyphicons-halflings-regular.svg" />
<Content Include="Global.asax" />
<Content Include="Content\Site.css" />
<Content Include="Images\background.jpg" />
+ <Content Include="Images\badge_appstore-lrg.png" />
<Content Include="Images\gamejam.png" />
<Content Include="Images\gift-package.png" />
+ <Content Include="Images\icon.png" />
+ <Content Include="Images\preview.png" />
<Content Include="Images\tomato.png" />
<Content Include="Images\tomato_splashed.png" />
<Content Include="Images\tribuna.png" />
@@ -178,6 +182,7 @@
<Content Include="Views\Home\Index.cshtml" />
<Content Include="Scripts\jquery-1.10.2.min.map" />
<Content Include="Views\Home\Play.cshtml" />
+ <Content Include="Views\Home\_GithubLogo.cshtml" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Resources\Play.ru-RU.resx">
@@ -1 +1,108 @@
-
+<link href='//fonts.googleapis.com/css?family=Alegreya+Sans&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
+<link href="//fonts.googleapis.com/css?family=PT+Sans:400,700&amp;subset=latin" rel="stylesheet">
+<link href="//fonts.googleapis.com/css?family=PT+Mono" rel="stylesheet">
+<script src="~/Scripts/jquery-1.10.2.js"></script>
+
+<link href='http://fonts.googleapis.com/css?family=Josefin+Sans' rel='stylesheet' type='text/css'>
+
+<style>
+ .root {
+ width: 600px;
+ margin-left: auto;
+ margin-right: auto;
+ margin-top: 80px;
+ font-family: 'Josefin Sans', sans-serif, Arial;
+ font-size: 20px;
+ position: relative;
+ }
+
+ .root .logo {
+ max-width: 100px;
+ border-radius: 5px;
+ vertical-align: middle;
+ margin-top: -10px;
+ }
+
+ .root .preview {
+ width: 100%;
+ border-radius: 4px;
+ margin-top: 30px;
+ margin-bottom: 30px;
+ }
+
+ .root .info {
+ margin: 40px 10px;
+ text-align: justify;
+ }
+
+ .root .info span.title {
+ font-weight: bold;
+ }
+
+ .root .header {
+ font-size: 34px;
+ color: #55b919;
+ font-weight: bold;
+ }
+
+ .root li span {
+ color: #55b919;
+ }
+
+ .copyright {
+ margin: 20px;
+ color: gray;
+ text-align: center;
+ font-size: 18px;
+ margin-bottom: 200px;
+ }
+
+ .root .socials {
+ position: absolute;
+ top: 25px;
+ right: 0px;
+ }
+ .root .downloads {
+ text-align:center;
+ opacity: .4;
+ }
+</style>
+<div id="fb-root"></div>
+<script>
+ (function (d, s, id) {
+ var js, fjs = d.getElementsByTagName(s)[0];
+ if (d.getElementById(id)) return;
+ js = d.createElement(s); js.id = id;
+ js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=528732163816152";
+ fjs.parentNode.insertBefore(js, fjs);
+ }(document, 'script', 'facebook-jssdk'));</script>
+@{Html.RenderPartial("_GithubLogo");}
+<div class="root">
+ <div class="header">
+ <img src="~/Images/icon.png" class="logo" />
+ <span>The Game - Pitching</span>
+ </div>
+ <div class="socials">
+ <div class="fb-like" data-href="http://pitching.jok.io/" data-layout="button_count" data-action="like" data-show-faces="false" data-share="false"></div>
+ </div>
+ <div class="info">
+ <span class="title">Idea:</span><br />
+ There is a speaker on game jam and jury throws tomatoes.
+ Speaker's goal is to miss them all and get more Ninja points.
+ Idea was born at first "Game Jam" event, in Tbilisi, Georgia.
+ </div>
+ <div class="info">
+ <span class="title">Game Modes:</span><br />
+ <ul>
+ <li><span>Play as Speaker</span> - Jury throws tomatoes, you will need to miss them all</li>
+ <li><span>Play as Jury</span> - You must throw tomatoes to speaker</li>
+ </ul>
+ </div>
+ <div class="downloads">
+ <img src="~/Images/badge_appstore-lrg.png" />
+ </div>
+ <img src="~/Images/preview.png" class="preview" />
+ <div class="copyright">
+ All rights reserved © Jok Entertainers
+ </div>
+</div>
@@ -0,0 +1,12 @@
+<div class="open-source">
+ <a class="crop" href="https://github.com/jokio/jok-pitching" target="_blank">
+ <div class="background"></div><pre class="source"><code>html
+ meta charset="UTF-8"
+ title= title
+ script</code></pre><div class="source-crop"></div><div class="octocat"></div><div class="rotator"><div class="corner"><div class="title"><div class="shadow" style="opacity: 0;"></div></div><div class="border"></div><div class="text">open source</div></div></div>
+ </a><div class="translate"></div>
+</div>
+<link href="~/Content/Index.css" rel="stylesheet" />
+<script>
+ jQuery.easing.jswing = jQuery.easing.swing, jQuery.extend(jQuery.easing, { def: "easeOutQuad", swing: function (n, e, t, a, r) { return jQuery.easing[jQuery.easing.def](n, e, t, a, r) }, easeInQuad: function (n, e, t, a, r) { return a * (e /= r) * e + t }, easeOutQuad: function (n, e, t, a, r) { return -a * (e /= r) * (e - 2) + t }, easeInOutQuad: function (n, e, t, a, r) { return (e /= r / 2) < 1 ? a / 2 * e * e + t : -a / 2 * (--e * (e - 2) - 1) + t }, easeInCubic: function (n, e, t, a, r) { return a * (e /= r) * e * e + t }, easeOutCubic: function (n, e, t, a, r) { return a * ((e = e / r - 1) * e * e + 1) + t }, easeInOutCubic: function (n, e, t, a, r) { return (e /= r / 2) < 1 ? a / 2 * e * e * e + t : a / 2 * ((e -= 2) * e * e + 2) + t }, easeInQuart: function (n, e, t, a, r) { return a * (e /= r) * e * e * e + t }, easeOutQuart: function (n, e, t, a, r) { return -a * ((e = e / r - 1) * e * e * e - 1) + t }, easeInOutQuart: function (n, e, t, a, r) { return (e /= r / 2) < 1 ? a / 2 * e * e * e * e + t : -a / 2 * ((e -= 2) * e * e * e - 2) + t }, easeInQuint: function (n, e, t, a, r) { return a * (e /= r) * e * e * e * e + t }, easeOutQuint: function (n, e, t, a, r) { return a * ((e = e / r - 1) * e * e * e * e + 1) + t }, easeInOutQuint: function (n, e, t, a, r) { return (e /= r / 2) < 1 ? a / 2 * e * e * e * e * e + t : a / 2 * ((e -= 2) * e * e * e * e + 2) + t }, easeInSine: function (n, e, t, a, r) { return -a * Math.cos(e / r * (Math.PI / 2)) + a + t }, easeOutSine: function (n, e, t, a, r) { return a * Math.sin(e / r * (Math.PI / 2)) + t }, easeInOutSine: function (n, e, t, a, r) { return -a / 2 * (Math.cos(Math.PI * e / r) - 1) + t }, easeInExpo: function (n, e, t, a, r) { return 0 == e ? t : a * Math.pow(2, 10 * (e / r - 1)) + t }, easeOutExpo: function (n, e, t, a, r) { return e == r ? t + a : a * (-Math.pow(2, -10 * e / r) + 1) + t }, easeInOutExpo: function (n, e, t, a, r) { return 0 == e ? t : e == r ? t + a : (e /= r / 2) < 1 ? a / 2 * Math.pow(2, 10 * (e - 1)) + t : a / 2 * (-Math.pow(2, -10 * --e) + 2) + t }, easeInCirc: function (n, e, t, a, r) { return -a * (Math.sqrt(1 - (e /= r) * e) - 1) + t }, easeOutCirc: function (n, e, t, a, r) { return a * Math.sqrt(1 - (e = e / r - 1) * e) + t }, easeInOutCirc: function (n, e, t, a, r) { return (e /= r / 2) < 1 ? -a / 2 * (Math.sqrt(1 - e * e) - 1) + t : a / 2 * (Math.sqrt(1 - (e -= 2) * e) + 1) + t }, easeInElastic: function (n, e, t, a, r) { var i = 1.70158, o = 0, s = a; if (0 == e) return t; if (1 == (e /= r)) return t + a; if (o || (o = .3 * r), s < Math.abs(a)) { s = a; var i = o / 4 } else var i = o / (2 * Math.PI) * Math.asin(a / s); return -(s * Math.pow(2, 10 * (e -= 1)) * Math.sin(2 * (e * r - i) * Math.PI / o)) + t }, easeOutElastic: function (n, e, t, a, r) { var i = 1.70158, o = 0, s = a; if (0 == e) return t; if (1 == (e /= r)) return t + a; if (o || (o = .3 * r), s < Math.abs(a)) { s = a; var i = o / 4 } else var i = o / (2 * Math.PI) * Math.asin(a / s); return s * Math.pow(2, -10 * e) * Math.sin(2 * (e * r - i) * Math.PI / o) + a + t }, easeInOutElastic: function (n, e, t, a, r) { var i = 1.70158, o = 0, s = a; if (0 == e) return t; if (2 == (e /= r / 2)) return t + a; if (o || (o = .3 * r * 1.5), s < Math.abs(a)) { s = a; var i = o / 4 } else var i = o / (2 * Math.PI) * Math.asin(a / s); return 1 > e ? -.5 * s * Math.pow(2, 10 * (e -= 1)) * Math.sin(2 * (e * r - i) * Math.PI / o) + t : s * Math.pow(2, -10 * (e -= 1)) * Math.sin(2 * (e * r - i) * Math.PI / o) * .5 + a + t }, easeInBack: function (n, e, t, a, r, i) { return void 0 == i && (i = 1.70158), a * (e /= r) * e * ((i + 1) * e - i) + t }, easeOutBack: function (n, e, t, a, r, i) { return void 0 == i && (i = 1.70158), a * ((e = e / r - 1) * e * ((i + 1) * e + i) + 1) + t }, easeInOutBack: function (n, e, t, a, r, i) { return void 0 == i && (i = 1.70158), (e /= r / 2) < 1 ? a / 2 * e * e * (((i *= 1.525) + 1) * e - i) + t : a / 2 * ((e -= 2) * e * (((i *= 1.525) + 1) * e + i) + 2) + t }, easeInBounce: function (n, e, t, a, r) { return a - jQuery.easing.easeOutBounce(n, r - e, 0, a, r) + t }, easeOutBounce: function (n, e, t, a, r) { return (e /= r) < 1 / 2.75 ? 7.5625 * a * e * e + t : 2 / 2.75 > e ? a * (7.5625 * (e -= 1.5 / 2.75) * e + .75) + t : 2.5 / 2.75 > e ? a * (7.5625 * (e -= 2.25 / 2.75) * e + .9375) + t : a * (7.5625 * (e -= 2.625 / 2.75) * e + .984375) + t }, easeInOutBounce: function (n, e, t, a, r) { return r / 2 > e ? .5 * jQuery.easing.easeInBounce(n, 2 * e, 0, a, r) + t : .5 * jQuery.easing.easeOutBounce(n, 2 * e - r, 0, a, r) + .5 * a + t } }), window.after = function (n, e) { return setTimeout(e, n) }, window.evil || (window.evil = {}), evil.win = $(window), evil.doc = $(document), evil.body = null, evil.doc.ready(function () { evil.body = $("body") }), function () { var n = !1; evil.transform3d = { check: function () { if ("undefined" != typeof n) return n; var n = "undefined" != typeof evil.body.css("perspective"), e = document.body; return n && "undefined" != typeof e.webkitPerspective && (n = matchMedia("(transform-3d), (-webkit-transform-3d)"), n = n.matches), n }, init: function () { n || (n = !0, evil.doc.ready(function () { var n = evil.transform3d.check() ? "3d" : "2d"; evil.body.addClass("transform-" + n) })) } } }(), evil.transform3d.init(), function () { evil.doc.ready(function (n) { var e, t, a, r, i, o, s, u, c, f, l, d, h, p, v, m, g, w, M, y, C, I; return c = n(".easings li"), s = n(".easing-description"), e = null, f = function (n) { var e; return e = evil.win.scrollTop(), document.location.hash = n, evil.win.scrollTop(e) }, m = function (e, t) { return n("html, body").animate({ scrollTop: e }, 600, t) }, n("a[href^=#]").click(function () { return f(n(this).attr("href")), !1 }), d = c.find(".link"), d.on("mousedown touchstart", function () { return n(this).closest(".easing").addClass("is-pressed") }), d.on("touchend touchmove", function () { return c.removeClass("is-pressed") }), evil.body.mouseup(function () { return c.removeClass("is-pressed") }), evil.doc.scroll(function () { return c.removeClass("is-pressed") }), c.on("touchstart", function () { return n(this).addClass("is-tapped") }), c.mouseenter(function () { var e, t; return e = n(this), e.hasClass("is-tapped") ? void 0 : (c.removeClass("is-tapped"), t = e.find(".easing-title").text(), e.find(".example").stop().css({ marginTop: 0 }).delay(400).animate({ marginTop: -60 }, 1e3, t), e.find(".dot").stop().css({ marginTop: 0, marginLeft: 0 }).delay(400).animate({ marginTop: -60, marginLeft: 119 }, { duration: 1e3, specialEasing: { marginTop: t, marginLeft: "linear" } })) }), g = n(".easings"), I = g.find(".part-title"), I.mouseenter(function () { return g.addClass("hightlight-part") }), I.mouseleave(function () { return g.removeClass("hightlight-part") }), a = function (n) { return n.hasClass("exampled") ? void 0 : (n.find(".example").stop().css({ marginTop: 0 }), n.find(".dot").stop().css({ marginTop: 0, marginLeft: 0 })) }, w = function (n) { var e; if (!n.hasClass("exampled")) return e = n.find("h2").text(), n.addClass("exampled"), after(400, function () { return n.find(".example").animate({ marginTop: -78 }, 1e3, e), n.find(".dot").animate({ marginTop: -78, marginLeft: 154 }, { duration: 1e3, specialEasing: { marginTop: e, marginLeft: "linear" }, complete: function () { return after(400, function () { return n.removeClass("exampled") }) } }) }) }, s.on("open", function () { return w(n(this)) }), s.on("close", function () { return a(n(this)) }), s.find(".graph").click(function () { var e; return e = n(this).closest(".easing-description"), a(e), w(e) }), u = n(".easing-description"), y = n(".slide-slider"), l = null, p = !1, M = function () { var n, t; if ("#" === location.hash || "" === location.hash) { if (!p) return; return evil.body.removeClass("easing-page"), after(600, function () { return null != l && l.trigger("close"), e ? m(e) : void 0 }) } return n = location.hash.slice(1), u.hide(), l = u.filter("." + n).show(), evil.body.addClass("easing-page"), p ? (e = evil.win.scrollTop(), t = l.offset().top + 10, after(600, function () { return e > t ? m(t, function () { return l.trigger("open") }) : l.trigger("open") })) : after(800, function () { return l.trigger("open") }) }, M(), evil.win.on("hashchange", M), after(1, function () { return p = !0, evil.body.addClass("page-animation") }), evil.win.on("keyup", function (n) { return 27 === n.keyCode ? location.hash = "" : void 0 }), r = n(".open-source"), h = function (n) { return n.replace(/-[^-]+$/, "") }, v = h(n("html").attr("lang")), C = h(navigator.language || navigator.userLanguage), v !== C && r.addClass("user-can-translate"), i = !1, o = function () { var n, e, t, a, o, s; if (!(evil.win.width() < 600)) return i = !0, evil.win.off("resize.corner"), evil.body.hasClass("transform-3d") ? (a = r.find(".shadow"), t = r.find(".rotator"), n = t.css("transition-duration"), n = 1e3 * parseFloat(n), o = function () { return a.is(":animated") ? a.stop(!0).animate({ opacity: 0 }, n / 2, "easeOutQuart") : a.animate({ opacity: 1 }, n / 2, "easeInQuart").animate({ opacity: 0 }, n / 2, "easeOutQuart") }, s = function () { return r.addClass("show"), o() }, e = function () { return r.removeClass("show tappable"), o() }) : (s = function () { return r.addClass("show") }, e = function () { return r.removeClass("show tappable") }), r.mouseenter(s), r.mouseleave(e), r.find(".crop").on("touchend", function () { return r.hasClass("show") ? e() : (s(), r.addClass("tappable")), !1 }) }, o(), i || evil.win.on("resize.corner", o), t = n("<select />").insertAfter("footer ul").change(function () { return location.href = n(this).val() + location.hash }), n("footer li").each(function () { var e, a, r; return a = n(this).find("a, span"), e = a.attr("href") || location.pathname, r = n("<option />").attr({ value: e }).text(a.text()), a.is("span") && r.attr({ selected: !0 }), r.appendTo(t) }), n("footer ul").hide() }) }.call(this);
+</script>
@@ -1,10 +1,10 @@
<!DOCTYPE html>
-<html>
+<html lang="en-us">
<head>
<meta charset="utf-8" />
- <title>Game Jam - Fun</title>
- <meta property="og:image" content="http://gamejamfun.jok.io/Images/user_avatar_hp_4.png">
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
+ <title>Pitching - The Game</title>
+ <meta property="og:image" content="http://pitching.jok.io/Images/preview.png">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
</head>
<body>
@RenderBody()

0 comments on commit fb40e5a

Please sign in to comment.