diff --git a/contents/negotiation.md b/contents/negotiation.md
index 9a395999..d3f1f49e 100644
--- a/contents/negotiation.md
+++ b/contents/negotiation.md
@@ -45,6 +45,9 @@ Things Moonchaser can do for you:
Book a free consultation with Moonchaser →
+
+
+
### Levels.fyi
[Levels.fyi](https://www.levels.fyi/services/?ref=TechInterviewHandbook&utm_source=techinterviewhandbook&utm_medium=referral&utm_content=website_negotiation) is most famously known for being a salary database but they also offer complementary services such as salary negotiation where you will be put in-touch with experienced recruiters to help you in the process. How Levels.fyi differs from Moonchaser is that Levels.fyi charges a flat fee whereas Moonchaser takes a percentage of the negotiated difference.
diff --git a/website/src/components/CarbonAd/index.js b/website/src/components/CarbonAd/index.js
index fa07596e..459e4386 100644
--- a/website/src/components/CarbonAd/index.js
+++ b/website/src/components/CarbonAd/index.js
@@ -30,5 +30,19 @@ export default React.memo(() => {
ref.current.appendChild(script);
}, []);
+ useEffect(() => {
+ const interval = setInterval(() => {
+ [...ref.current.children].forEach((child) => {
+ if (child.id.startsWith('carbonads_')) {
+ ref.current.removeChild(child);
+ }
+ });
+ }, 100);
+
+ return () => {
+ clearInterval(interval);
+ };
+ });
+
return
;
});
diff --git a/website/src/css/custom.css b/website/src/css/custom.css
index 1aaef66c..4a8a0e24 100755
--- a/website/src/css/custom.css
+++ b/website/src/css/custom.css
@@ -83,6 +83,10 @@ div[class^='announcementBar_'] {
font-weight: bold;
}
+.menu {
+ font-size: 0.875rem;
+}
+
.theme-doc-markdown details {
--ifm-alert-background-color: transparent;
border: 1px solid var(--ifm-color-primary);
diff --git a/website/src/theme/DocItem/index.js b/website/src/theme/DocItem/index.js
index 51deae1f..105ec845 100644
--- a/website/src/theme/DocItem/index.js
+++ b/website/src/theme/DocItem/index.js
@@ -10,7 +10,6 @@ import TOCCollapsible from '@theme/TOCCollapsible';
import Heading from '@theme/Heading';
import styles from './styles.module.css';
import {ThemeClassNames, useWindowSize} from '@docusaurus/theme-common';
-import CarbonAd from '../../components/CarbonAd';
import SidebarAd from '../../components/SidebarAd';
export default function DocItem(props) {
@@ -30,7 +29,7 @@ export default function DocItem(props) {
const shouldAddTitle =
!hideTitle && typeof DocContent.contentTitle === 'undefined';
- const windowSize = useWindowSize();
+ // const windowSize = useWindowSize();
const canRenderTOC =
!hideTableOfContents && DocContent.toc && DocContent.toc.length > 0;
// const renderTocDesktop =
@@ -55,7 +54,6 @@ export default function DocItem(props) {
-
{canRenderTOC && (
)}
-
-
-
@@ -94,7 +89,7 @@ export default function DocItem(props) {
-
+
{/* Change it such that sidebar ad is shown regardless whether there's a TOC */}
+
+
+