Skip to content

Commit

Permalink
docs: Mastodon Information to replace twitter
Browse files Browse the repository at this point in the history
- Logo taken from official branding https://joinmastodon.org/branding
  • Loading branch information
reconbot authored and big-r81 committed May 21, 2024
1 parent e43bb4d commit 1f1b4dd
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 6 deletions.
6 changes: 3 additions & 3 deletions app/addons/documentation/assets/scss/documentation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@
padding-left: 70px;
}

.twitter-icon {
background: transparent url('../../../../../assets/img/twitter.png')
.mastodon-icon {
background: transparent url('../../../../../assets/img/mastodon.svg')
no-repeat 50% 50%;
background-size: 60px;
background-size: 40px;
background-position-x: left;
padding-left: 70px;
}
Expand Down
6 changes: 3 additions & 3 deletions app/addons/documentation/components.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ const DocumentationPage = () => {
link='http:https://www.apache.org/'
title='The Apache Software Foundation' />
<DocumentationItem
iconClassName='twitter-icon'
link='https://twitter.com/couchdb'
title='Follow CouchDB on Twitter' />
iconClassName='mastodon-icon'
link='https://fosstodon.org/@couchdb'
title='Follow CouchDB on Mastodon' />
<DocumentationItem
iconClassName='linkedin-icon'
link='https://www.linkedin.com/company/apache-couchdb'
Expand Down
10 changes: 10 additions & 0 deletions assets/img/mastodon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed assets/img/twitter.png
Binary file not shown.

0 comments on commit 1f1b4dd

Please sign in to comment.