feat: initialisation du projet
- Ajout des dépendances dans `composer.json` (Doctrine, Twig, Security, etc.). - Configuration de l’environnement de développement via `.env`. - Mise en place d’un modèle de base pour les assets avec `app.js` et `app.css`. - Création du fichier de configuration `asset_mapper.yaml`. - Ajout de la configuration Docker via `compose.yaml` (PostgreSQL, Mailer). - Ajout des fichiers de base pour les templates Twig (`base.html.twig`). - Mise à jour des ignores dans le fichier `.gitignore`. - Fichiers supplémentaires pour le cache, les tests et les bootstrap Symfony.
This commit is contained in:
17
templates/base.html.twig
Normal file
17
templates/base.html.twig
Normal file
@@ -0,0 +1,17 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>{% block title %}Welcome!{% endblock %}</title>
|
||||
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫️</text><text y=%221.3em%22 x=%220.2em%22 font-size=%2276%22 fill=%22%23fff%22>sf</text></svg>">
|
||||
{% block stylesheets %}
|
||||
{% endblock %}
|
||||
|
||||
{% block javascripts %}
|
||||
{% block importmap %}{{ importmap('app') }}{% endblock %}
|
||||
{% endblock %}
|
||||
</head>
|
||||
<body>
|
||||
{% block body %}{% endblock %}
|
||||
</body>
|
||||
</html>
|
||||
2
templates/hello.html.twig
Normal file
2
templates/hello.html.twig
Normal file
@@ -0,0 +1,2 @@
|
||||
{# templates/hellp.html.twig #}
|
||||
<h1>Hello ! {{ name }}</h1>
|
||||
Reference in New Issue
Block a user