mirror of
https://github.com/AustinKelsay/plebdevs.git
synced 2025-06-23 07:55:09 +00:00
Can only create new message on nostr feed
This commit is contained in:
parent
1d2a21e24c
commit
b9672f940d
@ -24,12 +24,12 @@ const headerTemplate = (options, windowWidth, platform, id) => {
|
|||||||
<div className="flex flex-row justify-between items-end mb-2">
|
<div className="flex flex-row justify-between items-end mb-2">
|
||||||
<GenericButton outlined severity="primary" size="small" className="py-0" onClick={options.onTogglerClick} icon={options.collapsed ? 'pi pi-chevron-down' : 'pi pi-chevron-up'} tooltip={windowWidth <= 768 ? null : 'comments'} tooltipOptions={{ position: 'right' }} />
|
<GenericButton outlined severity="primary" size="small" className="py-0" onClick={options.onTogglerClick} icon={options.collapsed ? 'pi pi-chevron-down' : 'pi pi-chevron-up'} tooltip={windowWidth <= 768 ? null : 'comments'} tooltipOptions={{ position: 'right' }} />
|
||||||
<GenericButton
|
<GenericButton
|
||||||
label={windowWidth > 768 ? `View in ${platform}` : null}
|
label={windowWidth > 768 ? `View ${platform === 'nostr' ? 'on' : 'in'} ${platform}` : null}
|
||||||
icon="pi pi-external-link"
|
icon="pi pi-external-link"
|
||||||
outlined
|
outlined
|
||||||
size="small"
|
size="small"
|
||||||
onClick={() => window.open(getPlatformLink(platform, id), '_blank')}
|
onClick={() => window.open(getPlatformLink(platform, id), '_blank')}
|
||||||
tooltip={windowWidth < 768 ? `View in ${platform}` : null}
|
tooltip={windowWidth < 768 ? `View ${platform === 'nostr' ? 'on' : 'in'} ${platform}` : null}
|
||||||
tooltipOptions={{ position: 'left' }}
|
tooltipOptions={{ position: 'left' }}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
@ -87,7 +87,7 @@ const AboutPage = () => {
|
|||||||
<div className="flex items-start">
|
<div className="flex items-start">
|
||||||
<i className="pi pi-users text-2xl text-primary mr-2 text-purple-400 mt-1"></i>
|
<i className="pi pi-users text-2xl text-primary mr-2 text-purple-400 mt-1"></i>
|
||||||
<div>
|
<div>
|
||||||
<h3 className="text-lg font-semibold">:</h3>
|
<h3 className="text-lg font-semibold">Feeds:</h3>
|
||||||
<p className='text-lg'>All of the current PlebDevs Community channels.</p>
|
<p className='text-lg'>All of the current PlebDevs Community channels.</p>
|
||||||
<ul className="list-disc list-inside ml-2 mt-2 space-y-2">
|
<ul className="list-disc list-inside ml-2 mt-2 space-y-2">
|
||||||
<li><span className="text-lg font-semibold">Nostr:</span> Public plebdevs nostr chat (Read / Write) <br /> <span className="pl-4">* this is the only feed that you can write to from the plebdevs platform currently.</span></li>
|
<li><span className="text-lg font-semibold">Nostr:</span> Public plebdevs nostr chat (Read / Write) <br /> <span className="pl-4">* this is the only feed that you can write to from the plebdevs platform currently.</span></li>
|
||||||
|
@ -78,9 +78,11 @@ const Feed = () => {
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<Divider />
|
<Divider />
|
||||||
<MessageInput
|
{selectedTopic === 'nostr' && (
|
||||||
collapsed={false}
|
<MessageInput
|
||||||
/>
|
collapsed={false}
|
||||||
|
/>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
<div className="min-bottom-bar:hidden">
|
<div className="min-bottom-bar:hidden">
|
||||||
<CommunityMenuTab
|
<CommunityMenuTab
|
||||||
|
Loading…
x
Reference in New Issue
Block a user