Private
Public Access
1
0

reg and login buttons on index && remove list method && facebook centralize

This commit is contained in:
2016-12-10 14:43:28 +01:00
parent 6dc59549ef
commit c0d75e43f3
7 changed files with 81 additions and 30 deletions

View File

@@ -1,23 +1,4 @@
<script>
window.fbAsyncInit = function () {
FB.init({
appId: '320599508311862',
xfbml: true,
version: 'v2.8'
});
};
(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/sdk.js";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
function fbLogin() {
FB.getLoginStatus(function (response) {
if (response.status === 'connected') {

View File

@@ -39,6 +39,27 @@
</footer>
{% block javascripts %}
<script type="text/javascript">
window.fbAsyncInit = function () {
FB.init({
appId: '320599508311862',
xfbml: true,
version: 'v2.8'
});
};
(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/sdk.js";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
{% javascripts
'@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'

View File

@@ -20,13 +20,8 @@ class GameController extends Controller
));
}
public function slack(Request $request)
public function slackAction(Request $request)
{
}
// public function listAction()
// {
// return $this->render('MineSeekerBundle:Game:list.html.twig');
// }
}

View File

@@ -59,6 +59,7 @@ header section h1 {
header section h2 {
font: normal 32px 'Rajdhani', sans-serif;
color: #434242;
margin-top: 100px;
}
header section h3 {
@@ -104,6 +105,33 @@ header section div > a:hover {
transition: all 250ms ease-in-out;
}
header section div > a.small {
background: transparent;
display: inline-block;
font: bold 22px 'Rajdhani', sans-serif;
border: 3px solid #83aed9;
color: #83aed9;
padding: 10px;
-webkit-box-shadow: none;
box-shadow: none;-webkit-transition: all 250ms ease-in-out;
-moz-transition: all 250ms ease-in-out;
-o-transition: all 250ms ease-in-out;
transition: all 250ms ease-in-out;
}
header section div > a.small:hover {
background: #658fb8;
border: 3px solid #658fb8;
color: #FFFFFF;
-webkit-transition: all 250ms ease-in-out;
-moz-transition: all 250ms ease-in-out;
-o-transition: all 250ms ease-in-out;
transition: all 250ms ease-in-out;
}
@media screen and (max-width: 1100px) {
header section {
align-items: center;

View File

@@ -3,20 +3,25 @@
{% block header %}
<section class="header-content">
<div class="logo">
<img src="{{ asset('bundles/mineseeker/images/mine-logo-txt.png') }}" alt="MineSeeker Logo w/ Txt" border="0"/>
<img src="{{ asset('bundles/mineseeker/images/mine-logo-txt.png') }}" alt="MineSeeker Logo w/ Txt"
border="0"/>
</div>
<div>
<h2>Egy aknakereső játék</h2>
<h1>Újragondolva...</h1>
<a href="{{ path('MineSeekerBundle_gamePlay') }}">Játszok!</a>
<h3>version 0.16.11 (beta2) &middot; MineSeeker&copy; &middot; <a href="http://www.laszlolang.com">www.laszlolang.com</a></h3>
<a href="{{ path('MineSeekerBundle_gamePlay') }}">Most játszom egyet!</a>
<a href="{{ path('fos_user_registration_register') }}" class="small">Regisztrálok</a> &middot;
<a href="{{ path('fos_user_security_login') }}" class="small">Belépek</a>
<h3>version 0.16.11 (beta2) &middot; MineSeeker&copy; &middot; <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"/>
</section>
{% endblock %}
{% block stylesheets %}
<link href="https://fonts.googleapis.com/css?family=Rajdhani:300,400,500,600,700&amp;subset=latin-ext" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Rajdhani:300,400,500,600,700&amp;subset=latin-ext"
rel="stylesheet">
{% stylesheets filter='?uglifycss'
'@MineSeekerBundle/Resources/public/css/style.homepage.css' %}