diff --git a/src/components/SubmissionNoticeComponent.tsx b/src/components/SubmissionNoticeComponent.tsx index c6aae60a..23726df6 100644 --- a/src/components/SubmissionNoticeComponent.tsx +++ b/src/components/SubmissionNoticeComponent.tsx @@ -32,6 +32,8 @@ class SubmissionNoticeComponent extends React.Component + {this.getYouCapMessage()} + {/* Last Row */} @@ -113,6 +117,36 @@ class SubmissionNoticeComponent extends React.Component +

+ Like contributing to crowdsourced projects? + Consider checking out YouCap, + a new open-source replacement for YouTube{"'"}s now defunct community captions. + YouCap is NOT made by me, but I think it looks like a cool idea. +

+ + { this.showingYouCapNotice = false; this.forceUpdate(); }}> + + + ); + } + getSponsorTimeMessages(): JSX.Element[] | JSX.Element { const elements: JSX.Element[] = []; this.timeEditRefs = []; diff --git a/src/config.ts b/src/config.ts index 2a40dbf6..d113e86c 100644 --- a/src/config.ts +++ b/src/config.ts @@ -55,7 +55,9 @@ interface SBConfig { "preview-selfpromo": PreviewBarOption, "music_offtopic": PreviewBarOption, "preview-music_offtopic": PreviewBarOption, - } + }, + + hasShownYouCapNotice: boolean } export interface SBObject { @@ -229,7 +231,9 @@ const Config: SBObject = { color: "#a6634a", opacity: "0.7" } - } + }, + + hasShownYouCapNotice: false }, localConfig: null, config: null,