release beta4
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{% extends "::base.html.twig" %}
|
||||
{% extends "@MineSeeker/layout.html.twig" %}
|
||||
|
||||
{% block header %}
|
||||
<section class="header-content">
|
||||
@@ -7,15 +7,28 @@
|
||||
border="0"/>
|
||||
</div>
|
||||
<div>
|
||||
<h2>A minesweeper game rethought...</h2>
|
||||
<h1>...and you can play w/o register!!</h1>
|
||||
{% if is_granted("IS_AUTHENTICATED_REMEMBERED") %}
|
||||
<h2>Hello, {{ app.user.realName is not null ? app.user.realName : app.user.username }}!</h2>
|
||||
<h1>Let's play!! :D</h1>
|
||||
{% else %}
|
||||
<h2>A minesweeper game rethought...</h2>
|
||||
<h1>...and you can play w/o register!!</h1>
|
||||
{% endif %}
|
||||
|
||||
<div class="buttons">
|
||||
<a href="{{ path('MineSeekerBundle_gamePlay') }}">Play NOW!</a>
|
||||
<a href="{{ path('fos_user_registration_register') }}" class="small">Sign up</a> ·
|
||||
<a href="{{ path('fos_user_security_login') }}" class="small">Sign in</a>
|
||||
{% if is_granted("IS_AUTHENTICATED_REMEMBERED") %}
|
||||
<a href="{{ path('fos_user_security_logout') }}" class="small">
|
||||
{{ 'layout.logout'|trans({}, 'FOSUserBundle') }}
|
||||
</a>
|
||||
{% else %}
|
||||
<a href="{{ path('fos_user_registration_register') }}" class="small">Sign up</a> ·
|
||||
<a href="{{ path('fos_user_security_login') }}" class="small">Sign in</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
<h3>
|
||||
version {{ version }} · MineSeeker© · <a href="http://www.laszlolang.com">www.laszlolang.com</a>
|
||||
version {{ version }} · MineSeeker©{{ "now"|date("Y") }} · <a
|
||||
href="http://www.laszlolang.com">www.laszlolang.com</a>
|
||||
</h3>
|
||||
</div>
|
||||
<img src="{{ asset('bundles/mineseeker/images/mine-logo-logo.png') }}" alt="MineSeeker Logo" border="0"/>
|
||||
@@ -23,6 +36,8 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block stylesheets %}
|
||||
{{ parent() }}
|
||||
|
||||
<link href="https://fonts.googleapis.com/css?family=Rajdhani:300,400,500,600,700&subset=latin-ext"
|
||||
rel="stylesheet">
|
||||
|
||||
@@ -31,3 +46,15 @@
|
||||
<link rel="stylesheet" media="screen" href="{{ asset_url }}" type="text/css"/>
|
||||
{% endstylesheets %}
|
||||
{% endblock %}
|
||||
|
||||
{% block javascripts %}
|
||||
{{ parent() }}
|
||||
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/JQuery-Snowfall/1.7.4/snowfall.jquery.min.js"
|
||||
type="text/javascript"></script>
|
||||
<script type="text/javascript">
|
||||
$(function () {
|
||||
$(document).snowfall({deviceorientation: true, round: true, minSize: 5, maxSize: 8});
|
||||
});
|
||||
</script>
|
||||
{% endblock %}
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
{% extends '::base.html.twig' %}
|
||||
|
||||
{% block title %} - Play!{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<a class="back-from-game" href="{{ path('MineSeekerBundle_homepage') }}">
|
||||
<img src="{{ asset('bundles/mineseeker/images/mine-logo-txt.png') }}" alt="Mineseeker Logo">
|
||||
@@ -14,11 +16,11 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block metas %}
|
||||
{#<meta property="og:url" content="http://www.your-domain.com/your-page.html" />#}
|
||||
{#<meta property="og:type" content="website" />#}
|
||||
{#<meta property="og:title" content="Your Website Title" />#}
|
||||
{#<meta property="og:description" content="Your description" />#}
|
||||
{#<meta property="og:image" content="http://www.your-domain.com/path/image.jpg" />#}
|
||||
<meta property="og:url" content="{{ url('MineSeekerBundle_gamePlay') }}"/>
|
||||
<meta property="og:type" content="website"/>
|
||||
<meta property="og:title" content="Your friend challenges YOU!"/>
|
||||
<meta property="og:description" content="Do you accept the challenge?"/>
|
||||
<meta property="og:image" content="{{ app.request.getSchemeAndHttpHost() }}{{ asset('bundles/mineseeker/images/mine-1600x627.png') }}"/>
|
||||
{% endblock %}
|
||||
|
||||
{% block stylesheets %}
|
||||
@@ -40,6 +42,8 @@
|
||||
|
||||
{% if env == 'dev' %}
|
||||
{% javascripts filter='?uglifyjs2'
|
||||
'@JotunheimrAdminBundle/Resources/public/js/vendor/plugins/jQuery/jquery-3.0.0.min.js'
|
||||
'@JotunheimrAdminBundle/Resources/public/js/vendor/plugins/jQuery/jquery-migrate-3.0.0.min.js'
|
||||
'@GosWebSocketBundle/Resources/public/js/vendor/autobahn.min.js'
|
||||
'@GosWebSocketBundle/Resources/public/js/gos_web_socket_client.js'
|
||||
'@MineSeekerBundle/Resources/public/js/node/howler/dist/howler.min.js'
|
||||
@@ -49,6 +53,8 @@
|
||||
{% endjavascripts %}
|
||||
{% else %}
|
||||
{% javascripts filter='?uglifyjs2'
|
||||
'@JotunheimrAdminBundle/Resources/public/js/vendor/plugins/jQuery/jquery-3.0.0.min.js'
|
||||
'@JotunheimrAdminBundle/Resources/public/js/vendor/plugins/jQuery/jquery-migrate-3.0.0.min.js'
|
||||
'@GosWebSocketBundle/Resources/public/js/vendor/autobahn.min.js'
|
||||
'@GosWebSocketBundle/Resources/public/js/gos_web_socket_client.js'
|
||||
'@MineSeekerBundle/Resources/public/js/node/howler/dist/howler.min.js'
|
||||
|
||||
Reference in New Issue
Block a user