Refactor shared layouts and remove unused CSS

This commit is contained in:
2026-02-26 10:53:34 +01:00
parent 7f866282ea
commit d1b5a6b480
9 changed files with 367 additions and 185 deletions
+14 -20
View File
@@ -1,20 +1,14 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Chess</title>
<link
rel="stylesheet"
href="{{ url_for('static', filename='style.css') }}"
/>
</head>
<body>
<h1>Chess Game</h1>
<p>main page</p>
<a href="{{ url_for('auth.login') }}" class="link-button"> Login </a>
<a href="{{ url_for('auth.register') }}" class="link-button"> Register </a>
</body>
</html>
{% extends "base_public.html" %} {% block title %}Chess{% endblock %} {% block
content %}
<section class="public-card">
<h1>Play Chess</h1>
<p class="muted">
Play games and challenge your friends. You just log in or create a new
account below.
</p>
<div class="public-actions">
<a href="{{ url_for('auth.login') }}" class="link-button">Login</a>
<a href="{{ url_for('auth.register') }}" class="link-button">Register</a>
</div>
</section>
{% endblock %}