Compare commits
No commits in common. "10e4305e621996a264d7beb02c00eba880c6882c" and "7656012fa7ee20123b796983ea0819cbde9df45f" have entirely different histories.
10e4305e62
...
7656012fa7
@ -1,47 +0,0 @@
|
||||
body {
|
||||
background-color: #eee;
|
||||
}
|
||||
|
||||
.container {
|
||||
box-sizing: border-box;
|
||||
max-width: 1200px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
header {
|
||||
float: left;
|
||||
padding: 0.25em 1em;
|
||||
}
|
||||
header h1 {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
nav {
|
||||
float: right;
|
||||
padding: 0.25em 1em;
|
||||
}
|
||||
nav ul {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
nav ul li {
|
||||
display: inline;
|
||||
}
|
||||
nav ul li:last-child {
|
||||
margin-left: 1em;
|
||||
}
|
||||
|
||||
main {
|
||||
clear: both;
|
||||
background-color: #fff;
|
||||
border: 1px solid #ccc;
|
||||
padding: 1em;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
footer {
|
||||
text-align: right;
|
||||
padding: 0.25em 1em;
|
||||
}
|
@ -21,7 +21,7 @@ class Routes
|
||||
*/
|
||||
public static function setup(App $app): void
|
||||
{
|
||||
$app->get('/[home]', HomePage::class);
|
||||
$app->get('/', HomePage::class);
|
||||
$app->get('/healthcheck', HealthCheck::class);
|
||||
// User Routes
|
||||
self::users($app);
|
||||
|
@ -2,6 +2,6 @@
|
||||
|
||||
{% block content %}
|
||||
<div>
|
||||
<p>Welcome to Slovocast, the no-bullshit podcast hosting platform.</p>
|
||||
<h1>Slovocast</h1>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
@ -6,34 +6,22 @@
|
||||
<meta name="description" value="{{ site_description }}">
|
||||
<meta name="keywords" value="{{ page_tags }}">
|
||||
{% endblock %}
|
||||
<link rel="stylesheet" href="static/main.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<header>
|
||||
<h1><a href="/home">Slovocast</a></h1>
|
||||
{% block header %}{% endblock %}
|
||||
</header>
|
||||
|
||||
<nav>
|
||||
<ul>
|
||||
{% if logged_in %}
|
||||
<li><a href="/dashboard">Dashboard</a></li>
|
||||
{% else %}
|
||||
<li><a href="/login">Login</a></li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<main>
|
||||
{% include 'layouts/components/flash.twig' %}
|
||||
|
||||
|
||||
{% block content %}{% endblock %}
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
{% block footer %}
|
||||
© 2024, Slovocast
|
||||
{% endblock %}
|
||||
{% block footer %}{% endblock %}
|
||||
</footer>
|
||||
</div>
|
||||
</body>
|
||||
|
Loading…
Reference in New Issue
Block a user