yt welcome recon
This commit is contained in:
parent
f6dc48fdc0
commit
3e4206ee69
1 changed files with 21 additions and 11 deletions
|
@ -1,4 +1,5 @@
|
||||||
// @flow
|
// @flow
|
||||||
|
import { SIMPLE_SITE } from 'config';
|
||||||
import * as PAGES from 'constants/pages';
|
import * as PAGES from 'constants/pages';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { Modal } from 'modal/modal';
|
import { Modal } from 'modal/modal';
|
||||||
|
@ -15,18 +16,27 @@ const YoutubeWelcome = (props: Props) => {
|
||||||
<Modal isOpen type="card" onAborted={doHideModal}>
|
<Modal isOpen type="card" onAborted={doHideModal}>
|
||||||
<Confetti recycle={false} style={{ position: 'fixed' }} numberOfPieces={100} />
|
<Confetti recycle={false} style={{ position: 'fixed' }} numberOfPieces={100} />
|
||||||
<Card
|
<Card
|
||||||
title={__("You're free!")}
|
title={!SIMPLE_SITE ? __("You're free!") : __('Welcome to Odysee')}
|
||||||
subtitle={
|
subtitle={
|
||||||
<React.Fragment>
|
!SIMPLE_SITE ? (
|
||||||
<p>
|
<React.Fragment>
|
||||||
{__("You've escaped the land of spying, censorship, and exploitation.")}
|
<p>
|
||||||
<span className="emoji"> 💩</span>
|
{__("You've escaped the land of spying, censorship, and exploitation.")}
|
||||||
</p>
|
<span className="emoji"> 💩</span>
|
||||||
<p>
|
</p>
|
||||||
{__('Welcome to the land of content freedom.')}
|
<p>
|
||||||
<span className="emoji"> 🌈</span>
|
{__('Welcome to the land of content freedom.')}
|
||||||
</p>
|
<span className="emoji"> 🌈</span>
|
||||||
</React.Fragment>
|
</p>
|
||||||
|
</React.Fragment>
|
||||||
|
) : (
|
||||||
|
<React.Fragment>
|
||||||
|
<p>
|
||||||
|
{__('You make the party extra special!')}
|
||||||
|
<span className="emoji"> 💖</span>
|
||||||
|
</p>
|
||||||
|
</React.Fragment>
|
||||||
|
)
|
||||||
}
|
}
|
||||||
actions={
|
actions={
|
||||||
<div className="card__actions">
|
<div className="card__actions">
|
||||||
|
|
Loading…
Reference in a new issue