From 3f75d0df568de30f54a4ab184571b3779ef40727 Mon Sep 17 00:00:00 2001
From: Liyas Thomas
Date: Wed, 9 Sep 2020 12:05:22 +0530
Subject: [PATCH] Make use of GitHub sponsor API
---
assets/css/styles.scss | 7 ++
components/layout/contributors.vue | 139 +++++------------------------
2 files changed, 29 insertions(+), 117 deletions(-)
diff --git a/assets/css/styles.scss b/assets/css/styles.scss
index 6a0e7d642..a86c2acf6 100644
--- a/assets/css/styles.scss
+++ b/assets/css/styles.scss
@@ -774,3 +774,10 @@ section {
overflow-wrap: break-word;
word-break: break-all;
}
+
+.github-sponsor {
+ margin-right: 4px;
+ max-width: 64px;
+ max-height: 64px;
+ border-radius: 100%;
+}
diff --git a/components/layout/contributors.vue b/components/layout/contributors.vue
index 0b3a0689a..a3779d076 100644
--- a/components/layout/contributors.vue
+++ b/components/layout/contributors.vue
@@ -134,123 +134,17 @@
Contribute.