diff --git a/web/i18n/en/about.json b/web/i18n/en/about.json index cfe9129f..10d31ec2 100644 --- a/web/i18n/en/about.json +++ b/web/i18n/en/about.json @@ -8,12 +8,6 @@ "page.terms": "terms and ethics", "page.credits": "thanks & licenses", - "community.discord": "community discord server", - "community.twitter": "news account on twitter", - "community.github": "github repo", - "community.email": "support email", - "community.telegram": "news channel on telegram", - "heading.general": "general terms", "heading.licenses": "licenses", "heading.summary": "best way to save what you love", @@ -27,5 +21,14 @@ "heading.responsibility": "user responsibilities", "heading.abuse": "reporting abuse", "heading.motivation": "motivation", - "heading.testers": "beta testers" + "heading.testers": "beta testers", + + "support.github": "check out cobalt's source code, contribute changes, or report issues", + "support.discord": "chat with the community and developers about cobalt or ask for help", + "support.twitter": "follow cobalt's updates and development on your twitter timeline", + "support.telegram": "stay up to date with latest cobalt updates via a telegram channel", + + "support.description.issue": "if you want to report a bug or some other recurring issue, please do it on github.", + "support.description.help": "use discord for any other questions. describe the issue properly in #cobalt-support or else no one will be able help you.", + "support.description.best-effort": "all support is best effort and not guaranteed, a reply might take some time." } diff --git a/web/src/components/about/AboutSupport.svelte b/web/src/components/about/AboutSupport.svelte new file mode 100644 index 00000000..2d4727f4 --- /dev/null +++ b/web/src/components/about/AboutSupport.svelte @@ -0,0 +1,116 @@ + + + + + diff --git a/web/src/routes/about/community/+page.svelte b/web/src/routes/about/community/+page.svelte index e0638015..f5c20bf4 100644 --- a/web/src/routes/about/community/+page.svelte +++ b/web/src/routes/about/community/+page.svelte @@ -4,61 +4,76 @@ import { contacts } from "$lib/env"; import { t } from "$lib/i18n/translations"; - import DonateAltItem from "$components/donate/DonateAltItem.svelte"; + import AboutSupport from "$components/about/AboutSupport.svelte"; + + let buttonContainerWidth: number; - -
- {#if $locale !== "ru"} - +
+ - - {/if} + {#if $locale === "ru"} + + {:else} + + + {/if} +
- +
+ {$t("about.support.description.issue")} - + {#if $locale !== "ru"} + {$t("about.support.description.help")} + {/if} - {#if $locale === "ru"} - - {/if} + {$t("about.support.description.best-effort")} +