diff --git a/src/components/board-buttons/board-buttons.module.css b/src/components/board-buttons/board-buttons.module.css index 80c51269..423986ec 100644 --- a/src/components/board-buttons/board-buttons.module.css +++ b/src/components/board-buttons/board-buttons.module.css @@ -51,17 +51,17 @@ padding-top: 15px; } -.createBoardButton { +.adButton { text-align: center; font-size: 10px; } -.createBoardButton a { +.adButton a { text-decoration: none; color: var(--button-desktop-text-color); } -.createBoardButton a:hover { +.adButton a:hover { cursor: pointer; color: var(--button-desktop-text-color-hover); } @@ -71,7 +71,7 @@ display: none; } - .createBoardButton { + .adButton { display: inline-flex; } } diff --git a/src/components/board-buttons/board-buttons.tsx b/src/components/board-buttons/board-buttons.tsx index 94616173..aa109f6c 100644 --- a/src/components/board-buttons/board-buttons.tsx +++ b/src/components/board-buttons/board-buttons.tsx @@ -172,24 +172,6 @@ export const TimeFilter = ({ isInAllView, isInCatalogView, isInSubscriptionsView ); }; -const CreateBoardButton = () => { - return ( -
- [ - { - e.preventDefault(); - alert('work in progress'); - }} - > - Create a Board - - ] -
- ); -}; - export const MobileBoardButtons = () => { const params = useParams(); const location = useLocation(); @@ -204,7 +186,19 @@ export const MobileBoardButtons = () => { return (
- +
+ [ + { + e.preventDefault(); + alert('work in progress'); + }} + > + Vote for Boards + + ] +

{isInPostView || isInPendingPostPage ? ( <> @@ -254,7 +248,19 @@ export const DesktopBoardButtons = () => { return ( <>
- +
+ [ + { + e.preventDefault(); + alert('work in progress'); + }} + > + Vote for Boards + + ] +

{isInPostView || isInPendingPostPage ? ( diff --git a/src/components/topbar/topbar.tsx b/src/components/topbar/topbar.tsx index ef7d1b36..59f054ee 100644 --- a/src/components/topbar/topbar.tsx +++ b/src/components/topbar/topbar.tsx @@ -82,13 +82,13 @@ const TopBarDesktop = () => { [{renderSubplebbits(plebbitSubs)}] [{renderSubplebbits(projectsSubs)}] [{renderSubplebbits(interestsSubs)}] [{renderSubplebbits(randomSubs)}] [ {renderSubplebbits(internationalSubs)}] [ { e.preventDefault(); alert('work in progress'); }} > - Edit + Create ]