feat: add 'view on seedit' links

This commit is contained in:
plebeius.eth
2023-12-15 12:58:47 +01:00
parent 3a51e5022f
commit 83c93c5861
9 changed files with 50 additions and 30 deletions
+1 -1
View File
@@ -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>
+1 -1
View File
@@ -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> */}
+1 -1
View File
@@ -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>
+1 -1
View File
@@ -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>
+13 -6
View File
@@ -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}`}
+13 -6
View File
@@ -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}`}
+1 -1
View File
@@ -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>
+18 -12
View File
@@ -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}`}