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>
|
||||
</li>
|
||||
<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
|
||||
</a>
|
||||
</li>
|
||||
|
||||
@@ -653,7 +653,7 @@ const CatalogPost = ({ post }) => {
|
||||
</li>
|
||||
{/* <li onClick={() => handleOptionClick(thread.cid)}>
|
||||
<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"
|
||||
>Seedit</a>
|
||||
</li> */}
|
||||
|
||||
@@ -2182,7 +2182,7 @@ const Board = () => {
|
||||
</a>
|
||||
</li>
|
||||
<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
|
||||
</a>
|
||||
</li>
|
||||
|
||||
@@ -1076,7 +1076,7 @@ const CatalogPost = ({ post }) => {
|
||||
</a>
|
||||
</li>
|
||||
<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
|
||||
</a>
|
||||
</li>
|
||||
|
||||
@@ -458,12 +458,11 @@ const Description = () => {
|
||||
Plebbit
|
||||
</a>
|
||||
</li>
|
||||
{/* <li onClick={() => handleOptionClick("description")}>
|
||||
<a
|
||||
href={`https://seedit.eth.limo/#/p/${selectedAddress}`}
|
||||
target="_blank" rel="noreferrer"
|
||||
>Seedit</a>
|
||||
</li> */}
|
||||
<li onClick={() => handleOptionClick('description')}>
|
||||
<a href={`https://seedit.eth.limo/#/p/${selectedAddress}`} target='_blank' rel='noreferrer'>
|
||||
Seedit
|
||||
</a>
|
||||
</li>
|
||||
<li onClick={() => handleOptionClick('description')}>
|
||||
<a href={`https://plebones.eth.limo/#/p/${selectedAddress}`} target='_blank' rel='noreferrer'>
|
||||
Plebones
|
||||
@@ -564,6 +563,14 @@ const Description = () => {
|
||||
>
|
||||
<li onClick={() => handleMobileOptionClick('description')}>View on plebbit</li>
|
||||
</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
|
||||
style={{ color: 'inherit', textDecoration: 'none' }}
|
||||
href={`https://plebones.eth.limo/#/p/${selectedAddress}`}
|
||||
|
||||
@@ -414,12 +414,11 @@ const Rules = () => {
|
||||
Plebbit
|
||||
</a>
|
||||
</li>
|
||||
{/* <li onClick={() => handleOptionClick("rules")}>
|
||||
<a
|
||||
href={`https://seedit.eth.limo/#/p/${selectedAddress}`}
|
||||
target="_blank" rel="noreferrer"
|
||||
>Seedit</a>
|
||||
</li> */}
|
||||
<li onClick={() => handleOptionClick('rules')}>
|
||||
<a href={`https://seedit.eth.limo/#/p/${selectedAddress}`} target='_blank' rel='noreferrer'>
|
||||
Seedit
|
||||
</a>
|
||||
</li>
|
||||
<li onClick={() => handleOptionClick('rules')}>
|
||||
<a href={`https://plebones.eth.limo/#/p/${selectedAddress}`} target='_blank' rel='noreferrer'>
|
||||
Plebones
|
||||
@@ -498,6 +497,14 @@ const Rules = () => {
|
||||
>
|
||||
<li onClick={() => handleMobileOptionClick('rules')}>View on plebbit</li>
|
||||
</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
|
||||
style={{ color: 'inherit', textDecoration: 'none' }}
|
||||
href={`https://plebones.eth.limo/#/p/${selectedAddress}`}
|
||||
|
||||
@@ -1140,7 +1140,7 @@ const Subscriptions = () => {
|
||||
</a>
|
||||
</li>
|
||||
<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
|
||||
</a>
|
||||
</li>
|
||||
|
||||
@@ -652,7 +652,7 @@ const CatalogPost = ({ post }) => {
|
||||
</a>
|
||||
</li>
|
||||
<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
|
||||
</a>
|
||||
</li>
|
||||
|
||||
@@ -1280,12 +1280,11 @@ const Thread = () => {
|
||||
Plebbit
|
||||
</a>
|
||||
</li>
|
||||
{/* <li onClick={() => handleOptionClick(comment.cid)}>
|
||||
<a
|
||||
href={`https://seedit.eth.limo/#/p/${selectedAddress}/c/${comment.cid}`}
|
||||
target="_blank" rel="noreferrer"
|
||||
>Seedit</a>
|
||||
</li> */}
|
||||
<li onClick={() => handleOptionClick(comment.cid)}>
|
||||
<a href={`https://seedit.eth.limo/#/p/${selectedAddress}/c/${comment.cid}`} target='_blank' rel='noreferrer'>
|
||||
Seedit
|
||||
</a>
|
||||
</li>
|
||||
<li onClick={() => handleOptionClick(comment.cid)}>
|
||||
<a href={`https://plebones.eth.limo/#/p/${selectedAddress}/c/${comment.cid}`} target='_blank' rel='noreferrer'>
|
||||
Plebones
|
||||
@@ -1671,12 +1670,11 @@ const Thread = () => {
|
||||
Plebbit
|
||||
</a>
|
||||
</li>
|
||||
{/* <li onClick={() => handleOptionClick(reply.cid)}>
|
||||
<a
|
||||
href={`https://seedit.eth.limo/#/p/${selectedAddress}/c/${reply.cid}`}
|
||||
target="_blank" rel="noreferrer"
|
||||
>Seedit</a>
|
||||
</li> */}
|
||||
<li onClick={() => handleOptionClick(reply.cid)}>
|
||||
<a href={`https://seedit.eth.limo/#/p/${selectedAddress}/c/${reply.cid}`} target='_blank' rel='noreferrer'>
|
||||
Seedit
|
||||
</a>
|
||||
</li>
|
||||
<li onClick={() => handleOptionClick(reply.cid)}>
|
||||
<a href={`https://plebones.eth.limo/#/p/${selectedAddress}/c/${reply.cid}`} target='_blank' rel='noreferrer'>
|
||||
Plebones
|
||||
@@ -2605,6 +2603,14 @@ const Thread = () => {
|
||||
>
|
||||
<li onClick={() => handleOptionClick(reply.cid)}>View on plebbit</li>
|
||||
</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
|
||||
style={{ color: 'inherit', textDecoration: 'none' }}
|
||||
href={`https://plebones.eth.limo/#/p/${selectedAddress}`}
|
||||
|
||||
Reference in New Issue
Block a user