mirror of
https://github.com/TheRealOwenRees/chess-endgame-trainer.git
synced 2026-11-18 11:42:07 +00:00
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:
@@ -70,9 +70,9 @@ defmodule ChesstrainerWeb.Layouts do
|
||||
~H"""
|
||||
<header>
|
||||
<nav class="nav-wrap" aria-label="Main navigation">
|
||||
<a class="brand" href="/" aria-label="Lucid Chess home">
|
||||
<a class="brand" href="/" aria-label={"#{Branding.name()} home"}>
|
||||
<span class="brand-mark">♞</span>
|
||||
<span>LUCID</span>
|
||||
<span>{Branding.wordmark()}</span>
|
||||
</a>
|
||||
|
||||
<div class="nav-right">
|
||||
@@ -166,19 +166,19 @@ defmodule ChesstrainerWeb.Layouts do
|
||||
~H"""
|
||||
<footer class="site-footer">
|
||||
<div class="footer-brand">
|
||||
<a class="brand" href="/" aria-label="Lucid Chess home">
|
||||
<a class="brand" href="/" aria-label={"#{Branding.name()} home"}>
|
||||
<span class="brand-mark">♞</span>
|
||||
<span>LUCID</span>
|
||||
<span>{Branding.wordmark()}</span>
|
||||
</a>
|
||||
<p>Short, focused endgame training.</p>
|
||||
</div>
|
||||
|
||||
<nav class="footer-links" aria-label="Footer">
|
||||
<a href="/#privacy">Privacy Policy</a>
|
||||
<a href="/#terms-conditions">Terms & Conditions</a>
|
||||
<a href="/privacy">Privacy Policy</a>
|
||||
<a href="/terms-conditions">Terms & Conditions</a>
|
||||
</nav>
|
||||
|
||||
<small>© {@year} Lucid Chess</small>
|
||||
<small>© {@year} {Branding.name()}</small>
|
||||
</footer>
|
||||
"""
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user