From 540c851d8fb1151d8dd8cb25f703971f5392c19f Mon Sep 17 00:00:00 2001 From: Paul Makles Date: Mon, 10 Jan 2022 18:18:43 +0000 Subject: [PATCH] feat: full discovery integration --- .../navigation/BottomNavigation.tsx | 14 ++- src/components/settings/AppearanceShims.tsx | 4 +- src/pages/RevoltApp.tsx | 12 +-- src/pages/discover/Discover.tsx | 95 +++++++++++++++---- src/pages/settings/Settings.tsx | 6 -- src/pages/settings/panes/ThemeShop.tsx | 6 ++ 6 files changed, 98 insertions(+), 39 deletions(-) diff --git a/src/components/navigation/BottomNavigation.tsx b/src/components/navigation/BottomNavigation.tsx index 90de4515..c29906bf 100644 --- a/src/components/navigation/BottomNavigation.tsx +++ b/src/components/navigation/BottomNavigation.tsx @@ -1,4 +1,4 @@ -import { Message, Group } from "@styled-icons/boxicons-solid"; +import { Message, Group, Compass } from "@styled-icons/boxicons-solid"; import { observer } from "mobx-react-lite"; import { useHistory, useLocation } from "react-router"; import styled, { css } from "styled-components"; @@ -56,7 +56,8 @@ export default observer(() => { const friendsActive = path.startsWith("/friends"); const settingsActive = path.startsWith("/settings"); - const homeActive = !(friendsActive || settingsActive); + const discoverActive = path.startsWith("/discover"); + const homeActive = !(friendsActive || settingsActive || discoverActive); return ( @@ -102,6 +103,15 @@ export default observer(() => { */} +