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