2019-10-27 13:35:33 +01:00
|
|
|
{% extends 'base.html.twig' %}
|
|
|
|
|
|
|
|
|
|
{% block title %} - Play!{% endblock %}
|
|
|
|
|
|
|
|
|
|
{% block body %}
|
|
|
|
|
<a class="back-from-game" href="{{ path('MineSeekerBundle_homepage') }}">
|
|
|
|
|
<img src="{{ asset('/images/mine-logo-txt.png') }}" alt="Mineseeker Logo">
|
|
|
|
|
</a>
|
|
|
|
|
<div class="mine-container">
|
|
|
|
|
<div id="mine-wrapper"
|
|
|
|
|
data-env="{{ env }}"
|
2026-04-09 22:00:53 +02:00
|
|
|
data-game-id="{{ app.request.get('gameAssoc') }}"
|
|
|
|
|
data-mercure-hub-url="{{ mercure_hub_url }}"
|
|
|
|
|
data-mercure-subscriber-jwt="{{ mercure_subscriber_jwt }}">
|
2019-10-27 13:35:33 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
{% block metas %}
|
|
|
|
|
<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('/images/mine-1600x627.png') }}"/>
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
{% block stylesheets %}
|
2026-04-10 21:06:22 +02:00
|
|
|
{{ vite_entry_link_tags('mineseekerStyle') }}
|
2019-10-27 13:35:33 +01:00
|
|
|
|
2026-04-09 22:00:53 +02:00
|
|
|
<style>
|
2019-10-27 13:35:33 +01:00
|
|
|
.mine-container {
|
|
|
|
|
background: url('/images/bg-mineseeker-{{ random(1) }}-outbg.jpg') no-repeat;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
{% block javascripts %}
|
|
|
|
|
{{ parent() }}
|
2026-04-10 21:06:22 +02:00
|
|
|
{{ vite_entry_script_tags('mineseeker') }}
|
2019-10-27 13:35:33 +01:00
|
|
|
{% endblock %}
|