mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
feat: add 'view on seedit' links
This commit is contained in:
@@ -1126,7 +1126,7 @@ const All = () => {
|
|||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li onClick={() => handleOptionClick(thread.cid)}>
|
<li onClick={() => handleOptionClick(thread.cid)}>
|
||||||
<a href={`https://seedit.netlify.app/#/p/${thread.subplebbitAddress}/c/${thread.cid}`} target='_blank' rel='noreferrer'>
|
<a href={`https://seedit.eth.limo/#/p/${thread.subplebbitAddress}/c/${thread.cid}`} target='_blank' rel='noreferrer'>
|
||||||
Seedit
|
Seedit
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
@@ -653,7 +653,7 @@ const CatalogPost = ({ post }) => {
|
|||||||
</li>
|
</li>
|
||||||
{/* <li onClick={() => handleOptionClick(thread.cid)}>
|
{/* <li onClick={() => handleOptionClick(thread.cid)}>
|
||||||
<a
|
<a
|
||||||
href={`https://seedit.netlify.app/#/p/${selectedAddress}/c/${thread.cid}`}
|
href={`https://seedit.eth.limo/#/p/${selectedAddress}/c/${thread.cid}`}
|
||||||
target="_blank" rel="noreferrer"
|
target="_blank" rel="noreferrer"
|
||||||
>Seedit</a>
|
>Seedit</a>
|
||||||
</li> */}
|
</li> */}
|
||||||
|
|||||||
@@ -2182,7 +2182,7 @@ const Board = () => {
|
|||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li onClick={() => handleOptionClick(thread.cid)}>
|
<li onClick={() => handleOptionClick(thread.cid)}>
|
||||||
<a href={`https://seedit.netlify.app/#/p/${selectedAddress}/c/${thread.cid}`} target='_blank' rel='noreferrer'>
|
<a href={`https://seedit.eth.limo/#/p/${selectedAddress}/c/${thread.cid}`} target='_blank' rel='noreferrer'>
|
||||||
Seedit
|
Seedit
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
@@ -1076,7 +1076,7 @@ const CatalogPost = ({ post }) => {
|
|||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li onClick={() => handleOptionClick(thread.cid)}>
|
<li onClick={() => handleOptionClick(thread.cid)}>
|
||||||
<a href={`https://seedit.netlify.app/#/p/${selectedAddress}/c/${thread.cid}`} target='_blank' rel='noreferrer'>
|
<a href={`https://seedit.eth.limo/#/p/${selectedAddress}/c/${thread.cid}`} target='_blank' rel='noreferrer'>
|
||||||
Seedit
|
Seedit
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
@@ -458,12 +458,11 @@ const Description = () => {
|
|||||||
Plebbit
|
Plebbit
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{/* <li onClick={() => handleOptionClick("description")}>
|
<li onClick={() => handleOptionClick('description')}>
|
||||||
<a
|
<a href={`https://seedit.eth.limo/#/p/${selectedAddress}`} target='_blank' rel='noreferrer'>
|
||||||
href={`https://seedit.eth.limo/#/p/${selectedAddress}`}
|
Seedit
|
||||||
target="_blank" rel="noreferrer"
|
</a>
|
||||||
>Seedit</a>
|
</li>
|
||||||
</li> */}
|
|
||||||
<li onClick={() => handleOptionClick('description')}>
|
<li onClick={() => handleOptionClick('description')}>
|
||||||
<a href={`https://plebones.eth.limo/#/p/${selectedAddress}`} target='_blank' rel='noreferrer'>
|
<a href={`https://plebones.eth.limo/#/p/${selectedAddress}`} target='_blank' rel='noreferrer'>
|
||||||
Plebones
|
Plebones
|
||||||
@@ -564,6 +563,14 @@ const Description = () => {
|
|||||||
>
|
>
|
||||||
<li onClick={() => handleMobileOptionClick('description')}>View on plebbit</li>
|
<li onClick={() => handleMobileOptionClick('description')}>View on plebbit</li>
|
||||||
</a>
|
</a>
|
||||||
|
<a
|
||||||
|
style={{ color: 'inherit', textDecoration: 'none' }}
|
||||||
|
href={`https://seedit.eth.limo/#/p/${selectedAddress}`}
|
||||||
|
target='_blank'
|
||||||
|
rel='noreferrer'
|
||||||
|
>
|
||||||
|
<li onClick={() => handleMobileOptionClick('description')}>View on seedit</li>
|
||||||
|
</a>
|
||||||
<a
|
<a
|
||||||
style={{ color: 'inherit', textDecoration: 'none' }}
|
style={{ color: 'inherit', textDecoration: 'none' }}
|
||||||
href={`https://plebones.eth.limo/#/p/${selectedAddress}`}
|
href={`https://plebones.eth.limo/#/p/${selectedAddress}`}
|
||||||
|
|||||||
@@ -414,12 +414,11 @@ const Rules = () => {
|
|||||||
Plebbit
|
Plebbit
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{/* <li onClick={() => handleOptionClick("rules")}>
|
<li onClick={() => handleOptionClick('rules')}>
|
||||||
<a
|
<a href={`https://seedit.eth.limo/#/p/${selectedAddress}`} target='_blank' rel='noreferrer'>
|
||||||
href={`https://seedit.eth.limo/#/p/${selectedAddress}`}
|
Seedit
|
||||||
target="_blank" rel="noreferrer"
|
</a>
|
||||||
>Seedit</a>
|
</li>
|
||||||
</li> */}
|
|
||||||
<li onClick={() => handleOptionClick('rules')}>
|
<li onClick={() => handleOptionClick('rules')}>
|
||||||
<a href={`https://plebones.eth.limo/#/p/${selectedAddress}`} target='_blank' rel='noreferrer'>
|
<a href={`https://plebones.eth.limo/#/p/${selectedAddress}`} target='_blank' rel='noreferrer'>
|
||||||
Plebones
|
Plebones
|
||||||
@@ -498,6 +497,14 @@ const Rules = () => {
|
|||||||
>
|
>
|
||||||
<li onClick={() => handleMobileOptionClick('rules')}>View on plebbit</li>
|
<li onClick={() => handleMobileOptionClick('rules')}>View on plebbit</li>
|
||||||
</a>
|
</a>
|
||||||
|
<a
|
||||||
|
style={{ color: 'inherit', textDecoration: 'none' }}
|
||||||
|
href={`https://seedit.eth.limo/#/p/${selectedAddress}`}
|
||||||
|
target='_blank'
|
||||||
|
rel='noreferrer'
|
||||||
|
>
|
||||||
|
<li onClick={() => handleMobileOptionClick('rules')}>View on seedit</li>
|
||||||
|
</a>
|
||||||
<a
|
<a
|
||||||
style={{ color: 'inherit', textDecoration: 'none' }}
|
style={{ color: 'inherit', textDecoration: 'none' }}
|
||||||
href={`https://plebones.eth.limo/#/p/${selectedAddress}`}
|
href={`https://plebones.eth.limo/#/p/${selectedAddress}`}
|
||||||
|
|||||||
@@ -1140,7 +1140,7 @@ const Subscriptions = () => {
|
|||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li onClick={() => handleOptionClick(thread.cid)}>
|
<li onClick={() => handleOptionClick(thread.cid)}>
|
||||||
<a href={`https://seedit.netlify.app/#/p/${thread.subplebbitAddress}/c/${thread.cid}`} target='_blank' rel='noreferrer'>
|
<a href={`https://seedit.eth.limo/#/p/${thread.subplebbitAddress}/c/${thread.cid}`} target='_blank' rel='noreferrer'>
|
||||||
Seedit
|
Seedit
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
@@ -652,7 +652,7 @@ const CatalogPost = ({ post }) => {
|
|||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li onClick={() => handleOptionClick(thread.cid)}>
|
<li onClick={() => handleOptionClick(thread.cid)}>
|
||||||
<a href={`https://seedit.netlify.app/#/p/${selectedAddress}/c/${thread.cid}`} target='_blank' rel='noreferrer'>
|
<a href={`https://seedit.eth.limo/#/p/${selectedAddress}/c/${thread.cid}`} target='_blank' rel='noreferrer'>
|
||||||
Seedit
|
Seedit
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
@@ -1280,12 +1280,11 @@ const Thread = () => {
|
|||||||
Plebbit
|
Plebbit
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{/* <li onClick={() => handleOptionClick(comment.cid)}>
|
<li onClick={() => handleOptionClick(comment.cid)}>
|
||||||
<a
|
<a href={`https://seedit.eth.limo/#/p/${selectedAddress}/c/${comment.cid}`} target='_blank' rel='noreferrer'>
|
||||||
href={`https://seedit.eth.limo/#/p/${selectedAddress}/c/${comment.cid}`}
|
Seedit
|
||||||
target="_blank" rel="noreferrer"
|
</a>
|
||||||
>Seedit</a>
|
</li>
|
||||||
</li> */}
|
|
||||||
<li onClick={() => handleOptionClick(comment.cid)}>
|
<li onClick={() => handleOptionClick(comment.cid)}>
|
||||||
<a href={`https://plebones.eth.limo/#/p/${selectedAddress}/c/${comment.cid}`} target='_blank' rel='noreferrer'>
|
<a href={`https://plebones.eth.limo/#/p/${selectedAddress}/c/${comment.cid}`} target='_blank' rel='noreferrer'>
|
||||||
Plebones
|
Plebones
|
||||||
@@ -1671,12 +1670,11 @@ const Thread = () => {
|
|||||||
Plebbit
|
Plebbit
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{/* <li onClick={() => handleOptionClick(reply.cid)}>
|
<li onClick={() => handleOptionClick(reply.cid)}>
|
||||||
<a
|
<a href={`https://seedit.eth.limo/#/p/${selectedAddress}/c/${reply.cid}`} target='_blank' rel='noreferrer'>
|
||||||
href={`https://seedit.eth.limo/#/p/${selectedAddress}/c/${reply.cid}`}
|
Seedit
|
||||||
target="_blank" rel="noreferrer"
|
</a>
|
||||||
>Seedit</a>
|
</li>
|
||||||
</li> */}
|
|
||||||
<li onClick={() => handleOptionClick(reply.cid)}>
|
<li onClick={() => handleOptionClick(reply.cid)}>
|
||||||
<a href={`https://plebones.eth.limo/#/p/${selectedAddress}/c/${reply.cid}`} target='_blank' rel='noreferrer'>
|
<a href={`https://plebones.eth.limo/#/p/${selectedAddress}/c/${reply.cid}`} target='_blank' rel='noreferrer'>
|
||||||
Plebones
|
Plebones
|
||||||
@@ -2605,6 +2603,14 @@ const Thread = () => {
|
|||||||
>
|
>
|
||||||
<li onClick={() => handleOptionClick(reply.cid)}>View on plebbit</li>
|
<li onClick={() => handleOptionClick(reply.cid)}>View on plebbit</li>
|
||||||
</a>
|
</a>
|
||||||
|
<a
|
||||||
|
style={{ color: 'inherit', textDecoration: 'none' }}
|
||||||
|
href={`https://seedit.eth.limo/#/p/${selectedAddress}`}
|
||||||
|
target='_blank'
|
||||||
|
rel='noreferrer'
|
||||||
|
>
|
||||||
|
<li onClick={() => handleOptionClick(reply.cid)}>View on seedit</li>
|
||||||
|
</a>
|
||||||
<a
|
<a
|
||||||
style={{ color: 'inherit', textDecoration: 'none' }}
|
style={{ color: 'inherit', textDecoration: 'none' }}
|
||||||
href={`https://plebones.eth.limo/#/p/${selectedAddress}`}
|
href={`https://plebones.eth.limo/#/p/${selectedAddress}`}
|
||||||
|
|||||||
Reference in New Issue
Block a user