mirror of
https://github.com/LBRYFoundation/lbry-desktop.git
synced 2025-08-23 17:47:24 +00:00
Naomi comment websockets increase slow mode time to 5 seconds fix to prevent duplicate comments update livestream details fix channel pin electron boom fix rebase prune unused icons updating meme updating meme update livestream for naomi fix rebase DigitalCashNetwork remove electroboom pin Slavguns Joel So he can edit his claims add streamTypes param to claimTilesDiscover so following section can search for all types of content fix typo update meme fixes publish page fixes pending fix notifications fix comments finally fix claim preview no mature for simplesite Revert "no mature for simplesite" This reverts commit 9f89242d85e0cacf44cbf0a683bebbe50840c466. fix livestream preview click no mature on simple site try fixing invite page crash probably needs more changes.
57 lines
1.7 KiB
JavaScript
57 lines
1.7 KiB
JavaScript
// @flow
|
|
import { SIMPLE_SITE } from 'config';
|
|
import * as PAGES from 'constants/pages';
|
|
import React from 'react';
|
|
import { Modal } from 'modal/modal';
|
|
import Card from 'component/common/card';
|
|
import Confetti from 'react-confetti';
|
|
import Button from 'component/button';
|
|
|
|
type Props = { doHideModal: () => void };
|
|
|
|
const YoutubeWelcome = (props: Props) => {
|
|
const { doHideModal } = props;
|
|
|
|
return (
|
|
<Modal isOpen type="card" onAborted={doHideModal}>
|
|
<Confetti recycle={false} style={{ position: 'fixed' }} numberOfPieces={100} />
|
|
<Card
|
|
title={!SIMPLE_SITE ? __("You're free!") : __('Welcome to Odysee')}
|
|
subtitle={
|
|
!SIMPLE_SITE ? (
|
|
<React.Fragment>
|
|
<p>
|
|
{__("You've escaped the land of spying, censorship, and exploitation.")}
|
|
<span className="emoji"> 💩</span>
|
|
</p>
|
|
<p>
|
|
{__('Welcome to the land of content freedom.')}
|
|
<span className="emoji"> 🌈</span>
|
|
</p>
|
|
</React.Fragment>
|
|
) : (
|
|
<React.Fragment>
|
|
<p>
|
|
{__('You make the party extra special!')}
|
|
<span className="emoji"> 💖</span>
|
|
</p>
|
|
</React.Fragment>
|
|
)
|
|
}
|
|
actions={
|
|
<div className="card__actions">
|
|
<Button
|
|
button="primary"
|
|
label={__('Create an Account')}
|
|
navigate={`/$/${PAGES.AUTH}`}
|
|
onClick={doHideModal}
|
|
/>
|
|
<Button button="link" label={__('Not Yet')} onClick={doHideModal} />
|
|
</div>
|
|
}
|
|
/>
|
|
</Modal>
|
|
);
|
|
};
|
|
|
|
export default YoutubeWelcome;
|