chg: usr: make fancy og tags - and create a special one for battle sharing #4
This commit is contained in:
@@ -3,32 +3,33 @@
|
||||
{% block title %} - Battle Report{% endblock %}
|
||||
|
||||
{% block metas %}
|
||||
{% set shareUrl = url('MineSeekerBundle_battle_share', { id: game.id }) %}
|
||||
<meta property="og:url" content="{{ shareUrl }}"/>
|
||||
<meta property="og:type" content="website"/>
|
||||
<meta property="og:title" content="{{ ogTitle }}"/>
|
||||
{%- set shareUrl = url('MineSeekerBundle_battle_share', { uuid: game.uuid }) -%}
|
||||
{%- set _ogImage = url('MineSeekerBundle_og_battle', { uuid: game.uuid }) -%}
|
||||
<meta property="og:url" content="{{ shareUrl }}"/>
|
||||
<meta property="og:type" content="article"/>
|
||||
<meta property="og:site_name" content="MineSeeker"/>
|
||||
<meta property="og:locale" content="en_US"/>
|
||||
<meta property="og:title" content="{{ ogTitle }}"/>
|
||||
<meta property="og:description" content="{{ ogDesc }}"/>
|
||||
<meta property="og:image" content="{{ app.request.getSchemeAndHttpHost() }}{{ asset('images/mine-1600x627.png') }}"/>
|
||||
<meta property="og:image:width" content="1600"/>
|
||||
<meta property="og:image" content="{{ _ogImage }}"/>
|
||||
<meta property="og:image:width" content="1600"/>
|
||||
<meta property="og:image:height" content="627"/>
|
||||
<meta name="twitter:card" content="summary_large_image"/>
|
||||
<meta name="twitter:title" content="{{ ogTitle }}"/>
|
||||
<meta property="og:image:alt" content="{{ ogTitle }}"/>
|
||||
<meta name="twitter:card" content="summary_large_image"/>
|
||||
<meta name="twitter:site" content="@MineSeeker"/>
|
||||
<meta name="twitter:title" content="{{ ogTitle }}"/>
|
||||
<meta name="twitter:description" content="{{ ogDesc }}"/>
|
||||
<meta name="twitter:image" content="{{ app.request.getSchemeAndHttpHost() }}{{ asset('images/mine-1600x627.png') }}"/>
|
||||
<meta name="twitter:image" content="{{ _ogImage }}"/>
|
||||
<meta name="twitter:image:alt" content="{{ ogTitle }}"/>
|
||||
{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<div class="bshare-page">
|
||||
|
||||
<div class="bshare-card">
|
||||
|
||||
<div class="bshare-card__eyebrow">
|
||||
<i class="fas fa-crosshairs"></i> Battle Report
|
||||
</div>
|
||||
|
||||
{# VS Header #}
|
||||
<div class="bshare-vs">
|
||||
|
||||
<div class="bshare-player bshare-player--red">
|
||||
<div class="bshare-avatar bshare-avatar--red">
|
||||
{{ redName|slice(0,2)|upper }}
|
||||
@@ -36,7 +37,6 @@
|
||||
<span class="bshare-player__name">{{ redName }}</span>
|
||||
<span class="bshare-player__side">Red</span>
|
||||
</div>
|
||||
|
||||
<div class="bshare-vs__center">
|
||||
{% if redPts is not null and bluePts is not null %}
|
||||
<div class="bshare-score">
|
||||
@@ -48,8 +48,6 @@
|
||||
<div class="bshare-score bshare-score--na">— : —</div>
|
||||
{% endif %}
|
||||
<div class="bshare-vs__label">VS</div>
|
||||
|
||||
{# Result badge #}
|
||||
{% if resign == 'red' %}
|
||||
<div class="bshare-badge bshare-badge--blue">
|
||||
<i class="fas fa-trophy"></i> Blue wins
|
||||
@@ -74,7 +72,6 @@
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<div class="bshare-player bshare-player--blue">
|
||||
<div class="bshare-avatar bshare-avatar--blue">
|
||||
{{ blueName|slice(0,2)|upper }}
|
||||
@@ -82,10 +79,7 @@
|
||||
<span class="bshare-player__name">{{ blueName }}</span>
|
||||
<span class="bshare-player__side">Blue</span>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
{# Details #}
|
||||
<div class="bshare-details">
|
||||
{% if resign %}
|
||||
<div class="bshare-detail">
|
||||
@@ -112,7 +106,6 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<div class="bshare-cta">
|
||||
<a href="{{ path('MineSeekerBundle_gamePlay') }}" class="bshare-btn">
|
||||
<i class="fas fa-play"></i> Play MineSeeker
|
||||
@@ -121,8 +114,6 @@
|
||||
<i class="fas fa-house"></i> Homepage
|
||||
</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
||||
@@ -3,12 +3,23 @@
|
||||
{% block title %} - The Game{% endblock %}
|
||||
|
||||
{% block metas %}
|
||||
{%- set _ogImage = app.request.getSchemeAndHttpHost() ~ asset('images/mine-1600x627.png') -%}
|
||||
<meta property="og:url" content="{{ url('MineSeekerBundle_homepage') }}"/>
|
||||
<meta property="og:type" content="website"/>
|
||||
<meta property="og:title" content="MineSeeker"/>
|
||||
<meta property="og:description" content="A multiplayer minesweeper game"/>
|
||||
<meta property="og:image"
|
||||
content="{{ app.request.getSchemeAndHttpHost() }}{{ asset('images/mine-1600x627.png') }}"/>
|
||||
<meta property="og:site_name" content="MineSeeker"/>
|
||||
<meta property="og:locale" content="en_US"/>
|
||||
<meta property="og:title" content="MineSeeker — Multiplayer Minesweeper"/>
|
||||
<meta property="og:description"
|
||||
content="Race a friend on a hidden minefield. Real-time 1v1 minesweeper in your browser — no account needed. Just play."/>
|
||||
<meta property="og:image" content="{{ _ogImage }}"/>
|
||||
<meta property="og:image:width" content="1600"/>
|
||||
<meta property="og:image:height" content="627"/>
|
||||
<meta property="og:image:alt" content="MineSeeker — Multiplayer Minesweeper"/>
|
||||
<meta name="twitter:card" content="summary_large_image"/>
|
||||
<meta name="twitter:title" content="MineSeeker — Multiplayer Minesweeper"/>
|
||||
<meta name="twitter:description"
|
||||
content="Race a friend on a hidden minefield. Real-time 1v1 minesweeper in your browser — no account needed. Just play."/>
|
||||
<meta name="twitter:image" content="{{ _ogImage }}"/>
|
||||
{% endblock %}
|
||||
|
||||
{% block header %}
|
||||
|
||||
@@ -2,12 +2,26 @@
|
||||
|
||||
{% block title %} - Contact{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<div class="txt">
|
||||
<h2>Contact and user support</h2>
|
||||
|
||||
<h3>Under construction</h3>
|
||||
|
||||
<a href="mailto:langlasz@gmail.com">langlasz@gmail.com</a>
|
||||
</div>
|
||||
{% block metas %}
|
||||
{%- set _ogImage = app.request.getSchemeAndHttpHost() ~ asset('images/mine-1600x627.png') -%}
|
||||
<meta property="og:url" content="{{ url('MineSeekerBundle_contact') }}"/>
|
||||
<meta property="og:type" content="website"/>
|
||||
<meta property="og:site_name" content="MineSeeker"/>
|
||||
<meta property="og:title" content="Contact · MineSeeker"/>
|
||||
<meta property="og:description" content="Get in touch with the MineSeeker team."/>
|
||||
<meta property="og:image" content="{{ _ogImage }}"/>
|
||||
<meta property="og:image:width" content="1600"/>
|
||||
<meta property="og:image:height" content="627"/>
|
||||
<meta name="twitter:card" content="summary_large_image"/>
|
||||
<meta name="twitter:title" content="Contact · MineSeeker"/>
|
||||
<meta name="twitter:description" content="Get in touch with the MineSeeker team."/>
|
||||
<meta name="twitter:image" content="{{ _ogImage }}"/>
|
||||
{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<div class="txt">
|
||||
<h2>Contact and user support</h2>
|
||||
<h3>Under construction</h3>
|
||||
<a href="mailto:langlasz@gmail.com">langlasz@gmail.com</a>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
@@ -2,51 +2,67 @@
|
||||
|
||||
{% block title %} - Privacy Policy{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<div class="txt">
|
||||
<h2>MineSeeker Privacy Policy</h2>
|
||||
|
||||
<p>Your privacy is important to us.</p>
|
||||
|
||||
<p>It is MineSeeker's policy to respect your privacy regarding any information we may collect while operating
|
||||
our
|
||||
website. Accordingly, we have developed this privacy policy in order for you to understand how we collect,
|
||||
use,
|
||||
communicate, disclose and otherwise make use of personal information. We have outlined our privacy policy
|
||||
below.</p>
|
||||
|
||||
<ul>
|
||||
<li>We will collect personal information by lawful and fair means and, where appropriate, with the knowledge
|
||||
or
|
||||
consent of the individual concerned.
|
||||
</li>
|
||||
<li>Before or at the time of collecting personal information, we will identify the purposes for which
|
||||
information is being collected.
|
||||
</li>
|
||||
<li>We will collect and use personal information solely for fulfilling those purposes specified by us and
|
||||
for
|
||||
other ancillary purposes, unless we obtain the consent of the individual concerned or as required by
|
||||
law.
|
||||
</li>
|
||||
<li>Personal data should be relevant to the purposes for which it is to be used, and, to the extent
|
||||
necessary
|
||||
for those purposes, should be accurate, complete, and up-to-date.
|
||||
</li>
|
||||
<li>We will protect personal information by using reasonable security safeguards against loss or theft, as
|
||||
well
|
||||
as unauthorized access, disclosure, copying, use or modification.
|
||||
</li>
|
||||
<li>We will make readily available to customers information about our policies and practices relating to the
|
||||
management of personal information.
|
||||
</li>
|
||||
<li>We will only retain personal information for as long as necessary for the fulfilment of those
|
||||
purposes.
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<p>We are committed to conducting our business in accordance with these principles in order to ensure that the
|
||||
confidentiality of personal information is protected and maintained. MineSeeker may change this privacy
|
||||
policy
|
||||
from time to time at MineSeeker's sole discretion.</p>
|
||||
</div>
|
||||
{% block metas %}
|
||||
{%- set _ogImage = app.request.getSchemeAndHttpHost() ~ asset('images/mine-1600x627.png') -%}
|
||||
<meta property="og:url" content="{{ url('MineSeekerBundle_privacy') }}"/>
|
||||
<meta property="og:type" content="website"/>
|
||||
<meta property="og:site_name" content="MineSeeker"/>
|
||||
<meta property="og:title" content="Privacy Policy · MineSeeker"/>
|
||||
<meta property="og:description" content="Read how MineSeeker collects, uses and protects your personal data."/>
|
||||
<meta property="og:image" content="{{ _ogImage }}"/>
|
||||
<meta property="og:image:width" content="1600"/>
|
||||
<meta property="og:image:height" content="627"/>
|
||||
<meta name="twitter:card" content="summary_large_image"/>
|
||||
<meta name="twitter:title" content="Privacy Policy · MineSeeker"/>
|
||||
<meta name="twitter:description" content="Read how MineSeeker collects, uses and protects your personal data."/>
|
||||
<meta name="twitter:image" content="{{ _ogImage }}"/>
|
||||
{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<div class="txt">
|
||||
<h2>MineSeeker Privacy Policy</h2>
|
||||
|
||||
<p>Your privacy is important to us.</p>
|
||||
|
||||
<p>It is MineSeeker's policy to respect your privacy regarding any information we may collect while operating
|
||||
our
|
||||
website. Accordingly, we have developed this privacy policy in order for you to understand how we collect,
|
||||
use,
|
||||
communicate, disclose and otherwise make use of personal information. We have outlined our privacy policy
|
||||
below.</p>
|
||||
|
||||
<ul>
|
||||
<li>We will collect personal information by lawful and fair means and, where appropriate, with the knowledge
|
||||
or
|
||||
consent of the individual concerned.
|
||||
</li>
|
||||
<li>Before or at the time of collecting personal information, we will identify the purposes for which
|
||||
information is being collected.
|
||||
</li>
|
||||
<li>We will collect and use personal information solely for fulfilling those purposes specified by us and
|
||||
for
|
||||
other ancillary purposes, unless we obtain the consent of the individual concerned or as required by
|
||||
law.
|
||||
</li>
|
||||
<li>Personal data should be relevant to the purposes for which it is to be used, and, to the extent
|
||||
necessary
|
||||
for those purposes, should be accurate, complete, and up-to-date.
|
||||
</li>
|
||||
<li>We will protect personal information by using reasonable security safeguards against loss or theft, as
|
||||
well
|
||||
as unauthorized access, disclosure, copying, use or modification.
|
||||
</li>
|
||||
<li>We will make readily available to customers information about our policies and practices relating to the
|
||||
management of personal information.
|
||||
</li>
|
||||
<li>We will only retain personal information for as long as necessary for the fulfilment of those
|
||||
purposes.
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<p>We are committed to conducting our business in accordance with these principles in order to ensure that the
|
||||
confidentiality of personal information is protected and maintained. MineSeeker may change this privacy
|
||||
policy
|
||||
from time to time at MineSeeker's sole discretion.</p>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
@@ -2,99 +2,115 @@
|
||||
|
||||
{% block title %} - Terms of Service{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<div class="txt">
|
||||
<h2>MineSeeker Terms of Service</h2>
|
||||
|
||||
<h3>1. Terms</h3>
|
||||
|
||||
<p>By accessing the website at <a href="https://www.mineseeker.hu">https://www.mineseeker.hu</a>, you are
|
||||
agreeing to be bound by these terms of service, all applicable laws and regulations, and agree that you are
|
||||
responsible for compliance with any applicable local laws. If you do not agree with any of these terms, you
|
||||
are
|
||||
prohibited from using or accessing this site. The materials contained in this website are protected by
|
||||
applicable copyright and trademark law.</p>
|
||||
|
||||
<h3>2. Use License</h3>
|
||||
|
||||
<ol type="a">
|
||||
<li>
|
||||
Permission is granted to temporarily download one copy of the materials (information or software) on
|
||||
MineSeeker's website for personal, non-commercial transitory viewing only. This is the grant of a
|
||||
license,
|
||||
not a transfer of title, and under this license you may not:
|
||||
|
||||
<ol type="i">
|
||||
<li>modify or copy the materials;</li>
|
||||
<li>use the materials for any commercial purpose, or for any public display (commercial or
|
||||
non-commercial);
|
||||
</li>
|
||||
<li>attempt to decompile or reverse engineer any software contained on MineSeeker's website;</li>
|
||||
<li>remove any copyright or other proprietary notations from the materials; or</li>
|
||||
<li>transfer the materials to another person or "mirror" the materials on any other server.</li>
|
||||
</ol>
|
||||
</li>
|
||||
<li>This license shall automatically terminate if you violate any of these restrictions and may be
|
||||
terminated by
|
||||
MineSeeker at any time. Upon terminating your viewing of these materials or upon the termination of this
|
||||
license, you must destroy any downloaded materials in your possession whether in electronic or printed
|
||||
format.
|
||||
</li>
|
||||
</ol>
|
||||
|
||||
<h3>3. Disclaimer</h3>
|
||||
|
||||
<ol type="a">
|
||||
<li>The materials on MineSeeker's website are provided on an 'as is' basis. MineSeeker makes no warranties,
|
||||
expressed or implied, and hereby disclaims and negates all other warranties including, without
|
||||
limitation,
|
||||
implied warranties or conditions of merchantability, fitness for a particular purpose, or
|
||||
non-infringement
|
||||
of intellectual property or other violation of rights.
|
||||
</li>
|
||||
<li>Further, MineSeeker does not warrant or make any representations concerning the accuracy, likely
|
||||
results, or
|
||||
reliability of the use of the materials on its website or otherwise relating to such materials or on any
|
||||
sites linked to this site.
|
||||
</li>
|
||||
</ol>
|
||||
|
||||
<h3>4. Limitations</h3>
|
||||
|
||||
<p>In no event shall MineSeeker or its suppliers be liable for any damages (including, without limitation,
|
||||
damages
|
||||
for loss of data or profit, or due to business interruption) arising out of the use or inability to use the
|
||||
materials on MineSeeker's website, even if MineSeeker or a MineSeeker authorized representative has been
|
||||
notified orally or in writing of the possibility of such damage. Because some jurisdictions do not allow
|
||||
limitations on implied warranties, or limitations of liability for consequential or incidental damages,
|
||||
these
|
||||
limitations may not apply to you.</p>
|
||||
|
||||
<h3>5. Accuracy of materials</h3>
|
||||
|
||||
<p>The materials appearing on MineSeeker's website could include technical, typographical, or photographic
|
||||
errors.
|
||||
MineSeeker does not warrant that any of the materials on its website are accurate, complete or current.
|
||||
MineSeeker may make changes to the materials contained on its website at any time without notice. However
|
||||
MineSeeker does not make any commitment to update the materials.</p>
|
||||
|
||||
<h3>6. Links</h3>
|
||||
|
||||
<p>MineSeeker has not reviewed all of the sites linked to its website and is not responsible for the contents of
|
||||
any
|
||||
such linked site. The inclusion of any link does not imply endorsement by MineSeeker of the site. Use of any
|
||||
such linked website is at the user's own risk.</p>
|
||||
|
||||
<h3>7. Modifications</h3>
|
||||
|
||||
<p>MineSeeker may revise these terms of service for its website at any time without notice. By using this
|
||||
website
|
||||
you are agreeing to be bound by the then current version of these terms of service.</p>
|
||||
|
||||
<h3>8. Governing Law</h3>
|
||||
|
||||
<p>These terms and conditions are governed by and construed in accordance with the laws of Budapest, Hungary and
|
||||
you
|
||||
irrevocably submit to the exclusive jurisdiction of the courts in that State or location.</p>
|
||||
</div>
|
||||
{% block metas %}
|
||||
{%- set _ogImage = app.request.getSchemeAndHttpHost() ~ asset('images/mine-1600x627.png') -%}
|
||||
<meta property="og:url" content="{{ url('MineSeekerBundle_terms') }}"/>
|
||||
<meta property="og:type" content="website"/>
|
||||
<meta property="og:site_name" content="MineSeeker"/>
|
||||
<meta property="og:title" content="Terms of Use · MineSeeker"/>
|
||||
<meta property="og:description" content="Read the MineSeeker terms of use before playing."/>
|
||||
<meta property="og:image" content="{{ _ogImage }}"/>
|
||||
<meta property="og:image:width" content="1600"/>
|
||||
<meta property="og:image:height" content="627"/>
|
||||
<meta name="twitter:card" content="summary_large_image"/>
|
||||
<meta name="twitter:title" content="Terms of Use · MineSeeker"/>
|
||||
<meta name="twitter:description" content="Read the MineSeeker terms of use before playing."/>
|
||||
<meta name="twitter:image" content="{{ _ogImage }}"/>
|
||||
{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<div class="txt">
|
||||
<h2>MineSeeker Terms of Service</h2>
|
||||
|
||||
<h3>1. Terms</h3>
|
||||
|
||||
<p>By accessing the website at <a href="https://www.mineseeker.hu">https://www.mineseeker.hu</a>, you are
|
||||
agreeing to be bound by these terms of service, all applicable laws and regulations, and agree that you are
|
||||
responsible for compliance with any applicable local laws. If you do not agree with any of these terms, you
|
||||
are
|
||||
prohibited from using or accessing this site. The materials contained in this website are protected by
|
||||
applicable copyright and trademark law.</p>
|
||||
|
||||
<h3>2. Use License</h3>
|
||||
|
||||
<ol type="a">
|
||||
<li>
|
||||
Permission is granted to temporarily download one copy of the materials (information or software) on
|
||||
MineSeeker's website for personal, non-commercial transitory viewing only. This is the grant of a
|
||||
license,
|
||||
not a transfer of title, and under this license you may not:
|
||||
|
||||
<ol type="i">
|
||||
<li>modify or copy the materials;</li>
|
||||
<li>use the materials for any commercial purpose, or for any public display (commercial or
|
||||
non-commercial);
|
||||
</li>
|
||||
<li>attempt to decompile or reverse engineer any software contained on MineSeeker's website;</li>
|
||||
<li>remove any copyright or other proprietary notations from the materials; or</li>
|
||||
<li>transfer the materials to another person or "mirror" the materials on any other server.</li>
|
||||
</ol>
|
||||
</li>
|
||||
<li>This license shall automatically terminate if you violate any of these restrictions and may be
|
||||
terminated by
|
||||
MineSeeker at any time. Upon terminating your viewing of these materials or upon the termination of this
|
||||
license, you must destroy any downloaded materials in your possession whether in electronic or printed
|
||||
format.
|
||||
</li>
|
||||
</ol>
|
||||
|
||||
<h3>3. Disclaimer</h3>
|
||||
|
||||
<ol type="a">
|
||||
<li>The materials on MineSeeker's website are provided on an 'as is' basis. MineSeeker makes no warranties,
|
||||
expressed or implied, and hereby disclaims and negates all other warranties including, without
|
||||
limitation,
|
||||
implied warranties or conditions of merchantability, fitness for a particular purpose, or
|
||||
non-infringement
|
||||
of intellectual property or other violation of rights.
|
||||
</li>
|
||||
<li>Further, MineSeeker does not warrant or make any representations concerning the accuracy, likely
|
||||
results, or
|
||||
reliability of the use of the materials on its website or otherwise relating to such materials or on any
|
||||
sites linked to this site.
|
||||
</li>
|
||||
</ol>
|
||||
|
||||
<h3>4. Limitations</h3>
|
||||
|
||||
<p>In no event shall MineSeeker or its suppliers be liable for any damages (including, without limitation,
|
||||
damages
|
||||
for loss of data or profit, or due to business interruption) arising out of the use or inability to use the
|
||||
materials on MineSeeker's website, even if MineSeeker or a MineSeeker authorized representative has been
|
||||
notified orally or in writing of the possibility of such damage. Because some jurisdictions do not allow
|
||||
limitations on implied warranties, or limitations of liability for consequential or incidental damages,
|
||||
these
|
||||
limitations may not apply to you.</p>
|
||||
|
||||
<h3>5. Accuracy of materials</h3>
|
||||
|
||||
<p>The materials appearing on MineSeeker's website could include technical, typographical, or photographic
|
||||
errors.
|
||||
MineSeeker does not warrant that any of the materials on its website are accurate, complete or current.
|
||||
MineSeeker may make changes to the materials contained on its website at any time without notice. However
|
||||
MineSeeker does not make any commitment to update the materials.</p>
|
||||
|
||||
<h3>6. Links</h3>
|
||||
|
||||
<p>MineSeeker has not reviewed all of the sites linked to its website and is not responsible for the contents of
|
||||
any
|
||||
such linked site. The inclusion of any link does not imply endorsement by MineSeeker of the site. Use of any
|
||||
such linked website is at the user's own risk.</p>
|
||||
|
||||
<h3>7. Modifications</h3>
|
||||
|
||||
<p>MineSeeker may revise these terms of service for its website at any time without notice. By using this
|
||||
website
|
||||
you are agreeing to be bound by the then current version of these terms of service.</p>
|
||||
|
||||
<h3>8. Governing Law</h3>
|
||||
|
||||
<p>These terms and conditions are governed by and construed in accordance with the laws of Budapest, Hungary and
|
||||
you
|
||||
irrevocably submit to the exclusive jurisdiction of the courts in that State or location.</p>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
@@ -2,6 +2,17 @@
|
||||
|
||||
{% block title %} - Two-Factor Authentication{% endblock %}
|
||||
|
||||
{% block metas %}
|
||||
<meta name="robots" content="noindex,nofollow"/>
|
||||
<meta property="og:url" content="{{ app.request.uri }}"/>
|
||||
<meta property="og:type" content="website"/>
|
||||
<meta property="og:site_name" content="MineSeeker"/>
|
||||
<meta property="og:title" content="Two-Factor Authentication · MineSeeker"/>
|
||||
<meta property="og:description" content="Verify your identity to access your MineSeeker account."/>
|
||||
<meta name="twitter:card" content="summary"/>
|
||||
<meta name="twitter:title" content="Two-Factor Authentication · MineSeeker"/>
|
||||
{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<div class="auth-page">
|
||||
<div class="auth-card">
|
||||
@@ -51,4 +62,4 @@
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
||||
@@ -2,6 +2,17 @@
|
||||
|
||||
{% block title %} - Enable Two-Factor Authentication{% endblock %}
|
||||
|
||||
{% block metas %}
|
||||
<meta name="robots" content="noindex,nofollow"/>
|
||||
<meta property="og:url" content="{{ app.request.uri }}"/>
|
||||
<meta property="og:type" content="website"/>
|
||||
<meta property="og:site_name" content="MineSeeker"/>
|
||||
<meta property="og:title" content="Enable 2FA · MineSeeker"/>
|
||||
<meta property="og:description" content="Set up two-factor authentication to secure your MineSeeker account."/>
|
||||
<meta name="twitter:card" content="summary"/>
|
||||
<meta name="twitter:title" content="Enable 2FA · MineSeeker"/>
|
||||
{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<div class="auth-page">
|
||||
<div class="auth-card auth-card--wide">
|
||||
|
||||
@@ -2,6 +2,19 @@
|
||||
|
||||
{% block title %} - Forgot Password{% endblock %}
|
||||
|
||||
{% block metas %}
|
||||
{%- set _ogImage = app.request.getSchemeAndHttpHost() ~ asset('images/mine-1600x627.png') -%}
|
||||
<meta name="robots" content="noindex,nofollow"/>
|
||||
<meta property="og:url" content="{{ app.request.uri }}"/>
|
||||
<meta property="og:type" content="website"/>
|
||||
<meta property="og:site_name" content="MineSeeker"/>
|
||||
<meta property="og:title" content="Reset Password · MineSeeker"/>
|
||||
<meta property="og:description" content="Reset your MineSeeker account password."/>
|
||||
<meta property="og:image" content="{{ _ogImage }}"/>
|
||||
<meta name="twitter:card" content="summary"/>
|
||||
<meta name="twitter:title" content="Reset Password · MineSeeker"/>
|
||||
{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<div class="auth-page">
|
||||
{% for email in app.flashes('reset_sent') %}
|
||||
@@ -26,28 +39,28 @@
|
||||
|
||||
{{ form_start(form, {attr: {class: 'auth-form'}}) }}
|
||||
|
||||
<div class="auth-field">
|
||||
<label for="{{ form.email.vars.id }}" class="auth-label">Email</label>
|
||||
<div class="auth-input-wrap">
|
||||
<i class="fas fa-envelope auth-input-icon"></i>
|
||||
{{ form_widget(form.email, {
|
||||
attr: {
|
||||
class: 'auth-input' ~ (not form.email.vars.valid ? ' auth-input--error' : ''),
|
||||
autocomplete: 'email',
|
||||
autofocus: true,
|
||||
}
|
||||
}) }}
|
||||
</div>
|
||||
{% if not form.email.vars.valid %}
|
||||
{% for error in form.email.vars.errors %}
|
||||
<p class="auth-field-error"><i class="fas fa-circle-exclamation"></i> {{ error.message }}</p>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
<div class="auth-field">
|
||||
<label for="{{ form.email.vars.id }}" class="auth-label">Email</label>
|
||||
<div class="auth-input-wrap">
|
||||
<i class="fas fa-envelope auth-input-icon"></i>
|
||||
{{ form_widget(form.email, {
|
||||
attr: {
|
||||
class: 'auth-input' ~ (not form.email.vars.valid ? ' auth-input--error' : ''),
|
||||
autocomplete: 'email',
|
||||
autofocus: true,
|
||||
}
|
||||
}) }}
|
||||
</div>
|
||||
{% if not form.email.vars.valid %}
|
||||
{% for error in form.email.vars.errors %}
|
||||
<p class="auth-field-error"><i class="fas fa-circle-exclamation"></i> {{ error.message }}</p>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<button type="submit" class="auth-submit">
|
||||
<i class="fas fa-paper-plane"></i> Send Reset Link
|
||||
</button>
|
||||
<button type="submit" class="auth-submit">
|
||||
<i class="fas fa-paper-plane"></i> Send Reset Link
|
||||
</button>
|
||||
|
||||
{{ form_end(form) }}
|
||||
|
||||
|
||||
@@ -2,6 +2,25 @@
|
||||
|
||||
{% block title %} - Sign In{% endblock %}
|
||||
|
||||
{% block metas %}
|
||||
{%- set _ogImage = app.request.getSchemeAndHttpHost() ~ asset('images/mine-1600x627.png') -%}
|
||||
<meta name="robots" content="noindex,nofollow"/>
|
||||
<meta property="og:url" content="{{ app.request.uri }}"/>
|
||||
<meta property="og:type" content="website"/>
|
||||
<meta property="og:site_name" content="MineSeeker"/>
|
||||
<meta property="og:title" content="Sign In · MineSeeker"/>
|
||||
<meta property="og:description"
|
||||
content="Sign in to MineSeeker and keep track of your wins, stats and battle history."/>
|
||||
<meta property="og:image" content="{{ _ogImage }}"/>
|
||||
<meta property="og:image:width" content="1600"/>
|
||||
<meta property="og:image:height" content="627"/>
|
||||
<meta name="twitter:card" content="summary_large_image"/>
|
||||
<meta name="twitter:title" content="Sign In · MineSeeker"/>
|
||||
<meta name="twitter:description"
|
||||
content="Sign in to MineSeeker and keep track of your wins, stats and battle history."/>
|
||||
<meta name="twitter:image" content="{{ _ogImage }}"/>
|
||||
{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<div class="auth-page">
|
||||
{% for message in app.flashes('success') %}
|
||||
|
||||
@@ -2,6 +2,25 @@
|
||||
|
||||
{% block title %} - Profile{% endblock %}
|
||||
|
||||
{% block metas %}
|
||||
{%- set _ogImage = app.request.getSchemeAndHttpHost() ~ asset('images/mine-1600x627.png') -%}
|
||||
<meta name="robots" content="noindex,nofollow"/>
|
||||
<meta property="og:url" content="{{ url('MineSeekerBundle_profile') }}"/>
|
||||
<meta property="og:type" content="profile"/>
|
||||
<meta property="og:site_name" content="MineSeeker"/>
|
||||
<meta property="og:title" content="{{ app.user.username }} · MineSeeker"/>
|
||||
<meta property="og:description"
|
||||
content="View {{ app.user.username }}'s battle stats, win rate and recent games on MineSeeker."/>
|
||||
<meta property="og:image" content="{{ _ogImage }}"/>
|
||||
<meta property="og:image:width" content="1600"/>
|
||||
<meta property="og:image:height" content="627"/>
|
||||
<meta name="twitter:card" content="summary_large_image"/>
|
||||
<meta name="twitter:title" content="{{ app.user.username }} · MineSeeker"/>
|
||||
<meta name="twitter:description"
|
||||
content="View {{ app.user.username }}'s battle stats, win rate and recent games on MineSeeker."/>
|
||||
<meta name="twitter:image" content="{{ _ogImage }}"/>
|
||||
{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<div class="profile-page">
|
||||
<div class="profile-header">
|
||||
|
||||
@@ -2,6 +2,25 @@
|
||||
|
||||
{% block title %} - Security Settings{% endblock %}
|
||||
|
||||
{% block metas %}
|
||||
{%- set _ogImage = app.request.getSchemeAndHttpHost() ~ asset('images/mine-1600x627.png') -%}
|
||||
<meta name="robots" content="noindex,nofollow"/>
|
||||
<meta property="og:url" content="{{ url('MineSeekerBundle_profile_security') }}"/>
|
||||
<meta property="og:type" content="website"/>
|
||||
<meta property="og:site_name" content="MineSeeker"/>
|
||||
<meta property="og:title" content="Security Settings · MineSeeker"/>
|
||||
<meta property="og:description"
|
||||
content="Manage your MineSeeker account security — passkeys, two-factor authentication and more."/>
|
||||
<meta property="og:image" content="{{ _ogImage }}"/>
|
||||
<meta property="og:image:width" content="1600"/>
|
||||
<meta property="og:image:height" content="627"/>
|
||||
<meta name="twitter:card" content="summary_large_image"/>
|
||||
<meta name="twitter:title" content="Security Settings · MineSeeker"/>
|
||||
<meta name="twitter:description"
|
||||
content="Manage your MineSeeker account security — passkeys, two-factor authentication and more."/>
|
||||
<meta name="twitter:image" content="{{ _ogImage }}"/>
|
||||
{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<div class="profile-page">
|
||||
<div class="profile-actions">
|
||||
|
||||
@@ -2,6 +2,24 @@
|
||||
|
||||
{% block title %} - Register{% endblock %}
|
||||
|
||||
{% block metas %}
|
||||
{%- set _ogImage = app.request.getSchemeAndHttpHost() ~ asset('images/mine-1600x627.png') -%}
|
||||
<meta property="og:url" content="{{ app.request.uri }}"/>
|
||||
<meta property="og:type" content="website"/>
|
||||
<meta property="og:site_name" content="MineSeeker"/>
|
||||
<meta property="og:title" content="Create Account · MineSeeker"/>
|
||||
<meta property="og:description"
|
||||
content="Join MineSeeker for free. Track your wins, relive your best battles and prove you're the better minesweeper."/>
|
||||
<meta property="og:image" content="{{ _ogImage }}"/>
|
||||
<meta property="og:image:width" content="1600"/>
|
||||
<meta property="og:image:height" content="627"/>
|
||||
<meta name="twitter:card" content="summary_large_image"/>
|
||||
<meta name="twitter:title" content="Create Account · MineSeeker"/>
|
||||
<meta name="twitter:description"
|
||||
content="Join MineSeeker for free. Track your wins, relive your best battles and prove you're the better minesweeper."/>
|
||||
<meta name="twitter:image" content="{{ _ogImage }}"/>
|
||||
{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<div class="auth-page">
|
||||
{% for email in app.flashes('verify_email') %}
|
||||
|
||||
@@ -2,6 +2,17 @@
|
||||
|
||||
{% block title %} - Reset Password{% endblock %}
|
||||
|
||||
{% block metas %}
|
||||
<meta name="robots" content="noindex,nofollow"/>
|
||||
<meta property="og:url" content="{{ app.request.uri }}"/>
|
||||
<meta property="og:type" content="website"/>
|
||||
<meta property="og:site_name" content="MineSeeker"/>
|
||||
<meta property="og:title" content="Set New Password · MineSeeker"/>
|
||||
<meta property="og:description" content="Set a new password for your MineSeeker account."/>
|
||||
<meta name="twitter:card" content="summary"/>
|
||||
<meta name="twitter:title" content="Set New Password · MineSeeker"/>
|
||||
{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<div class="auth-page">
|
||||
<div class="auth-card">
|
||||
|
||||
Reference in New Issue
Block a user