new: usr: add mineseeker game to the symfony 4 project #3
This commit is contained in:
23
templates/Recent/facebook.html.twig
Normal file
23
templates/Recent/facebook.html.twig
Normal file
@@ -0,0 +1,23 @@
|
||||
<script type="text/javascript">
|
||||
window.fbAsyncInit = function () {
|
||||
FB.init({
|
||||
appId: '{{ facebook_api }}',
|
||||
xfbml: true,
|
||||
cookie: true,
|
||||
status: true,
|
||||
oauth: true,
|
||||
version: '{{ facebook_api_version }}'
|
||||
});
|
||||
};
|
||||
|
||||
(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>
|
||||
12
templates/Recent/favicon.html.twig
Normal file
12
templates/Recent/favicon.html.twig
Normal file
@@ -0,0 +1,12 @@
|
||||
<meta name="msapplication-TileColor" content="#ffffff">
|
||||
<meta name="msapplication-TileImage" content="{{ asset('/bundles/mineseeker/images/favicon/ms-icon-144x144.png') }}">
|
||||
<meta name="theme-color" content="#ffffff">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="{{ asset('/bundles/mineseeker/images/favicon/apple-icon-180x180.png') }}">
|
||||
<link rel="icon" type="image/png" sizes="192x192" href="{{ asset('/bundles/mineseeker/images/favicon/android-icon-192x192.png') }}">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="{{ asset('/bundles/mineseeker/images/favicon/favicon-32x32.png') }}">
|
||||
<link rel="icon" type="image/png" sizes="96x96" href="{{ asset('/bundles/mineseeker/images/favicon/favicon-96x96.png') }}">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="{{ asset('/bundles/mineseeker/images/favicon/favicon-16x16.png') }}">
|
||||
<link rel="manifest" href="{{ asset('/bundles/mineseeker/images/favicon/manifest.json') }}">
|
||||
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
|
||||
<link rel="shortcut icon" href="{{ asset('/bundles/mineseeker/images/favicon/favicon.ico') }}" type="image/x-icon">
|
||||
<link rel="icon" href="{{ asset('/bundles/mineseeker/images/favicon/favicon.ico') }}" type="image/x-icon">
|
||||
19
templates/Recent/google-analytics.html.twig
Normal file
19
templates/Recent/google-analytics.html.twig
Normal file
@@ -0,0 +1,19 @@
|
||||
{% if app.environment == 'prod' %}
|
||||
<script type="text/javascript">
|
||||
(function (i, s, o, g, r, a, m) {
|
||||
i['GoogleAnalyticsObject'] = r;
|
||||
i[r] = i[r] || function () {
|
||||
(i[r].q = i[r].q || []).push(arguments)
|
||||
}, i[r].l = 1 * new Date();
|
||||
a = s.createElement(o),
|
||||
m = s.getElementsByTagName(o)[0];
|
||||
a.async = 1;
|
||||
a.src = g;
|
||||
m.parentNode.insertBefore(a, m)
|
||||
})(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
|
||||
|
||||
ga('create', 'UA-88761060-1', 'auto');
|
||||
ga('send', 'pageview');
|
||||
|
||||
</script>
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user