From 5650c8454abf7279cd57771408ace9ab058d6354 Mon Sep 17 00:00:00 2001 From: israellund Date: Mon, 25 Nov 2024 10:33:04 -0600 Subject: [PATCH 1/2] removed all-overview page growl --- .../scripts/views/pages/discussions/DiscussionsPage.tsx | 8 -------- 1 file changed, 8 deletions(-) diff --git a/packages/commonwealth/client/scripts/views/pages/discussions/DiscussionsPage.tsx b/packages/commonwealth/client/scripts/views/pages/discussions/DiscussionsPage.tsx index ff9eb028d88..8d4dbae99dc 100644 --- a/packages/commonwealth/client/scripts/views/pages/discussions/DiscussionsPage.tsx +++ b/packages/commonwealth/client/scripts/views/pages/discussions/DiscussionsPage.tsx @@ -37,7 +37,6 @@ import useCommunityContests from 'views/pages/CommunityManagement/Contests/useCo import { isContestActive } from 'views/pages/CommunityManagement/Contests/utils'; import useTokenMetadataQuery from '../../../state/api/tokens/getTokenMetadata'; import { AdminOnboardingSlider } from '../../components/AdminOnboardingSlider'; -import { CWGrowlTemplate } from '../../components/SublayoutHeader/GrowlTemplate/CWGrowlTemplate'; import { UserTrainingSlider } from '../../components/UserTrainingSlider'; import { CWText } from '../../components/component_kit/cw_text'; import CWIconButton from '../../components/component_kit/new_designs/CWIconButton'; @@ -398,13 +397,6 @@ const DiscussionsPage = ({ topicName }: DiscussionsPageProps) => { hideRecentComments editingDisabled={isThreadTopicInContest} /> - ); }} From 2113e210c463a1941f636d44817609faef8ab92a Mon Sep 17 00:00:00 2001 From: israellund Date: Mon, 25 Nov 2024 10:43:35 -0600 Subject: [PATCH 2/2] removed litepaper growl --- .../client/assets/img/litepaperGrowlImage.svg | 160 ------------------ .../client/scripts/views/Sublayout.tsx | 12 -- 2 files changed, 172 deletions(-) delete mode 100644 packages/commonwealth/client/assets/img/litepaperGrowlImage.svg diff --git a/packages/commonwealth/client/assets/img/litepaperGrowlImage.svg b/packages/commonwealth/client/assets/img/litepaperGrowlImage.svg deleted file mode 100644 index 48f4ff633b0..00000000000 --- a/packages/commonwealth/client/assets/img/litepaperGrowlImage.svg +++ /dev/null @@ -1,160 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/packages/commonwealth/client/scripts/views/Sublayout.tsx b/packages/commonwealth/client/scripts/views/Sublayout.tsx index 5ab1af5353a..6de7c482e56 100644 --- a/packages/commonwealth/client/scripts/views/Sublayout.tsx +++ b/packages/commonwealth/client/scripts/views/Sublayout.tsx @@ -8,7 +8,6 @@ import app from 'state'; import useSidebarStore from 'state/ui/sidebar'; import { SublayoutHeader } from 'views/components/SublayoutHeader'; import { Sidebar } from 'views/components/sidebar'; -import litepaperGrowlImage from '../../assets/img/litepaperGrowlImage.svg'; import useNecessaryEffect from '../hooks/useNecessaryEffect'; import useStickyHeader from '../hooks/useStickyHeader'; import { useAuthModalStore, useWelcomeOnboardModal } from '../state/ui/modals'; @@ -18,7 +17,6 @@ import { AdminOnboardingSlider } from './components/AdminOnboardingSlider'; import { Breadcrumbs } from './components/Breadcrumbs'; import MobileNavigation from './components/MobileNavigation'; import AuthButtons from './components/SublayoutHeader/AuthButtons'; -import { CWGrowlTemplate } from './components/SublayoutHeader/GrowlTemplate/CWGrowlTemplate'; import { UserTrainingSlider } from './components/UserTrainingSlider'; import CollapsableSidebarButton from './components/sidebar/CollapsableSidebarButton'; import { AuthModal, AuthModalType } from './modals/AuthModal'; @@ -175,16 +173,6 @@ const Sublayout = ({ children, isInsideCommunity }: SublayoutProps) => { )} {children} -