diff --git a/src/components/board-buttons/board-buttons.module.css b/src/components/board-buttons/board-buttons.module.css index a1c3a79a..36a20ac2 100644 --- a/src/components/board-buttons/board-buttons.module.css +++ b/src/components/board-buttons/board-buttons.module.css @@ -54,29 +54,10 @@ padding-top: 15px; } -.adButton { - text-align: center; - font-size: 10px; -} - -.adButton a { - text-decoration: none; - color: var(--button-desktop-text-color); - -} -.adButton a:hover { - cursor: pointer; - color: var(--button-desktop-text-color-hover); -} - @media (max-width: 640px) { .desktopBoardButtons { display: none; } - - .adButton { - display: inline-flex; - } } @media (min-width: 640px) { diff --git a/src/components/board-buttons/board-buttons.tsx b/src/components/board-buttons/board-buttons.tsx index 0106a50e..fbcc9be4 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 AdButton = () => { - return ( -
- [ - { - e.preventDefault(); - alert('work in progress'); - }} - > - Plebbit Leaderboard - - ] -
- ); -}; - export const MobileBoardButtons = () => { const params = useParams(); const location = useLocation(); @@ -204,8 +186,6 @@ export const MobileBoardButtons = () => { return (
- -
{isInPostView || isInPendingPostPage ? ( <> @@ -253,8 +233,6 @@ export const DesktopBoardButtons = () => { return ( <> -
-
{isInPostView || isInPendingPostPage ? ( diff --git a/src/components/topbar/topbar.tsx b/src/components/topbar/topbar.tsx index 59f054ee..3e02f6b5 100644 --- a/src/components/topbar/topbar.tsx +++ b/src/components/topbar/topbar.tsx @@ -90,6 +90,16 @@ const TopBarDesktop = () => { > Create + ] [ + { + e.preventDefault(); + alert('work in progress'); + }} + > + Vote + ] )}