Skip to content

Commit

Permalink
feat: remove status bar
Browse files Browse the repository at this point in the history
  • Loading branch information
He1DAr committed Apr 24, 2024
1 parent 032bcf8 commit bf15dc0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 50 deletions.
5 changes: 1 addition & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

46 changes: 0 additions & 46 deletions src/app/_components/PageWrapper.tsx
Original file line number Diff line number Diff line change
@@ -1,22 +1,16 @@
'use client';

import { useColorModeValue } from '@chakra-ui/react';
import { css } from '@emotion/react';
import React, { ReactNode } from 'react';
import { IncidentImpact } from 'statuspage.io';

import { AddNetworkModal } from '../../common/components/modals/AddNetwork';
import { NakamotoModal } from '../../common/components/modals/Nakamoto';
import { TokenPrice } from '../../common/types/tokenPrice';
import { Flex } from '../../ui/Flex';
import { Text } from '../../ui/Text';
import { TextLink } from '../../ui/TextLink';
import { Footer } from './Footer';
import { NavBar } from './NavBar';
import { NetworkModeToast } from './NetworkModeToast';
import { IncidentsStatusBarWithErrorBoundary } from './StatusBar';
import { StatusBarBase } from './StatusBar/StatusBarBase';
import { getColor } from './StatusBar/utils';

function WrapperWithBg({ children }: { children: ReactNode }) {
return (
Expand Down Expand Up @@ -63,46 +57,6 @@ export function PageWrapper({
return (
<>
<IncidentsStatusBarWithErrorBoundary />
<StatusBarBase
impact={IncidentImpact.None}
content={
<Flex>
<Text
color={getColor(IncidentImpact.None)}
fontWeight={'medium'}
fontSize={'14px'}
lineHeight={'1.5'}
>
A new version{' '}
<TextLink
href="https://github.com/stacks-network/stacks-core/releases/tag/2.5.0.0.3"
target="_blank"
css={css`
display: inline;
text-decoration: underline;
`}
>
2.5.0.0.3
</TextLink>{' '}
of the Stacks Blockchain has been released.
<br />
Stacks Mainnet has now been instantiated with Nakamoto! This kicks off the 1st step of
the 2 part
<TextLink
href="https://docs.stacks.co/nakamoto-upgrade/nakamoto-rollout-plan"
target="_blank"
css={css`
display: inline;
text-decoration: underline;
`}
>
{' '}
Nakamoto launch process
</TextLink>
</Text>
</Flex>
}
/>
<NakamotoModal />
<WrapperWithBg>
<Flex mx="auto" width="full" maxWidth="container.xl" flexDirection="column" p={6}>
Expand Down

0 comments on commit bf15dc0

Please sign in to comment.