68 lines
1.8 KiB
Twig
68 lines
1.8 KiB
Twig
{% extends 'base.html.twig' %}
|
|
|
|
{% block title %}Willkommen - {{ parent() }}{% endblock %}
|
|
|
|
{% block stylesheets %}
|
|
{{ parent() }}
|
|
<style>
|
|
.welcome-box {
|
|
background: white;
|
|
padding: 30px;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 4px rgba(0,0,0,0.1);
|
|
}
|
|
h2 {
|
|
color: #333;
|
|
border-bottom: 2px solid #4CAF50;
|
|
padding-bottom: 10px;
|
|
margin-bottom: 20px;
|
|
}
|
|
.info {
|
|
margin: 20px 0;
|
|
padding: 15px;
|
|
background-color: #e8f5e9;
|
|
border-left: 4px solid #4CAF50;
|
|
}
|
|
.api-link {
|
|
display: inline-block;
|
|
margin-top: 20px;
|
|
padding: 10px 20px;
|
|
background-color: #4CAF50;
|
|
color: white;
|
|
text-decoration: none;
|
|
border-radius: 4px;
|
|
}
|
|
.api-link:hover {
|
|
background-color: #45a049;
|
|
}
|
|
ul {
|
|
margin-left: 20px;
|
|
}
|
|
ul li {
|
|
margin: 8px 0;
|
|
}
|
|
</style>
|
|
{% endblock %}
|
|
|
|
{% block body %}
|
|
<div class="welcome-box">
|
|
<h2>Willkommen bei Immorechner</h2>
|
|
|
|
<div class="info">
|
|
<p><strong>Symfony-Anwendung erfolgreich installiert!</strong></p>
|
|
<p>Diese Anwendung verfügt über:</p>
|
|
<ul>
|
|
<li>Symfony 7.3 Framework</li>
|
|
<li>MariaDB Datenbank (mit Docker)</li>
|
|
<li>Doctrine ORM</li>
|
|
<li>API Platform für REST-API</li>
|
|
<li>Twig Template Engine für UI</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<p>Die REST-API ist über API Platform verfügbar und bietet automatische Dokumentation.</p>
|
|
|
|
<a href="/api" class="api-link">Zur API-Dokumentation</a>
|
|
</div>
|
|
{% endblock %}
|