Privacy and terms pages with config-driven branding (#91)

* comment out begin with basics until lessons are on the way

* route to footer link dead views

* proposed >7 piece engame processing

* basic privacy and terms pages with default text

* add branding to config and reference across the site

* disclose guest puzzle limit in privacy policy (#87)
This commit is contained in:
2026-11-06 13:56:20 +01:00
committed by GitHub
parent 6a4288bb6c
commit bd8be4d10d
15 changed files with 548 additions and 23 deletions
@@ -0,0 +1,118 @@
<Layouts.flash_group flash={@flash} />
<main>
<article class="legal">
<h1>Terms &amp; Conditions</h1>
<p class="legal-meta">Last updated: 6 November 2026</p>
<p>
These terms govern your use of {Branding.name()}. By browsing the site, using
the guest trainer, or creating an account, you agree to them. If you do not
agree, please do not use the service.
</p>
<h2>The service</h2>
<p>
{Branding.name()} provides short endgame puzzles and training tools. Some
features are available without an account; others, such as saved progress
and the full puzzle list, require you to register. We may add, change, or
remove features over time.
</p>
<p>
The guest trainer is limited to a fixed number of puzzles per UTC day,
which we may change. The limit is enforced as described in our <a href="/privacy">Privacy Policy</a>.
</p>
<h2>Accounts</h2>
<ul>
<li>You must be at least 13 years old to create an account.</li>
<li>Give accurate information and keep it up to date.</li>
<li>Keep your password private and tell us promptly about unauthorised use.</li>
<li>You are responsible for activity that happens under your account.</li>
<li>Do not share, sell, or transfer your account to someone else.</li>
</ul>
<h2>Acceptable use</h2>
<p>You agree not to:</p>
<ul>
<li>break the law or infringe anyone else's rights;</li>
<li>interfere with the site, its servers, or other users;</li>
<li>attempt to gain access to accounts or data that are not yours;</li>
<li>scrape, crawl, or bulk-download the site without our permission;</li>
<li>copy, resell, or redistribute the service or its content;</li>
<li>use the service to send spam or malicious code.</li>
</ul>
<h2>Our content and your licence</h2>
<p>
The site, its design, text, and software are owned by {Branding.name()} or its
licensors and are protected by copyright and other laws. We grant you a
personal, non-exclusive, non-transferable licence to use the service for
your own training. You may not reproduce, modify, distribute, or create
derivative works from our content without written permission.
</p>
<p>
Chess positions and puzzle data are drawn from public sources and
tablebase material. You may use the training output for your own study,
but not to build a competing product.
</p>
<h2>Your data</h2>
<p>
You keep ownership of the information you provide. You give us permission
to store and use it as described in our <a href="/privacy">Privacy Policy</a>
so that we can run the service.
</p>
<h2>Paid plans</h2>
<p>
Some features may be offered as part of a paid plan. Prices, billing
periods, and cancellation terms will be shown before you purchase. Unless
the law requires otherwise, payments are non-refundable once a billing
period has started. We may change prices with reasonable notice.
</p>
<h2>Availability and changes</h2>
<p>
We aim to keep the site available, but we do not guarantee uninterrupted
access. Maintenance, faults, or circumstances outside our control may
interrupt it. We may suspend or discontinue the service, in whole or in
part, with reasonable notice where practical.
</p>
<h2>Disclaimer</h2>
<p>
{Branding.name()} is an educational tool. We do not promise that using it will
improve your rating or results, and puzzle solutions are provided for
training purposes only. The service is provided "as is" to the extent
permitted by law.
</p>
<h2>Limitation of liability</h2>
<p>
To the extent permitted by law, {Branding.name()} is not liable for indirect or
consequential losses, loss of data, or loss of profits arising from your
use of the service. Nothing in these terms limits liability that cannot be
limited by law, including for death, personal injury, or fraud.
</p>
<h2>Termination</h2>
<p>
You may stop using the service and delete your account at any time. We may
suspend or close an account that breaches these terms, that we reasonably
believe is being misused, or where we are required to do so by law.
</p>
<h2>Governing law</h2>
<p>
These terms are governed by the laws of France. Any dispute
will be handled by the courts of France, unless the law where
you live gives you the right to bring it elsewhere.
</p>
<h2>Contact</h2>
<p>
Questions about these terms can be sent to <a href={"mailto:" <> Branding.support_email()}>{Branding.support_email()}</a>.
</p>
</article>
</main>