forked from Automattic/wordpress-activitypub
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add "Follow Me" block (Automattic#395)
The Follow Me block helps site visitors to follow you in the fediverse --------- Co-authored-by: Matthias Pfefferle <pfefferle@users.noreply.github.com>
- Loading branch information
Showing
26 changed files
with
535 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
{ | ||
"$schema": "https://schemas.wp.org/trunk/block.json", | ||
"name": "activitypub/follow-me", | ||
"apiVersion": 3, | ||
"version": "1.0.0", | ||
"title": "Follow me on the Fediverse", | ||
"category": "widgets", | ||
"description": "Display your Fediverse profile so that visitors can follow you.", | ||
"textdomain": "activitypub", | ||
"icon": "groups", | ||
"supports": { | ||
"html": false, | ||
"color": { | ||
"gradients": true, | ||
"link": true, | ||
"__experimentalDefaultControls": { | ||
"background": true, | ||
"text": true, | ||
"link": true | ||
} | ||
}, | ||
"__experimentalBorder": { | ||
"radius": true, | ||
"width": true, | ||
"color": true, | ||
"style": true | ||
} | ||
}, | ||
"attributes": { | ||
"selectedUser": { | ||
"type": "string", | ||
"default": "site" | ||
} | ||
}, | ||
"editorScript": "file:./index.js", | ||
"viewScript": "file:./view.js", | ||
"style": [ | ||
"file:./style-index.css", | ||
"wp-components" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<?php return array('dependencies' => array('wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => '9d4af3528585afd49437'); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<?php return array('dependencies' => array('wp-api-fetch', 'wp-components', 'wp-compose', 'wp-dom-ready', 'wp-element', 'wp-i18n', 'wp-primitives'), 'version' => '06a922cf2e58c94b6431'); |
Oops, something went wrong.