forked from Joystream/atlas
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
138 additions
and
51 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
39 changes: 39 additions & 0 deletions
39
packages/atlas/src/components/_ypp/YppDisabledModal/YppDisabledModal.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,39 @@ | ||
import { FC } from 'react' | ||
|
||
import { Text } from '@/components/Text' | ||
import { DialogModal } from '@/components/_overlays/DialogModal' | ||
|
||
export type ConnectWithYtModalProps = { | ||
show: boolean | ||
onClose: () => void | ||
} | ||
|
||
export const YppDisabledModal: FC<ConnectWithYtModalProps> = ({ show, onClose }) => { | ||
// const smMatch = useMediaMatch('sm') | ||
return ( | ||
<DialogModal | ||
size="medium" | ||
show={show} | ||
dividers | ||
primaryButton={{ | ||
text: 'Continue', | ||
onClick: onClose, | ||
}} | ||
> | ||
<Text variant="h400" as="h2" margin={{ bottom: 4 }}> | ||
YouTube Partner Program temporarily disabled | ||
</Text> | ||
<Text variant="t200" as="p" color="colorText" margin={{ bottom: 4 }}> | ||
Due to recent technical issues with the YouTube Synch service, YouTube Partner Program has been temporarily | ||
disabled until further notice. | ||
</Text> | ||
<Text variant="t200" as="p" color="colorText" margin={{ bottom: 4 }}> | ||
You can still create a channel on Gleev, but it will not be connected with your YouTube channel and you will not | ||
be eligable for any YPP rewards. | ||
</Text> | ||
<Text variant="t200" as="p" color="colorText"> | ||
We apologize for any inconvenience. | ||
</Text> | ||
</DialogModal> | ||
) | ||
} |
Empty file.
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 './YppDisabledModal' |
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
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
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
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
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
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