diff --git a/.gitea/issue_template/bug_report.yaml b/.gitea/issue_template/bug_report.yaml new file mode 100644 index 0000000..829441b --- /dev/null +++ b/.gitea/issue_template/bug_report.yaml @@ -0,0 +1,21 @@ +name: Report Bug +about: Signaler un bug rencontré dans le jeu +labels: + - "type: bug" +body: + - type: input + id: game_id + attributes: + label: Game ID + description: L'identifiant de la partie concernée + placeholder: "ex: 42" + validations: + required: false + - type: textarea + id: description + attributes: + label: Description + description: Décrivez le bug rencontré + placeholder: Décrivez ce qui s'est passé et ce que vous attendiez... + validations: + required: true diff --git a/assets/styles/app.css b/assets/styles/app.css index 52e4de9..cd0252d 100644 --- a/assets/styles/app.css +++ b/assets/styles/app.css @@ -540,3 +540,30 @@ body { padding: 14px 32px; font-size: 16px; } + +/* ── Game footer ── */ + +.game-footer { + display: flex; + justify-content: flex-end; + margin-top: 8px; +} + +.btn-bug-report { + display: inline-flex; + align-items: center; + gap: 5px; + padding: 5px 12px; + font-family: 'Inter', sans-serif; + font-size: 12px; + font-weight: 500; + color: var(--text-faint); + text-decoration: none; + border-radius: 100px; + transition: color 0.15s, background 0.15s; +} + +.btn-bug-report:hover { + color: var(--orange); + background: var(--surface-tint); +} diff --git a/templates/homepage/index.html.twig b/templates/homepage/index.html.twig index ee0e2b1..c393baa 100644 --- a/templates/homepage/index.html.twig +++ b/templates/homepage/index.html.twig @@ -15,6 +15,17 @@ width: width, middle: middle, }) }}> + + {% else %}