reg and login buttons on index && remove list method && facebook centralize
This commit is contained in:
@@ -18,6 +18,27 @@
|
|||||||
{% block footer %}{% endblock %}
|
{% block footer %}{% endblock %}
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
{% block javascripts %}{% endblock %}
|
{% 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>
|
||||||
|
{% endblock %}
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
@@ -1,23 +1,4 @@
|
|||||||
<script>
|
<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() {
|
function fbLogin() {
|
||||||
FB.getLoginStatus(function (response) {
|
FB.getLoginStatus(function (response) {
|
||||||
if (response.status === 'connected') {
|
if (response.status === 'connected') {
|
||||||
|
|||||||
@@ -39,6 +39,27 @@
|
|||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
{% block javascripts %}
|
{% 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
|
{% javascripts
|
||||||
'@JotunheimrAdminBundle/Resources/public/js/vendor/plugins/jQuery/jquery-3.0.0.min.js'
|
'@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'
|
'@JotunheimrAdminBundle/Resources/public/js/vendor/plugins/jQuery/jquery-migrate-3.0.0.min.js'
|
||||||
|
|||||||
@@ -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');
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -59,6 +59,7 @@ header section h1 {
|
|||||||
header section h2 {
|
header section h2 {
|
||||||
font: normal 32px 'Rajdhani', sans-serif;
|
font: normal 32px 'Rajdhani', sans-serif;
|
||||||
color: #434242;
|
color: #434242;
|
||||||
|
margin-top: 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
header section h3 {
|
header section h3 {
|
||||||
@@ -104,6 +105,33 @@ header section div > a:hover {
|
|||||||
transition: all 250ms ease-in-out;
|
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) {
|
@media screen and (max-width: 1100px) {
|
||||||
header section {
|
header section {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|||||||
@@ -3,20 +3,25 @@
|
|||||||
{% block header %}
|
{% block header %}
|
||||||
<section class="header-content">
|
<section class="header-content">
|
||||||
<div class="logo">
|
<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>
|
||||||
<div>
|
<div>
|
||||||
<h2>Egy aknakereső játék</h2>
|
<h2>Egy aknakereső játék</h2>
|
||||||
<h1>Újragondolva...</h1>
|
<h1>Újragondolva...</h1>
|
||||||
<a href="{{ path('MineSeekerBundle_gamePlay') }}">Játszok!</a>
|
<a href="{{ path('MineSeekerBundle_gamePlay') }}">Most játszom egyet!</a>
|
||||||
<h3>version 0.16.11 (beta2) · MineSeeker© · <a href="http://www.laszlolang.com">www.laszlolang.com</a></h3>
|
<a href="{{ path('fos_user_registration_register') }}" class="small">Regisztrálok</a> ·
|
||||||
|
<a href="{{ path('fos_user_security_login') }}" class="small">Belépek</a>
|
||||||
|
<h3>version 0.16.11 (beta2) · MineSeeker© · <a href="http://www.laszlolang.com">www.laszlolang.com</a>
|
||||||
|
</h3>
|
||||||
</div>
|
</div>
|
||||||
<img src="{{ asset('bundles/mineseeker/images/mine-logo-logo.png') }}" alt="MineSeeker Logo" border="0"/>
|
<img src="{{ asset('bundles/mineseeker/images/mine-logo-logo.png') }}" alt="MineSeeker Logo" border="0"/>
|
||||||
</section>
|
</section>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block stylesheets %}
|
{% block stylesheets %}
|
||||||
<link href="https://fonts.googleapis.com/css?family=Rajdhani:300,400,500,600,700&subset=latin-ext" rel="stylesheet">
|
<link href="https://fonts.googleapis.com/css?family=Rajdhani:300,400,500,600,700&subset=latin-ext"
|
||||||
|
rel="stylesheet">
|
||||||
|
|
||||||
{% stylesheets filter='?uglifycss'
|
{% stylesheets filter='?uglifycss'
|
||||||
'@MineSeekerBundle/Resources/public/css/style.homepage.css' %}
|
'@MineSeekerBundle/Resources/public/css/style.homepage.css' %}
|
||||||
|
|||||||
Reference in New Issue
Block a user