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

Fix Minor Migration Issues #977

Merged
merged 1 commit into from
Jan 15, 2025
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
48 changes: 48 additions & 0 deletions docs/chat/chat.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
id: chat
title: Push Chat
hide_title: true
displayed_sidebar: pushChatSidebar
slug: ./
sidebar_position: 1
---

import React, { useEffect } from 'react';
import styled from 'styled-components';
import PushLogo from '@site/static/assets/website/brb/pushIcon.svg';
import ChainLogoDark from '@site/static/assets/website/chain/ChainLogoDark.svg';

import { ItemV } from '../../src/css/SharedStyling';

export default function ChatRedirect() {
useEffect(() => {
window.location.href = 'https://comms.push.org/docs/chat';
}, []);

const Container = styled.div` display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 400px;
color: white;
text-align: center;`;

const PushLogoBlackContainer = styled(ItemV)` display: flex;
flex-direction: row;
align-items: center;
color: #fff;`;

const Message = styled.p` font-size: 18px;
color: var(--ifm-color-primary-text);
margin-top: 8px;`;

return (

<Container>
<PushLogoBlackContainer className='headerlogo' flex='initial'>
<PushLogo style={{ margin: '0px 9px 0px 4px' }} />
<ChainLogoDark />
</PushLogoBlackContainer>
<Message>Redirecting...</Message>
</Container>
) }
48 changes: 48 additions & 0 deletions docs/dao/dao.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
id: dao
title: Push DAO
hide_title: true
displayed_sidebar: pushDaoSidebar
slug: ./
sidebar_position: 1
---

import React, { useEffect } from 'react';
import styled from 'styled-components';
import PushLogo from '@site/static/assets/website/brb/pushIcon.svg';
import ChainLogoDark from '@site/static/assets/website/chain/ChainLogoDark.svg';

import { ItemV } from '../../src/css/SharedStyling';

export default function ChatRedirect() {
useEffect(() => {
window.location.href = 'https://comms.push.org/docs/dao';
}, []);

const Container = styled.div` display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 400px;
color: white;
text-align: center;`;

const PushLogoBlackContainer = styled(ItemV)` display: flex;
flex-direction: row;
align-items: center;
color: #fff;`;

const Message = styled.p` font-size: 18px;
color: var(--ifm-color-primary-text);
margin-top: 8px;`;

return (

<Container>
<PushLogoBlackContainer className='headerlogo' flex='initial'>
<PushLogo style={{ margin: '0px 9px 0px 4px' }} />
<ChainLogoDark />
</PushLogoBlackContainer>
<Message>Redirecting...</Message>
</Container>
) }
48 changes: 48 additions & 0 deletions docs/hackers/hackers.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
id: hackers
title: Hackers
hide_title: true
displayed_sidebar: pushHackersSidebar
slug: ./
sidebar_position: 1
---

import React, { useEffect } from 'react';
import styled from 'styled-components';
import PushLogo from '@site/static/assets/website/brb/pushIcon.svg';
import ChainLogoDark from '@site/static/assets/website/chain/ChainLogoDark.svg';

import { ItemV } from '../../src/css/SharedStyling';

export default function ChatRedirect() {
useEffect(() => {
window.location.href = 'https://comms.push.org/docs/hackers';
}, []);

const Container = styled.div` display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 400px;
color: white;
text-align: center;`;

const PushLogoBlackContainer = styled(ItemV)` display: flex;
flex-direction: row;
align-items: center;
color: #fff;`;

const Message = styled.p` font-size: 18px;
color: var(--ifm-color-primary-text);
margin-top: 8px;`;

return (

<Container>
<PushLogoBlackContainer className='headerlogo' flex='initial'>
<PushLogo style={{ margin: '0px 9px 0px 4px' }} />
<ChainLogoDark />
</PushLogoBlackContainer>
<Message>Redirecting...</Message>
</Container>
) }
48 changes: 48 additions & 0 deletions docs/notifications/notifications.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
id: notifications
title: Push Notifications
hide_title: true
displayed_sidebar: pushNotificationSidebar
slug: ./
sidebar_position: 1
---

import React, { useEffect } from 'react';
import styled from 'styled-components';
import PushLogo from '@site/static/assets/website/brb/pushIcon.svg';
import ChainLogoDark from '@site/static/assets/website/chain/ChainLogoDark.svg';

import { ItemV } from '../../src/css/SharedStyling';

export default function ChatRedirect() {
useEffect(() => {
window.location.href = 'https://comms.push.org/docs/notifications';
}, []);

const Container = styled.div` display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 400px;
color: white;
text-align: center;`;

const PushLogoBlackContainer = styled(ItemV)` display: flex;
flex-direction: row;
align-items: center;
color: #fff;`;

const Message = styled.p` font-size: 18px;
color: var(--ifm-color-primary-text);
margin-top: 8px;`;

return (

<Container>
<PushLogoBlackContainer className='headerlogo' flex='initial'>
<PushLogo style={{ margin: '0px 9px 0px 4px' }} />
<ChainLogoDark />
</PushLogoBlackContainer>
<Message>Redirecting...</Message>
</Container>
) }
48 changes: 48 additions & 0 deletions docs/rewards/rewards.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
id: rewards
title: Push Rewards
hide_title: true
displayed_sidebar: pushRewardsSidebar
slug: ./
sidebar_position: 1
---

