From 96c1fceb99f99fbda2464664171ee899e48e03c4 Mon Sep 17 00:00:00 2001
From: Dessalines <tyhou13@gmx.com>
Date: Sun, 19 Jan 2020 16:28:29 -0500
Subject: Fixing sponsor page. Fixes #444

---
 ui/src/components/navbar.tsx | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

(limited to 'ui/src/components/navbar.tsx')

diff --git a/ui/src/components/navbar.tsx b/ui/src/components/navbar.tsx
index 9fa1e3dc..b1dcf096 100644
--- a/ui/src/components/navbar.tsx
+++ b/ui/src/components/navbar.tsx
@@ -128,11 +128,22 @@ export class Navbar extends Component<any, NavbarState> {
                 <T i18nKey="create_community">#</T>
               </Link>
             </li>
+            <li className="nav-item">
+              <Link
+                class="nav-link ml-2"
+                to="/sponsors"
+                title={i18n.t('donate_to_lemmy')}
+              >
+                <svg class="icon">
+                  <use xlinkHref="#icon-coffee"></use>
+                </svg>
+              </Link>
+            </li>
           </ul>
-          <ul class="navbar-nav ml-auto mr-2">
+          <ul class="navbar-nav ml-auto">
             {this.state.isLoggedIn ? (
               <>
-                <li className="nav-item">
+                <li className="nav-item mt-1">
                   <Link class="nav-link" to="/inbox">
                     <svg class="icon">
                       <use xlinkHref="#icon-mail"></use>
-- 
cgit v1.2.3

