From 9025416ab3529f3fa2900f648253da70baf38f78 Mon Sep 17 00:00:00 2001 From: patak <583075+patak-dev@users.noreply.github.com> Date: Tue, 2 Apr 2024 05:17:45 +0200 Subject: [PATCH] feat: update info dialog (#2741) --- components/help/HelpPreview.vue | 8 +++++--- composables/about.ts | 23 ++++++++++++++++++++++- locales/en.json | 8 ++++---- pages/settings/about/index.vue | 2 +- public/avatars/shuuji3-100x100.png | Bin 0 -> 3232 bytes public/avatars/shuuji3-60x60.png | Bin 0 -> 1816 bytes public/avatars/userquin-100x100.png | Bin 0 -> 489 bytes public/avatars/userquin-60x60.png | Bin 0 -> 344 bytes 8 files changed, 32 insertions(+), 9 deletions(-) create mode 100644 public/avatars/shuuji3-100x100.png create mode 100644 public/avatars/shuuji3-60x60.png create mode 100644 public/avatars/userquin-100x100.png create mode 100644 public/avatars/userquin-60x60.png diff --git a/components/help/HelpPreview.vue b/components/help/HelpPreview.vue index 43e8bf24..b08aedc7 100644 --- a/components/help/HelpPreview.vue +++ b/components/help/HelpPreview.vue @@ -30,10 +30,12 @@ const vAutoFocus = (el: HTMLElement) => el.focus() {{ $t('help.desc_para6') }}

- {{ $t('help.desc_para3') }} -

+ + {{ $t('help.desc_para3') }} + +

diff --git a/composables/about.ts b/composables/about.ts index d793c76f..e8527c91 100644 --- a/composables/about.ts +++ b/composables/about.ts @@ -3,8 +3,10 @@ import type { BuildInfo } from '~~/types' export interface Team { github: string display: string - twitter: string + twitter?: string mastodon: string + link: string + sponsors?: string } export const elkTeamMembers: Team[] = [ @@ -13,24 +15,43 @@ export const elkTeamMembers: Team[] = [ display: 'Anthony Fu', twitter: 'antfu7', mastodon: 'antfu@webtoo.ls', + link: '/m.webtoo.ls/@antfu', }, { github: 'patak-dev', display: 'Patak', twitter: 'patak_dev', mastodon: 'patak@webtoo.ls', + link: '/m.webtoo.ls/@patak', }, { github: 'danielroe', display: 'Daniel Roe', twitter: 'danielcroe', mastodon: 'daniel@roe.dev', + link: '/mastodon.roe.dev/@daniel', }, { github: 'sxzz', display: '三咲智子 Kevin Deng', twitter: 'sanxiaozhizi', mastodon: 'sxzz@webtoo.ls', + link: '/m.webtoo.ls/@sxzz', + }, + { + github: 'userquin', + display: 'Joaquín Sánchez', + twitter: 'userquin', + mastodon: 'userquin@webtoo.ls', + link: '/m.webtoo.ls/@userquin', + sponsors: 'elk-zone', // sponsors/userquin isn't enabled + }, + { + github: 'shuuji3', + display: 'TAKAHASHI Shuuji', + mastodon: 'shuuji3@webtoo.ls', + link: '/m.webtoo.ls/@shuuji3', + sponsors: 'elk-zone', // sponsors/shuuji3 isn't enabled }, ].sort(() => Math.random() - 0.5) diff --git a/locales/en.json b/locales/en.json index f6ab77f7..397f9a08 100644 --- a/locales/en.json +++ b/locales/en.json @@ -196,14 +196,14 @@ "title": "Preview deploy" }, "desc_highlight": "Expect some bugs and missing features here and there.", - "desc_para1": "Thanks for your interest in trying out Elk, our work-in-progress Mastodon web client!", - "desc_para2": "we are working hard on the development and improving it over time.", + "desc_para1": "Elk is a nimble Mastodon web client. You can login to your Mastodon account and use it to interact with the fediverse.", + "desc_para2": "Elk is Open Source and we're actively improving it as a community project. Join us and let's build it together!", "desc_para3": "To boost development, you can sponsor the Team through GitHub Sponsors. We hope you enjoy Elk!", - "desc_para4": "Elk is Open Source. If you'd like to help with testing, giving feedback, or contributing,", + "desc_para4": "If you'd like to report a bug, help us testing, give feedback, or contribute,", "desc_para5": "reach out to us on GitHub", "desc_para6": "and get involved.", "footer_team": "The Elk Team", - "title": "Elk is in Preview!" + "title": "Welcome to Elk!" }, "language": { "search": "Search" diff --git a/pages/settings/about/index.vue b/pages/settings/about/index.vue index eb5f861c..d025514a 100644 --- a/pages/settings/about/index.vue +++ b/pages/settings/about/index.vue @@ -124,7 +124,7 @@ function handleShowCommit() {