diff --git a/assets/styles/app.css b/assets/styles/app.css index f52a8ac..d42a065 100644 --- a/assets/styles/app.css +++ b/assets/styles/app.css @@ -4,4 +4,33 @@ body { background-color: skyblue; + display: flex; + flex-direction: column; + min-height: 100vh; } + +html, body { + height: 100%; /* S'assurer que la hauteur de la page prend tout l'espace disponible */ + margin: 0; +} + +main { + flex-grow: 1; /* Permet au contenu principal de prendre l'espace restant */ +} + +footer { + background-color: #f8f9fa; + padding: 20px; + text-align: center; +} + +.star { + cursor: pointer; + font-size: 2rem; + color: lightgray; + transition: color 0.3s; +} + +.star.text-yellow-500 { + color: gold; +} \ No newline at end of file diff --git a/src/Controller/MainController.php b/src/Controller/MainController.php new file mode 100644 index 0000000..878d088 --- /dev/null +++ b/src/Controller/MainController.php @@ -0,0 +1,16 @@ +render('main/index.html.twig'); + } +} diff --git a/templates/main/base.html.twig b/templates/main/base.html.twig new file mode 100644 index 0000000..0980fde --- /dev/null +++ b/templates/main/base.html.twig @@ -0,0 +1,48 @@ + + +
+ +
+ Vous pouvez créer une liste de voeux facilement depuis mon application web ! Cliquer sur le bouton juste en dessous pour continuer
+test
+