diff --git a/app/icons/fediverse.svg b/app/icons/fediverse.svg
new file mode 100644
index 000000000..4cd3cb938
--- /dev/null
+++ b/app/icons/fediverse.svg
@@ -0,0 +1,3 @@
+
diff --git a/app/soapbox/components/primary_navigation.js b/app/soapbox/components/primary_navigation.js
index a1c3b5362..0e1474081 100644
--- a/app/soapbox/components/primary_navigation.js
+++ b/app/soapbox/components/primary_navigation.js
@@ -51,40 +51,61 @@ class PrimaryNavigation extends React.PureComponent {
};
render() {
- const { account, features, notificationCount, chatsCount, dashboardCount } = this.props;
+ const { account, features, notificationCount, chatsCount, dashboardCount, siteTitle } = this.props;
return (
-
+
{account &&
-
+ 0 ? require('@tabler/icons/icons/bell-ringing-2.svg') : require('@tabler/icons/icons/bell.svg')}
+ className='primary-navigation__icon'
+ count={notificationCount}
+ />
}
{(features.chats && account) &&
-
+
}
{(account && isStaff(account)) &&
-
+
}
- {/*
-
- {federating ? siteTitle : }
- */}
+
- {/* federating &&
-
+ {features.federating ? (
+
+
+ {siteTitle}
+
+ ) : (
+
+
+
+
+ )}
+
+ {features.federating &&
+
- */}
+ }
);
diff --git a/app/soapbox/components/thumb_navigation.js b/app/soapbox/components/thumb_navigation.js
index 1b968f51b..9ffd4c0fb 100644
--- a/app/soapbox/components/thumb_navigation.js
+++ b/app/soapbox/components/thumb_navigation.js
@@ -42,7 +42,7 @@ class ThumbNavigation extends React.PureComponent {
}
render() {
- const { account, notificationCount, dashboardCount, location, features } = this.props;
+ const { account, notificationCount, chatsCount, dashboardCount, location, features } = this.props;
return (
@@ -68,9 +68,10 @@ class ThumbNavigation extends React.PureComponent {
{(features.chats && account) && (
-
diff --git a/app/styles/navigation.scss b/app/styles/navigation.scss
index 82c21475d..75962777f 100644
--- a/app/styles/navigation.scss
+++ b/app/styles/navigation.scss
@@ -8,18 +8,14 @@
font-size: 19px;
font-weight: bold;
- > i.fa,
- > .icon-with-counter {
- width: 25px;
- margin-right: 5px;
- display: flex;
- align-items: center;
- justify-content: center;
- }
+ .svg-icon {
+ width: 26px;
+ height: 26px;
+ margin-right: 10px;
- > .svg-icon {
- width: 25px;
- margin-right: 5px;
+ svg.icon-tabler {
+ stroke-width: 1.5px;
+ }
}
&::before {
@@ -31,6 +27,16 @@
&__icon {
margin-right: 5px;
}
+
+ hr {
+ border: 0;
+ height: 1px;
+ width: 100%;
+ background: hsla(var(--primary-text-color_hsl), 0.12);
+ max-width: 230px;
+ text-align: left;
+ margin: 10px 0;
+ }
}
}