Skip to content

Commit

Permalink
345 remove version banner (#3349)
Browse files Browse the repository at this point in the history
* remove version banner

* one more version banner
  • Loading branch information
codenamejason authored Apr 24, 2024
1 parent bcee33d commit 5ac158f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const LandingPage = () => {
}, [roundsEndingSoon.data]);

return (
<GradientLayout showWalletInteraction showAlloVersionBanner>
<GradientLayout showWalletInteraction showAlloVersionBanner={false}>
<LandingHero />
<LandingSection
title="Donate now"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ import {
mapApplicationToRound,
useApplication,
} from "../projects/hooks/useApplication";
import { AlloVersionBanner } from "./ViewRoundPage";
import { PassportWidget } from "../common/PassportWidget";

const CalendarIcon = (props: React.SVGProps<SVGSVGElement>) => {
Expand Down Expand Up @@ -217,7 +216,6 @@ export default function ViewProjectDetails() {
return (
<>
<DefaultLayout>
<AlloVersionBanner roundId={roundId} />
{isAfterRoundEndDate && <RoundEndedBanner />}
<div className="flex flex-row justify-between my-8">
<div className="flex items-center pt-2" data-testid="bread-crumbs">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,6 @@ function AfterRoundStart(props: {
<DefaultLayout>
{showCartNotification && renderCartNotification()}
<Navbar />
{props.isBeforeRoundEndDate && <AlloVersionBanner roundId={roundId} />}
{props.isAfterRoundEndDate && (
<div className="relative top-16">
<RoundEndedBanner />
Expand Down

0 comments on commit 5ac158f

Please sign in to comment.