mirror of
https://github.com/go-task/task.git
synced 2025-08-10 22:42:19 +02:00
Website/README: Add link to the Mastodon account
This commit is contained in:
@@ -10,7 +10,7 @@
|
|||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<a href="https://taskfile.dev/installation/">Installation</a> | <a href="https://taskfile.dev/usage/">Documentation</a> | <a href="https://twitter.com/taskfiledev">Twitter</a> | <a href="https://discord.gg/6TY36E39UK">Discord</a>
|
<a href="https://taskfile.dev/installation/">Installation</a> | <a href="https://taskfile.dev/usage/">Documentation</a> | <a href="https://twitter.com/taskfiledev">Twitter</a> | <a href="https://fosstodon.org/@task">Mastodon</a> | <a href="https://discord.gg/6TY36E39UK">Discord</a>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@@ -1,11 +1,13 @@
|
|||||||
const GITHUB_URL = 'https://github.com/go-task/task';
|
const GITHUB_URL = 'https://github.com/go-task/task';
|
||||||
const TWITTER_URL = 'https://twitter.com/taskfiledev';
|
const TWITTER_URL = 'https://twitter.com/taskfiledev';
|
||||||
|
const MASTODON_URL = 'https://fosstodon.org/@task';
|
||||||
const DISCORD_URL = 'https://discord.gg/6TY36E39UK';
|
const DISCORD_URL = 'https://discord.gg/6TY36E39UK';
|
||||||
const CHINESE_URL = 'https://task-zh.readthedocs.io/zh_CN/latest/';
|
const CHINESE_URL = 'https://task-zh.readthedocs.io/zh_CN/latest/';
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
GITHUB_URL,
|
CHINESE_URL,
|
||||||
TWITTER_URL,
|
|
||||||
DISCORD_URL,
|
DISCORD_URL,
|
||||||
CHINESE_URL
|
GITHUB_URL,
|
||||||
|
MASTODON_URL,
|
||||||
|
TWITTER_URL
|
||||||
};
|
};
|
||||||
|
@@ -2,10 +2,11 @@
|
|||||||
// Note: type annotations allow type checking and IDEs autocompletion
|
// Note: type annotations allow type checking and IDEs autocompletion
|
||||||
|
|
||||||
const {
|
const {
|
||||||
GITHUB_URL,
|
CHINESE_URL,
|
||||||
TWITTER_URL,
|
|
||||||
DISCORD_URL,
|
DISCORD_URL,
|
||||||
CHINESE_URL
|
GITHUB_URL,
|
||||||
|
MASTODON_URL,
|
||||||
|
TWITTER_URL
|
||||||
} = require('./constants');
|
} = require('./constants');
|
||||||
const lightCodeTheme = require('./src/themes/prismLight');
|
const lightCodeTheme = require('./src/themes/prismLight');
|
||||||
const darkCodeTheme = require('./src/themes/prismDark');
|
const darkCodeTheme = require('./src/themes/prismDark');
|
||||||
@@ -108,6 +109,11 @@ const config = {
|
|||||||
label: 'Twitter',
|
label: 'Twitter',
|
||||||
position: 'right'
|
position: 'right'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
href: MASTODON_URL,
|
||||||
|
label: 'Mastodon',
|
||||||
|
position: 'right'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
href: DISCORD_URL,
|
href: DISCORD_URL,
|
||||||
label: 'Discord',
|
label: 'Discord',
|
||||||
@@ -146,6 +152,10 @@ const config = {
|
|||||||
label: 'Twitter',
|
label: 'Twitter',
|
||||||
href: TWITTER_URL
|
href: TWITTER_URL
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
label: 'Mastodon',
|
||||||
|
href: MASTODON_URL
|
||||||
|
},
|
||||||
{
|
{
|
||||||
label: 'Discord',
|
label: 'Discord',
|
||||||
href: DISCORD_URL
|
href: DISCORD_URL
|
||||||
|
Reference in New Issue
Block a user