mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
update rules and description, remove share board
This commit is contained in:
@@ -1030,12 +1030,6 @@ const Board = () => {
|
||||
style={{ display: openMenuCid === "rules" ? 'block' : 'none' }}
|
||||
>
|
||||
<ul className="post-menu-catalog">
|
||||
<li onClick={() => {
|
||||
handleOptionClick("rules");
|
||||
handleShareClick(selectedAddress, "rules");
|
||||
}}>
|
||||
Share board
|
||||
</li>
|
||||
{/* {isModerator ? (
|
||||
<>
|
||||
change rules
|
||||
@@ -1111,10 +1105,6 @@ const Board = () => {
|
||||
top: mobileMenuPosition.top + 20,
|
||||
left: mobileMenuPosition.left}}>
|
||||
<ul className={`post-menu-mobile-thread-${"rules"}`}>
|
||||
<li onClick={() => {
|
||||
handleMobileOptionClick("rules");
|
||||
handleShareClick(selectedAddress, "rules")
|
||||
}}>Share board</li>
|
||||
<a style={{color: 'inherit', textDecoration: 'none'}}
|
||||
href={`https://plebbitapp.eth.limo/#/p/${selectedAddress}`}
|
||||
target="_blank" rel="noreferrer">
|
||||
@@ -1231,10 +1221,6 @@ const Board = () => {
|
||||
style={{ display: openMenuCid === "rules" ? 'block' : 'none' }}
|
||||
>
|
||||
<ul className="post-menu-catalog">
|
||||
<li onClick={() => {
|
||||
handleOptionClick("rules");
|
||||
handleShareClick(selectedAddress, "rules");
|
||||
}}>Share board</li>
|
||||
{/* {isModerator ? (
|
||||
<>
|
||||
change rules
|
||||
@@ -1310,10 +1296,6 @@ const Board = () => {
|
||||
top: mobileMenuPosition.top + 20,
|
||||
left: mobileMenuPosition.left}}>
|
||||
<ul className={`post-menu-mobile-thread-${"rules"}`}>
|
||||
<li onClick={() => {
|
||||
handleMobileOptionClick("rules");
|
||||
handleShareClick(selectedAddress, "rules")
|
||||
}}>Share board</li>
|
||||
<a style={{color: 'inherit', textDecoration: 'none'}}
|
||||
href={`https://plebbitapp.eth.limo/#/p/${selectedAddress}`}
|
||||
target="_blank" rel="noreferrer">
|
||||
@@ -1452,10 +1434,6 @@ const Board = () => {
|
||||
style={{ display: openMenuCid === subplebbit.pubsubTopic ? 'block' : 'none' }}
|
||||
>
|
||||
<ul className="post-menu-catalog">
|
||||
<li onClick={() => {
|
||||
handleOptionClick("description");
|
||||
handleShareClick(selectedAddress, "description");
|
||||
}}>Share board</li>
|
||||
{/* {isModerator ? (
|
||||
<>
|
||||
change description
|
||||
@@ -1558,10 +1536,6 @@ const Board = () => {
|
||||
top: mobileMenuPosition.top + 20,
|
||||
left: mobileMenuPosition.left}}>
|
||||
<ul className={`post-menu-mobile-thread-description`}>
|
||||
<li onClick={() => {
|
||||
handleMobileOptionClick("description");
|
||||
handleShareClick(selectedAddress, "description")
|
||||
}}>Share board</li>
|
||||
{subplebbit.suggested?.avatarUrl ? (
|
||||
<>
|
||||
<a style={{ color: 'inherit', textDecoration: 'none' }}
|
||||
|
||||
@@ -435,9 +435,6 @@ const CatalogPost = ({post}) => {
|
||||
<a target="_blank" rel="noreferrer"
|
||||
style={{color: 'inherit', textDecoration: 'none'}}
|
||||
href={`https://pleb.bz/p/${selectedAddress}/?redirect=plebchan.eth.limo`}>
|
||||
<li onClick={() => {
|
||||
handleOptionClick("rules");
|
||||
}}>Share board</li>
|
||||
</a>
|
||||
{/* {isModerator ? (
|
||||
<>
|
||||
@@ -582,9 +579,6 @@ const CatalogPost = ({post}) => {
|
||||
<a target="_blank" rel="noreferrer"
|
||||
style={{color: 'inherit', textDecoration: 'none'}}
|
||||
href={`https://pleb.bz/p/${selectedAddress}/?redirect=plebchan.eth.limo`}>
|
||||
<li onClick={() => {
|
||||
handleOptionClick("description");
|
||||
}}>Share board</li>
|
||||
</a>
|
||||
{/* {isModerator ? (
|
||||
<>
|
||||
|
||||
@@ -17,7 +17,6 @@ import OfflineIndicator from '../OfflineIndicator';
|
||||
import SettingsModal from '../modals/SettingsModal';
|
||||
import getDate from '../../utils/getDate';
|
||||
import handleImageClick from '../../utils/handleImageClick';
|
||||
import handleShareClick from '../../utils/handleShareClick';
|
||||
import handleStyleChange from '../../utils/handleStyleChange';
|
||||
import useGeneralStore from '../../hooks/stores/useGeneralStore';
|
||||
import packageJson from '../../../package.json';
|
||||
@@ -396,10 +395,6 @@ const Description = () => {
|
||||
style={{ display: openMenuCid === subplebbit.pubsubTopic ? 'block' : 'none' }}
|
||||
>
|
||||
<ul className="post-menu-catalog">
|
||||
<li onClick={() => {
|
||||
handleOptionClick("description");
|
||||
handleShareClick(selectedAddress, "description");
|
||||
}}>Share board</li>
|
||||
{/* {isModerator ? (
|
||||
<>
|
||||
change description
|
||||
@@ -499,10 +494,6 @@ const Description = () => {
|
||||
top: mobileMenuPosition.top + 20,
|
||||
left: mobileMenuPosition.left}}>
|
||||
<ul className={`post-menu-mobile-thread-description`}>
|
||||
<li onClick={() => {
|
||||
handleMobileOptionClick("description");
|
||||
handleShareClick(selectedAddress, "description")
|
||||
}}>Share board</li>
|
||||
{subplebbit.suggested?.avatarUrl ? (
|
||||
<>
|
||||
<li onClick={() => handleMobileOptionClick("description")}>
|
||||
@@ -526,6 +517,20 @@ const Description = () => {
|
||||
</>
|
||||
) : null
|
||||
}
|
||||
<a style={{color: 'inherit', textDecoration: 'none'}}
|
||||
href={`https://plebbitapp.eth.limo/#/p/${selectedAddress}`}
|
||||
target="_blank" rel="noreferrer">
|
||||
<li onClick={() => handleMobileOptionClick("description")}>
|
||||
View on plebbit
|
||||
</li>
|
||||
</a>
|
||||
<a style={{color: 'inherit', textDecoration: 'none'}}
|
||||
href={`https://plebones.netlify.app/#/p/${selectedAddress}`}
|
||||
target="_blank" rel="noreferrer">
|
||||
<li onClick={() => handleMobileOptionClick("description")}>
|
||||
View on plebones
|
||||
</li>
|
||||
</a>
|
||||
</ul>
|
||||
</PostMenuMobile>, document.body
|
||||
)}
|
||||
|
||||
@@ -15,7 +15,6 @@ import AdminListModal from '../modals/AdminListModal';
|
||||
import OfflineIndicator from '../OfflineIndicator';
|
||||
import SettingsModal from '../modals/SettingsModal';
|
||||
import getDate from '../../utils/getDate';
|
||||
import handleShareClick from '../../utils/handleShareClick';
|
||||
import handleStyleChange from '../../utils/handleStyleChange';
|
||||
import useGeneralStore from '../../hooks/stores/useGeneralStore';
|
||||
import packageJson from '../../../package.json';
|
||||
@@ -376,10 +375,6 @@ const Rules = () => {
|
||||
style={{ display: openMenuCid === "rules" ? 'block' : 'none' }}
|
||||
>
|
||||
<ul className="post-menu-catalog">
|
||||
<li onClick={() => {
|
||||
handleOptionClick("rules");
|
||||
handleShareClick(selectedAddress, "rules");
|
||||
}}>Share board</li>
|
||||
{/* {isModerator ? (
|
||||
<>
|
||||
change rules
|
||||
@@ -465,21 +460,17 @@ const Rules = () => {
|
||||
top: mobileMenuPosition.top + 20,
|
||||
left: mobileMenuPosition.left}}>
|
||||
<ul className={`post-menu-mobile-thread-description`}>
|
||||
<li onClick={() => {
|
||||
handleMobileOptionClick("rules");
|
||||
handleShareClick(selectedAddress, "rules")
|
||||
}}>Share board</li>
|
||||
<a style={{color: 'inherit', textDecoration: 'none'}}
|
||||
href={`https://plebbitapp.eth.limo/#/p/${selectedAddress}`}
|
||||
target="_blank" rel="noreferrer">
|
||||
<li onClick={() => handleOptionClick("rules")}>
|
||||
<li onClick={() => handleMobileOptionClick("rules")}>
|
||||
View on plebbit
|
||||
</li>
|
||||
</a>
|
||||
<a style={{color: 'inherit', textDecoration: 'none'}}
|
||||
href={`https://plebones.netlify.app/#/p/${selectedAddress}`}
|
||||
target="_blank" rel="noreferrer">
|
||||
<li onClick={() => handleOptionClick("rules")}>
|
||||
<li onClick={() => handleMobileOptionClick("rules")}>
|
||||
View on plebones
|
||||
</li>
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user