-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* New asset * Add crt maintenance view * Add config entry * Linter
- Loading branch information
Showing
9 changed files
with
49 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
packages/atlas/src/views/studio/CrtMaintenanceView/CrtMaintenanceView.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
import styled from '@emotion/styled' | ||
import { FC } from 'react' | ||
|
||
import crtMaint from '@/assets/images/crt-maintenance.webp' | ||
import { Text } from '@/components/Text' | ||
import { useHeadTags } from '@/hooks/useHeadTags' | ||
|
||
export const CrtMaintenanceView: FC = () => { | ||
const headTags = useHeadTags('Creator tokens') | ||
return ( | ||
<> | ||
{headTags} | ||
<Container> | ||
<img style={{ maxWidth: '428px' }} src={crtMaint} alt="Creator token maintenance image" /> | ||
<Text variant="h500" as="h1" margin={{ top: 10 }}> | ||
Creator Tokens are Under Maintenance | ||
</Text> | ||
<Text as="span" margin={{ top: 2 }} align="center" variant="t200" color="colorText"> | ||
We should be back shortly. In the meantime, {/*@ts-ignore our types don't allow this but its fine here*/} | ||
<Text variant="t200" as="a" color="colorTextPrimary" href="https://www.google.com" target="_blank"> | ||
feel free to connect with us on Discord. | ||
</Text> | ||
</Text> | ||
</Container> | ||
</> | ||
) | ||
} | ||
|
||
const Container = styled.div` | ||
display: flex; | ||
align-items: center; | ||
flex-direction: column; | ||
justify-content: center; | ||
height: 100%; | ||
margin: 0 auto; | ||
text-align: center; | ||
* { | ||
width: min(100%, 408px); | ||
} | ||
` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from './CrtMaintenanceView' |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters