web/about/community: add a link to bluesky

This commit is contained in:
wukko 2024-11-04 21:26:38 +06:00
parent f4ca4ea719
commit c477b728e1
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2
4 changed files with 12 additions and 2 deletions

View file

@ -27,6 +27,7 @@
"support.discord": "chat with the community and developers about cobalt or ask for help", "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.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.telegram": "stay up to date with latest cobalt updates via a telegram channel",
"support.bluesky": "follow cobalt's updates and development on your bluesky feed",
"support.description.issue": "if you want to report a bug or some other recurring issue, please do it on github.", "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.help": "use discord for any other questions. describe the issue properly in #cobalt-support or else no one will be able help you.",

View file

@ -8,6 +8,7 @@
import IconBrandTwitter from "@tabler/icons-svelte/IconBrandTwitter.svelte"; import IconBrandTwitter from "@tabler/icons-svelte/IconBrandTwitter.svelte";
import IconBrandDiscord from "@tabler/icons-svelte/IconBrandDiscord.svelte"; import IconBrandDiscord from "@tabler/icons-svelte/IconBrandDiscord.svelte";
import IconBrandTelegram from "@tabler/icons-svelte/IconBrandTelegram.svelte"; import IconBrandTelegram from "@tabler/icons-svelte/IconBrandTelegram.svelte";
import IconBrandBluesky from "@tabler/icons-svelte/IconBrandBluesky.svelte";
const platformIcons = { const platformIcons = {
github: { github: {
@ -26,6 +27,10 @@
icon: IconBrandTelegram, icon: IconBrandTelegram,
color: "#1c9efb", color: "#1c9efb",
}, },
bluesky: {
icon: IconBrandBluesky,
color: "#0a78ff",
},
}; };
export let platform: keyof typeof platformIcons; export let platform: keyof typeof platformIcons;

View file

@ -20,7 +20,7 @@ const contacts = {
discord: "https://discord.gg/pQPt8HBUPu", discord: "https://discord.gg/pQPt8HBUPu",
twitter: "https://x.com/justusecobalt", twitter: "https://x.com/justusecobalt",
github: "https://github.com/imputnet/cobalt", github: "https://github.com/imputnet/cobalt",
email: "support@cobalt.tools", bluesky: "https://bsky.app/profile/cobalt.tools",
telegram_ru: "https://t.me/justusecobalt_ru", telegram_ru: "https://t.me/justusecobalt_ru",
} }

View file

@ -14,7 +14,7 @@
id="support-buttons" id="support-buttons"
bind:offsetWidth={buttonContainerWidth} bind:offsetWidth={buttonContainerWidth}
class:two={$locale === "ru"} class="two"
class:one={buttonContainerWidth < 500} class:one={buttonContainerWidth < 500}
> >
<AboutSupport <AboutSupport
@ -36,6 +36,10 @@
platform="twitter" platform="twitter"
externalLink={contacts.twitter} externalLink={contacts.twitter}
/> />
<AboutSupport
platform="bluesky"
externalLink={contacts.bluesky}
/>
{/if} {/if}
</div> </div>