Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Governance Routes #956

Merged
merged 5 commits into from
Dec 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading
Loading