Refactor shared layouts and remove unused CSS
This commit is contained in:
+14
-20
@@ -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 %}
|
||||
|
||||
Reference in New Issue
Block a user