Skip to content

Commit

Permalink
update routes
Browse files Browse the repository at this point in the history
  • Loading branch information
corlard3y committed Dec 23, 2024
1 parent d203c86 commit c5c1164
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/components/Chain/ChainHeroSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ const ChainHeroSection: FC = () => {
return (
<ChainHeroSectionWrapper>
<ChainAlertBar
text='Push Chain Governance Proposal is Live'
url='https://gov.push.org/t/introducing-push-chain-a-shared-state-l1-for-universal-apps/1991'
text='Push Chain proposal has successfully passed'
url='https://snapshot.box/#/s:pushdao.eth/proposal/0xa4a301c9a346356326d59e425245459d9fbde71b02aabc49a4ce191f0504f66a'
center={true}
/>
<HeroText>
Expand Down
4 changes: 2 additions & 2 deletions src/pages/home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export default function Home({ homePageBlogMetadata, recentPosts }) {
};

const noNavbar = false;
const alertLink = `https://gov.push.org/t/introducing-push-chain-a-shared-state-l1-for-universal-apps/1991`;
const alertLink = `https://snapshot.box/#/s:pushdao.eth/proposal/0xa4a301c9a346356326d59e425245459d9fbde71b02aabc49a4ce191f0504f66a`;

return (
<Layout
Expand Down Expand Up @@ -158,7 +158,7 @@ export default function Home({ homePageBlogMetadata, recentPosts }) {
<HeroPrimary flex='initial' justifyContent='flex-start'>
<HeroItem maxWidth='50%' alignItems='flex-start'>
<InfoBar
text='Push Chain Governance Proposal is Live'
text='Push Chain proposal has successfully passed'
url={alertLink}
/>

Expand Down
2 changes: 0 additions & 2 deletions src/theme/Root.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import ServerStyle from '@site/src/theme/ServerStyle';
import CookieComponent from '../components/CookieComponent';
import { useSiteBaseUrl } from '../utils/useSiteBaseUrl';
import { Notification } from '../hooks/useRewardsNotification';
import { useChainNotification } from '../hooks/useChainNotification';

// Initialize Internalization
i18nInitialize();
Expand Down Expand Up @@ -47,7 +46,6 @@ export default function Root({ children }) {
const shouldRenderFooter = excludePaths.every((path) =>
excludeDefaultConfigAt(path)
);
useChainNotification();

// return superimposed class names if conditions are met
function returnAdditionalClasses(conditions) {
Expand Down

0 comments on commit c5c1164

Please sign in to comment.