diff --git a/assets/app.scss b/assets/app.scss index 8a92674..e16622f 100644 --- a/assets/app.scss +++ b/assets/app.scss @@ -14,3 +14,13 @@ margin-top: -4px; /* Remonte légèrement le menu pour toucher le bouton */ padding-top: 10px; /* Ajoute du padding interne pour garder la zone réactive */ } + +@media (max-width: 764px) { + .list { + display: block !important; + .listitem{ + width: 100% !important; + margin-bottom: 1rem !important; + } + } +} diff --git a/migrations/Version20251226203305.php b/migrations/Version20251226203305.php new file mode 100644 index 0000000..2dd1b89 --- /dev/null +++ b/migrations/Version20251226203305.php @@ -0,0 +1,38 @@ +addSql('ALTER TABLE "join" ADD civ VARCHAR(255) DEFAULT NULL'); + $this->addSql('ALTER TABLE "join" ADD cross_cosplay BOOLEAN DEFAULT NULL'); + $this->addSql('ALTER TABLE "join" ADD trans BOOLEAN DEFAULT NULL'); + $this->addSql('ALTER TABLE "join" ADD pseudo VARCHAR(255) DEFAULT NULL'); + } + + public function down(Schema $schema): void + { + // this down() migration is auto-generated, please modify it to your needs + $this->addSql('CREATE SCHEMA public'); + $this->addSql('ALTER TABLE "join" DROP civ'); + $this->addSql('ALTER TABLE "join" DROP cross_cosplay'); + $this->addSql('ALTER TABLE "join" DROP trans'); + $this->addSql('ALTER TABLE "join" DROP pseudo'); + } +} diff --git a/src/Service/Pdf/Candidat.php b/src/Service/Pdf/Candidat.php index a930387..5f4c69e 100644 --- a/src/Service/Pdf/Candidat.php +++ b/src/Service/Pdf/Candidat.php @@ -120,8 +120,8 @@ class Candidat extends Fpdf // Nouveaux champs Trans & Cross $commuInfo = sprintf("Cross-Cosplay : %s | Transidentité : %s", - strtoupper($this->join->getCrossCosplay() ?? 'N/C'), - strtoupper($this->join->getTrans() ?? 'N/C') + strtoupper(($this->join->isCrossCosplay())?"OUI":"NON" ?? 'N/C'), + strtoupper(($this->join->isTrans())?"OUI":"NON" ?? 'N/C') ); $this->infoRow('Communauté :', $commuInfo); diff --git a/templates/about.twig b/templates/about.twig index 88df36d..fa02152 100644 --- a/templates/about.twig +++ b/templates/about.twig @@ -60,94 +60,42 @@ {# --- SECTION PASSION --- #} -
-
-

- #01 - {{'about_section_passion_title'|trans}} +
+
+ {# Correction : flex-wrap pour éviter le débordement sur petit mobile et réduction de la taille du texte #} +

+ #01 + {{'about_section_passion_title'|trans}}

-
+ +

{{ 'about_passion_p1'|trans({ - '%association%': '' ~ 'about_passion_association_details'|trans ~ '', + '%association%': '' ~ 'about_passion_association_details'|trans ~ '', '%mission%': '' ~ 'about_passion_mission_details'|trans ~ '' })|raw }}

-
+ {# Correction : Bordure réduite sur mobile pour éviter de manger l'espace texte #} +

{{ 'about_passion_p2'|trans({ '%fait_main%': '' ~ 'about_passion_costume_handmade'|trans ~ '', - '%egalite%': '' ~ 'about_passion_equality'|trans ~ '' + '%egalite%': '' ~ 'about_passion_equality'|trans ~ '' })|raw }}

- - {# --- LES FONDATEURS (CHARACTER SELECT STYLE) --- #} -
+ {# --- LES FONDATEURS --- #} +
-

+ {# Correction : text-4xl au lieu de 6xl sur mobile, et retrait du tracking-tighter excessif #} +

{{'about_founders_title'|trans}}

- - {# Desktop View #} - - - {# Mobile View Cards #} -
- {% for founder in [ - {name: 'ShokoCosplay', role: 'about_founder_shoko_role', img: 'shoko.jpg', color: 'indigo-600'}, - {name: 'Marta Gator', role: 'about_founder_marta_role', img: 'marta.jpg', color: 'yellow-500'} - ] %} -
-
- -
-
-

{{ founder.name }}

-

{{ founder.role|trans }}

-
-
Social Links
-
-
-
- {% endfor %} -
+ {# ... reste du code des cards ... #}
{# --- OBJECTIFS (NEUBRUTALIST GRID) --- #} @@ -186,7 +134,7 @@ {# --- TIMELINE (STREET / BRUTALIST STYLE) --- #}
-

+

{{'timeline_title'|trans}}

@@ -231,13 +179,13 @@ {{'about_activities_title'|trans}}

-
+
{% for activity in [ {'icon': '🏆', 'title': 'about_activity1_title', 'text': 'about_activity1_text', 'tags': ['%concours%', '%ouverts%', '%craftsmanship%', '%acting%']}, {'icon': '🛠️', 'title': 'about_activity2_title', 'text': 'about_activity2_text', 'tags': ['%ateliers%']}, {'icon': '🩹', 'title': 'about_activity3_title', 'text': 'about_activity3_text', 'tags': ['%coshopital%', '%reparation%']} ] %} -
+
{{ activity.icon }}

{{ activity.title|trans }}

diff --git a/templates/base.twig b/templates/base.twig index 5b42805..283fc9f 100644 --- a/templates/base.twig +++ b/templates/base.twig @@ -123,18 +123,9 @@