diff --git a/app/public/static/main.css b/app/public/static/main.css new file mode 100644 index 0000000..a109604 --- /dev/null +++ b/app/public/static/main.css @@ -0,0 +1,11 @@ +body { + background-color: #eee; +} + +.container { + max-width: 1200px; + margin: 0 auto; + background-color: #fff; + padding: 1em; + border: 1px solid #ccc; +} diff --git a/app/src/Routes.php b/app/src/Routes.php index fad026a..8dcbfee 100644 --- a/app/src/Routes.php +++ b/app/src/Routes.php @@ -21,7 +21,7 @@ class Routes */ public static function setup(App $app): void { - $app->get('/', HomePage::class); + $app->get('/[home]', HomePage::class); $app->get('/healthcheck', HealthCheck::class); // User Routes self::users($app); diff --git a/app/templates/home.twig b/app/templates/home.twig index 6247624..4b86c17 100644 --- a/app/templates/home.twig +++ b/app/templates/home.twig @@ -2,6 +2,6 @@ {% block content %}
-

Slovocast

+

Welcome to Slovocast, the no-bullshit podcast hosting platform.

{% endblock %} diff --git a/app/templates/layouts/skeleton.twig b/app/templates/layouts/skeleton.twig index 23f9e94..d9612fa 100644 --- a/app/templates/layouts/skeleton.twig +++ b/app/templates/layouts/skeleton.twig @@ -6,17 +6,28 @@ {% endblock %} +
+

Slovocast

{% block header %}{% endblock %}
+ +
{% include 'layouts/components/flash.twig' %} - - {% block content %}{% endblock %}