From 80d65d488ed99c278adda5a075e5c146f956634b Mon Sep 17 00:00:00 2001 From: Carey Gumaer Date: Mon, 29 Jul 2024 15:48:27 -0400 Subject: [PATCH] remove header / subheader display from below channel banner --- .../ChannelPage/DefaultChannelTemplate.tsx | 47 +------------------ 1 file changed, 1 insertion(+), 46 deletions(-) diff --git a/frontends/mit-open/src/pages/ChannelPage/DefaultChannelTemplate.tsx b/frontends/mit-open/src/pages/ChannelPage/DefaultChannelTemplate.tsx index ef46a8120c..4e537c6712 100644 --- a/frontends/mit-open/src/pages/ChannelPage/DefaultChannelTemplate.tsx +++ b/frontends/mit-open/src/pages/ChannelPage/DefaultChannelTemplate.tsx @@ -1,11 +1,5 @@ import React from "react" -import { - styled, - Container, - Typography, - Breadcrumbs, - Banner, -} from "ol-components" +import { styled, Breadcrumbs, Banner } from "ol-components" import { MetaTags } from "ol-utilities" import { SearchSubscriptionToggle } from "@/page-components/SearchSubscriptionToggle/SearchSubscriptionToggle" import { useChannelDetail } from "api/hooks/channels" @@ -16,25 +10,8 @@ import { HOME as HOME_URL } from "../../common/urls" import { CHANNEL_TYPE_BREADCRUMB_TARGETS, ChannelControls, - ChannelTitleRow, } from "./ChannelPageTemplate" -const HeadingTextContainer = styled.div(({ theme }) => ({ - display: "flex", - flexDirection: "row", - alignItems: "center", - flexGrow: 0, - flexShrink: 0, - order: 2, - my: 1, - [theme.breakpoints.down("sm")]: { - width: "100%", - }, - [theme.breakpoints.up("md")]: { - width: "80%", - }, -})) - const ChannelControlsContainer = styled.div(({ theme }) => ({ display: "flex", flexDirection: "row", @@ -136,28 +113,6 @@ const DefaultChannelTemplate: React.FC = ({ } /> - - - {displayConfiguration?.heading ? ( - - - {displayConfiguration.heading} - - - ) : ( - <> - )} - {displayConfiguration?.sub_heading ? ( - - - {displayConfiguration.sub_heading} - - - ) : ( - <> - )} - - {children} )