import React, { useEffect } from 'react';
import styled from 'styled-components';
import PushLogo from '@site/static/assets/website/brb/pushIcon.svg';
import ChainLogoDark from '@site/static/assets/website/chain/ChainLogoDark.svg';

import { ItemV } from '../../src/css/SharedStyling';

export default function ChatRedirect() {
useEffect(() => {
window.location.href = 'https://comms.push.org/docs/rewards';
}, []);

const Container = styled.div` display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 400px;
color: white;
text-align: center;`;

const PushLogoBlackContainer = styled(ItemV)` display: flex;
flex-direction: row;
align-items: center;
color: #fff;`;

const Message = styled.p` font-size: 18px;
color: var(--ifm-color-primary-text);
margin-top: 8px;`;

return (

<Container>
<PushLogoBlackContainer className='headerlogo' flex='initial'>
<PushLogo style={{ margin: '0px 9px 0px 4px' }} />
<ChainLogoDark />
</PushLogoBlackContainer>
<Message>Redirecting...</Message>
</Container>
) }
48 changes: 48 additions & 0 deletions docs/roadmap/roadmap.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
id: roadmap
title: Roadmap
hide_title: true
displayed_sidebar: pushRoadmapSidebar
slug: ./
sidebar_position: 1
---

import React, { useEffect } from 'react';
import styled from 'styled-components';
import PushLogo from '@site/static/assets/website/brb/pushIcon.svg';
import ChainLogoDark from '@site/static/assets/website/chain/ChainLogoDark.svg';

import { ItemV } from '../../src/css/SharedStyling';

export default function ChatRedirect() {
useEffect(() => {
window.location.href = 'https://comms.push.org/docs/roadmap';
}, []);

const Container = styled.div` display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 400px;
color: white;
text-align: center;`;

const PushLogoBlackContainer = styled(ItemV)` display: flex;
flex-direction: row;
align-items: center;
color: #fff;`;

const Message = styled.p` font-size: 18px;
color: var(--ifm-color-primary-text);
margin-top: 8px;`;

return (

<Container>
<PushLogoBlackContainer className='headerlogo' flex='initial'>
<PushLogo style={{ margin: '0px 9px 0px 4px' }} />
<ChainLogoDark />
</PushLogoBlackContainer>
<Message>Redirecting...</Message>
</Container>
) }
48 changes: 48 additions & 0 deletions docs/tokenomics/tokenomics.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
id: tokenomics
title: Push Tokenomics
hide_title: true
displayed_sidebar: pushTokenomicsSidebar
slug: ./
sidebar_position: 1
---

import React, { useEffect } from 'react';
import styled from 'styled-components';
import PushLogo from '@site/static/assets/website/brb/pushIcon.svg';
import ChainLogoDark from '@site/static/assets/website/chain/ChainLogoDark.svg';

import { ItemV } from '../../src/css/SharedStyling';

export default function ChatRedirect() {
useEffect(() => {
window.location.href = 'https://comms.push.org/docs/tokenomics';
}, []);

const Container = styled.div` display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 400px;
color: white;
text-align: center;`;

const PushLogoBlackContainer = styled(ItemV)` display: flex;
flex-direction: row;
align-items: center;
color: #fff;`;

const Message = styled.p` font-size: 18px;
color: var(--ifm-color-primary-text);
margin-top: 8px;`;

return (

<Container>
<PushLogoBlackContainer className='headerlogo' flex='initial'>
<PushLogo style={{ margin: '0px 9px 0px 4px' }} />
<ChainLogoDark />
</PushLogoBlackContainer>
<Message>Redirecting...</Message>
</Container>
) }
48 changes: 48 additions & 0 deletions docs/video/video.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
---
id: video
title: Push Video
hide_title: true
displayed_sidebar: pushVideoSidebar
slug: ./
sidebar_position: 1
---

import React, { useEffect } from 'react';
import styled from 'styled-components';
import PushLogo from '@site/static/assets/website/brb/pushIcon.svg';
import ChainLogoDark from '@site/static/assets/website/chain/ChainLogoDark.svg';

import { ItemV } from '../../src/css/SharedStyling';

export default function ChatRedirect() {
useEffect(() => {
window.location.href = 'https://comms.push.org/docs/video';
}, []);

const Container = styled.div` display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 400px;
color: white;
text-align: center;`;

const PushLogoBlackContainer = styled(ItemV)` display: flex;
flex-direction: row;
align-items: center;
color: #fff;`;

const Message = styled.p` font-size: 18px;
color: var(--ifm-color-primary-text);
margin-top: 8px;`;

return (

<Container>
<PushLogoBlackContainer className='headerlogo' flex='initial'>
<PushLogo style={{ margin: '0px 9px 0px 4px' }} />
<ChainLogoDark />
</PushLogoBlackContainer>
<Message>Redirecting...</Message>
</Container>
) }
Loading
Loading