Skip to content

Commit

Permalink
Merge pull request #941 from near/remove_banner
Browse files Browse the repository at this point in the history
chore: remove the horizon banner since the cohort has already kicked off
  • Loading branch information
charleslavon authored Jan 29, 2024
2 parents 9967da3 + 66bd0c9 commit ee0f57b
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 119 deletions.
115 changes: 0 additions & 115 deletions src/components/banner/Horizon.tsx

This file was deleted.

2 changes: 0 additions & 2 deletions src/components/navigation/desktop/DesktopNavigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import { NotificationButton } from '../NotificationButton';
import { UserDropdownMenu } from '../UserDropdownMenu';
import { MainNavigationMenu } from './MainNavigationMenu';
import { TypeAheadDropdown } from './TypeAheadDropdown';
import { HorizonBanner } from '@/components/banner/Horizon';

const Wrapper = styled.div<{
scrolled?: boolean;
Expand Down Expand Up @@ -171,7 +170,6 @@ export const DesktopNavigation = () => {

return (
<>
<HorizonBanner />
<Wrapper scrolled={scrolled}>
<Container className="container-xl">
<Link href="/" passHref legacyBehavior>
Expand Down
2 changes: 0 additions & 2 deletions src/components/navigation/mobile/Menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import { useAuthStore } from '@/stores/auth';

import SearchIcon from '../icons/search.svg';
import { AccordionMenu } from './AccordionMenu';
import { HorizonBanner } from '@/components/banner/Horizon';

type Props = {
isVisible: boolean;
Expand Down Expand Up @@ -117,7 +116,6 @@ export function Menu(props: Props) {
return (
<Wrapper visible={props.isVisible}>
<InnerWrapper>
<HorizonBanner />
<SearchButton onClick={search}>Search NEAR</SearchButton>

<AccordionMenu onCloseMenu={props.onCloseMenu} />
Expand Down

0 comments on commit ee0f57b

Please sign in to comment.