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">
|
||||
<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
|
||||
label={windowWidth > 768 ? `View in ${platform}` : null}
|
||||
label={windowWidth > 768 ? `View ${platform === 'nostr' ? 'on' : 'in'} ${platform}` : null}
|
||||
icon="pi pi-external-link"
|
||||
outlined
|
||||
size="small"
|
||||
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' }}
|
||||
/>
|
||||
</div>
|
||||
@ -157,4 +157,4 @@ const getPlatformIcon = (platform) => {
|
||||
}
|
||||
};
|
||||
|
||||
export default CommunityMessage;
|
||||
export default CommunityMessage;
|
||||
|
@ -87,7 +87,7 @@ const AboutPage = () => {
|
||||
<div className="flex items-start">
|
||||
<i className="pi pi-users text-2xl text-primary mr-2 text-purple-400 mt-1"></i>
|
||||
<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>
|
||||
<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>
|
||||
|
@ -78,9 +78,11 @@ const Feed = () => {
|
||||
/>
|
||||
</div>
|
||||
<Divider />
|
||||
<MessageInput
|
||||
collapsed={false}
|
||||
/>
|
||||
{selectedTopic === 'nostr' && (
|
||||
<MessageInput
|
||||
collapsed={false}
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
<div className="min-bottom-bar:hidden">
|
||||
<CommunityMenuTab
|
||||
|
Loading…
x
Reference in New Issue
Block a user