From 6acf8a92caca7521d6f96dc67b3a7f85eaa5779b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Mestres?= Date: Fri, 31 May 2024 11:33:34 +0200 Subject: [PATCH] chore: add a "bug" section & rearrange top bar --- app/components/about.hbs | 36 +++++++++-------- app/components/issue.hbs | 50 ++++++++++++++++++++++++ app/components/settings-form/support.hbs | 2 +- app/components/theme-switcher.hbs | 16 ++++---- app/styles/app.scss | 18 +++++++-- app/templates/application.hbs | 19 ++++----- translations/en-us.yaml | 14 ++++++- translations/fr-fr.yaml | 14 ++++++- 8 files changed, 130 insertions(+), 39 deletions(-) create mode 100644 app/components/issue.hbs diff --git a/app/components/about.hbs b/app/components/about.hbs index 63411db..0a23497 100644 --- a/app/components/about.hbs +++ b/app/components/about.hbs @@ -1,32 +1,36 @@ + + {{t 'info.label'}} + -
-

- {{t "info.made_by" +

+

+ {{t + 'info.made_by' author=this.authorLink ember=this.emberLink three=this.threeLink htmlSafe=true }}

-

- {{t "info.github"}} -

-

- {{t "info.issue"}} +

+ {{t + 'info.github' + }}

\ No newline at end of file diff --git a/app/components/issue.hbs b/app/components/issue.hbs new file mode 100644 index 0000000..3dfc644 --- /dev/null +++ b/app/components/issue.hbs @@ -0,0 +1,50 @@ + + + + {{t 'issue.label'}} + + + +
+

{{t 'issue.info'}}

+ +

{{t 'issue.know_bug.free' htmlSafe=true}}

+
+ +

{{t 'issue.know_bug.font' htmlSafe=true}}

+

{{t 'issue.know_bug.font1'}}

+
+ +

{{t 'issue.know_bug.emoji' htmlSafe=true}}

+

{{t 'issue.know_bug.emoji1'}}

+

{{t 'issue.know_bug.emoji2'}}

+
+ +

{{t 'issue.know_bug.three_js' htmlSafe=true}}

+ +

+ + {{t 'issue.know_bug.submit'}} +
+ {{t 'issue.know_bug.gh_account' htmlSafe=true}} +

+
+
\ No newline at end of file diff --git a/app/components/settings-form/support.hbs b/app/components/settings-form/support.hbs index ff16eaa..b64163d 100644 --- a/app/components/settings-form/support.hbs +++ b/app/components/settings-form/support.hbs @@ -35,7 +35,7 @@ {{t (concat 'directions.' pos)}} - - {{t "switch_theme_tooltip" current=this.theme}} + + {{t 'switch_theme_tooltip' current=this.theme}} \ No newline at end of file diff --git a/app/styles/app.scss b/app/styles/app.scss index b5af598..2b7db0d 100644 --- a/app/styles/app.scss +++ b/app/styles/app.scss @@ -1,21 +1,33 @@ @import './spacing'; -.w-70 { +.w-30p { + width: 30%; +} + +.w-70p { width: 70%; } -.w-75 { +.w-75p { width: 75%; } -.w-80 { +.w-80p { width: 80%; } +.w-40 { + width: 40rem; +} + .center { text-align: center; } +.bold { + font-weight: bold; +} + .visualy-hidden { visibility: hidden; } diff --git a/app/templates/application.hbs b/app/templates/application.hbs index 7f75e24..47db852 100644 --- a/app/templates/application.hbs +++ b/app/templates/application.hbs @@ -1,17 +1,18 @@ -{{page-title (concat (t "app_name") " - " (t "app_title"))}} +{{page-title (concat (t 'app_name') ' - ' (t 'app_title'))}} - -