This is an automated email from the ASF dual-hosted git repository.

ronny pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/couchdb-fauxton.git


The following commit(s) were added to refs/heads/main by this push:
     new 1f1b4ddf docs: Mastodon Information to replace twitter
1f1b4ddf is described below

commit 1f1b4ddff8634938b276af56c97e4024b35468e9
Author: Francis Gulotta <wiz...@roborooter.com>
AuthorDate: Sat Apr 8 22:04:54 2023 -0400

    docs: Mastodon Information to replace twitter
    
    - Logo taken from official branding https://joinmastodon.org/branding
---
 app/addons/documentation/assets/scss/documentation.scss |   6 +++---
 app/addons/documentation/components.js                  |   6 +++---
 assets/img/mastodon.svg                                 |  10 ++++++++++
 assets/img/twitter.png                                  | Bin 32528 -> 0 bytes
 4 files changed, 16 insertions(+), 6 deletions(-)

diff --git a/app/addons/documentation/assets/scss/documentation.scss 
b/app/addons/documentation/assets/scss/documentation.scss
index 61e38742..6945101f 100644
--- a/app/addons/documentation/assets/scss/documentation.scss
+++ b/app/addons/documentation/assets/scss/documentation.scss
@@ -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;
   }
diff --git a/app/addons/documentation/components.js 
b/app/addons/documentation/components.js
index 9f56172f..98a60148 100644
--- a/app/addons/documentation/components.js
+++ b/app/addons/documentation/components.js
@@ -62,9 +62,9 @@ const DocumentationPage = () => {
           link='http://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'
diff --git a/assets/img/mastodon.svg b/assets/img/mastodon.svg
new file mode 100644
index 00000000..0f8baebf
--- /dev/null
+++ b/assets/img/mastodon.svg
@@ -0,0 +1,10 @@
+<svg width="75" height="79" viewBox="0 0 75 79" fill="none" 
xmlns="http://www.w3.org/2000/svg";>
+<path d="M73.8393 17.4898C72.6973 9.00165 65.2994 2.31235 56.5296 
1.01614C55.05 0.797115 49.4441 0 36.4582 0H36.3612C23.3717 0 20.585 0.797115 
19.1054 1.01614C10.5798 2.27644 2.79399 8.28712 0.904997 16.8758C-0.00358524 
21.1056 -0.100549 25.7949 0.0682394 30.0965C0.308852 36.2651 0.355538 42.423 
0.91577 48.5665C1.30307 52.6474 1.97872 56.6957 2.93763 60.6812C4.73325 68.042 
12.0019 74.1676 19.1233 76.6666C26.7478 79.2728 34.9474 79.7055 42.8039 
77.9162C43.6682 77.7151 44.5217 77.4817 45.3 [...]
+<path d="M61.2484 27.0263V48.114H52.8916V27.6475C52.8916 23.3388 51.096 
21.1413 47.4437 21.1413C43.4287 21.1413 41.4177 23.7409 41.4177 
28.8755V40.0782H33.1111V28.8755C33.1111 23.7409 31.0965 21.1413 27.0815 
21.1413C23.4507 21.1413 21.6371 23.3388 21.6371 
27.6475V48.114H13.2839V27.0263C13.2839 22.7176 14.384 19.2946 16.5843 
16.7572C18.8539 14.2258 21.8311 12.926 25.5264 12.926C29.8036 12.926 33.0357 
14.5705 35.1905 17.8559L37.2698 21.346L39.3527 17.8559C41.5074 14.5705 44.7395 
12.926 49. [...]
+<defs>
+<linearGradient id="paint0_linear_549_34" x1="37.0692" y1="0" x2="37.0692" 
y2="79" gradientUnits="userSpaceOnUse">
+<stop stop-color="#6364FF"/>
+<stop offset="1" stop-color="#563ACC"/>
+</linearGradient>
+</defs>
+</svg>
diff --git a/assets/img/twitter.png b/assets/img/twitter.png
deleted file mode 100644
index c9b89357..00000000
Binary files a/assets/img/twitter.png and /dev/null differ

Reply via email to