mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
feat(boards-list): mark Flash, Oekaki, Artwork/Critique, Wallpapers/General as NSFW
This commit is contained in:
@@ -82,10 +82,10 @@ const BoardsList = ({ multisub }: { multisub: MultisubSubplebbit[] }) => {
|
|||||||
const showWorksafeOnly = boardFilter === 'worksafe';
|
const showWorksafeOnly = boardFilter === 'worksafe';
|
||||||
|
|
||||||
// Category visibility based on filter
|
// Category visibility based on filter
|
||||||
const showJapaneseCulture = showAll || showWorksafeOnly;
|
const showJapaneseCulture = showAll || showWorksafeOnly || showNsfwOnly;
|
||||||
const showVideoGames = showAll || showWorksafeOnly;
|
const showVideoGames = showAll || showWorksafeOnly;
|
||||||
const showInterests = showAll || showWorksafeOnly;
|
const showInterests = showAll || showWorksafeOnly;
|
||||||
const showCreative = showAll || showWorksafeOnly;
|
const showCreative = showAll || showWorksafeOnly || showNsfwOnly;
|
||||||
const showOther = showAll || showWorksafeOnly;
|
const showOther = showAll || showWorksafeOnly;
|
||||||
const showMisc = showAll || showNsfwOnly;
|
const showMisc = showAll || showNsfwOnly;
|
||||||
const showAdult = showAll || showNsfwOnly;
|
const showAdult = showAll || showNsfwOnly;
|
||||||
@@ -105,6 +105,8 @@ const BoardsList = ({ multisub }: { multisub: MultisubSubplebbit[] }) => {
|
|||||||
<>
|
<>
|
||||||
<h3>Japanese Culture</h3>
|
<h3>Japanese Culture</h3>
|
||||||
<ul>
|
<ul>
|
||||||
|
{(showAll || showWorksafeOnly) && (
|
||||||
|
<>
|
||||||
<li>
|
<li>
|
||||||
<Link to='#' onClick={(e) => e.preventDefault()} className={styles.placeholder}>
|
<Link to='#' onClick={(e) => e.preventDefault()} className={styles.placeholder}>
|
||||||
Anime & Manga
|
Anime & Manga
|
||||||
@@ -135,11 +137,17 @@ const BoardsList = ({ multisub }: { multisub: MultisubSubplebbit[] }) => {
|
|||||||
Cute/Male
|
Cute/Male
|
||||||
</Link>
|
</Link>
|
||||||
</li>
|
</li>
|
||||||
|
</>
|
||||||
|
)}
|
||||||
|
{(showAll || showNsfwOnly) && (
|
||||||
<li>
|
<li>
|
||||||
<Link to='#' onClick={(e) => e.preventDefault()} className={styles.placeholder}>
|
<Link to='#' onClick={(e) => e.preventDefault()} className={styles.placeholder}>
|
||||||
Flash
|
Flash
|
||||||
</Link>
|
</Link>
|
||||||
</li>
|
</li>
|
||||||
|
)}
|
||||||
|
{(showAll || showWorksafeOnly) && (
|
||||||
|
<>
|
||||||
<li>
|
<li>
|
||||||
<Link to='#' onClick={(e) => e.preventDefault()} className={styles.placeholder}>
|
<Link to='#' onClick={(e) => e.preventDefault()} className={styles.placeholder}>
|
||||||
Transportation
|
Transportation
|
||||||
@@ -155,6 +163,8 @@ const BoardsList = ({ multisub }: { multisub: MultisubSubplebbit[] }) => {
|
|||||||
Virtual YouTubers
|
Virtual YouTubers
|
||||||
</Link>
|
</Link>
|
||||||
</li>
|
</li>
|
||||||
|
</>
|
||||||
|
)}
|
||||||
</ul>
|
</ul>
|
||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
@@ -299,11 +309,15 @@ const BoardsList = ({ multisub }: { multisub: MultisubSubplebbit[] }) => {
|
|||||||
<div className={styles.boardsColumn}>
|
<div className={styles.boardsColumn}>
|
||||||
<h3>Creative</h3>
|
<h3>Creative</h3>
|
||||||
<ul>
|
<ul>
|
||||||
|
{(showAll || showNsfwOnly) && (
|
||||||
<li>
|
<li>
|
||||||
<Link to='#' onClick={(e) => e.preventDefault()} className={styles.placeholder}>
|
<Link to='#' onClick={(e) => e.preventDefault()} className={styles.placeholder}>
|
||||||
Oekaki
|
Oekaki
|
||||||
</Link>
|
</Link>
|
||||||
</li>
|
</li>
|
||||||
|
)}
|
||||||
|
{(showAll || showWorksafeOnly) && (
|
||||||
|
<>
|
||||||
<li>
|
<li>
|
||||||
<Link to='#' onClick={(e) => e.preventDefault()} className={styles.placeholder}>
|
<Link to='#' onClick={(e) => e.preventDefault()} className={styles.placeholder}>
|
||||||
Papercraft & Origami
|
Papercraft & Origami
|
||||||
@@ -319,16 +333,24 @@ const BoardsList = ({ multisub }: { multisub: MultisubSubplebbit[] }) => {
|
|||||||
Food & Cooking
|
Food & Cooking
|
||||||
</Link>
|
</Link>
|
||||||
</li>
|
</li>
|
||||||
|
</>
|
||||||
|
)}
|
||||||
|
{(showAll || showNsfwOnly) && (
|
||||||
<li>
|
<li>
|
||||||
<Link to='#' onClick={(e) => e.preventDefault()} className={styles.placeholder}>
|
<Link to='#' onClick={(e) => e.preventDefault()} className={styles.placeholder}>
|
||||||
Artwork/Critique
|
Artwork/Critique
|
||||||
</Link>
|
</Link>
|
||||||
</li>
|
</li>
|
||||||
|
)}
|
||||||
|
{(showAll || showNsfwOnly) && (
|
||||||
<li>
|
<li>
|
||||||
<Link to='#' onClick={(e) => e.preventDefault()} className={styles.placeholder}>
|
<Link to='#' onClick={(e) => e.preventDefault()} className={styles.placeholder}>
|
||||||
Wallpapers/General
|
Wallpapers/General
|
||||||
</Link>
|
</Link>
|
||||||
</li>
|
</li>
|
||||||
|
)}
|
||||||
|
{(showAll || showWorksafeOnly) && (
|
||||||
|
<>
|
||||||
<li>
|
<li>
|
||||||
<Link to='#' onClick={(e) => e.preventDefault()} className={styles.placeholder}>
|
<Link to='#' onClick={(e) => e.preventDefault()} className={styles.placeholder}>
|
||||||
Literature
|
Literature
|
||||||
@@ -369,6 +391,8 @@ const BoardsList = ({ multisub }: { multisub: MultisubSubplebbit[] }) => {
|
|||||||
Quests
|
Quests
|
||||||
</Link>
|
</Link>
|
||||||
</li>
|
</li>
|
||||||
|
</>
|
||||||
|
)}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user