mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
feat(topbar): add temporary links to "create board" and "vote" buttons
This commit is contained in:
@@ -37,9 +37,16 @@
|
||||
margin-right: -7px;
|
||||
}
|
||||
|
||||
.disabledButton {
|
||||
.temporaryButton {
|
||||
color: var(--topbar-desktop-link-text-color);
|
||||
text-decoration: var(--topbar-desktop-link-text-decoration);
|
||||
text-transform: capitalize;
|
||||
cursor: not-allowed !important;
|
||||
}
|
||||
|
||||
.temporaryButton:hover {
|
||||
color: var(--topbar-desktop-link-text-color-hover);
|
||||
text-decoration: var(--topbar-desktop-link-text-decoration-hover);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.searchBar input[type="text"] {
|
||||
|
||||
@@ -98,25 +98,17 @@ const TopBarDesktop = () => {
|
||||
</>
|
||||
)}
|
||||
[
|
||||
<Link
|
||||
className={styles.disabledButton}
|
||||
to='boards/create'
|
||||
onClick={(e) => {
|
||||
e.preventDefault();
|
||||
}}
|
||||
>
|
||||
{t('create')}
|
||||
</Link>
|
||||
<span className={styles.temporaryButton}>
|
||||
<a href='https://plebbit.github.io/docs/learn/clients/plebchan/create-a-board' target='_blank' rel='noopener noreferrer'>
|
||||
{t('create_board')}
|
||||
</a>
|
||||
</span>
|
||||
] [
|
||||
<Link
|
||||
className={styles.disabledButton}
|
||||
to='boards'
|
||||
onClick={(e) => {
|
||||
e.preventDefault();
|
||||
}}
|
||||
>
|
||||
{t('vote')}
|
||||
</Link>
|
||||
<span className={styles.temporaryButton}>
|
||||
<a href='https://seedit.eth.limo/#/communities/vote' target='_blank' rel='noopener noreferrer'>
|
||||
{t('vote')}
|
||||
</a>
|
||||
</span>
|
||||
]
|
||||
</span>
|
||||
<span className={styles.navTopRight}>
|
||||
|
||||
Reference in New Issue
Block a user