From 0224122e1a4aa36540db9e88dd67902acb6cd7b8 Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Thu, 9 Sep 2021 22:00:43 +0200 Subject: [PATCH] Disable carbon ads --- components/custom-ad.tsx | 15 ++++----- pages/_app.tsx | 1 - styles/sponsor.css | 66 ---------------------------------------- 3 files changed, 8 insertions(+), 74 deletions(-) delete mode 100644 styles/sponsor.css diff --git a/components/custom-ad.tsx b/components/custom-ad.tsx index cfafcb0a4..c883062d1 100644 --- a/components/custom-ad.tsx +++ b/components/custom-ad.tsx @@ -1,23 +1,24 @@ export const CustomAd = () => { return ( -
+
- + FM Logo He Went from ZERO TO $74,000 as a Full Time Developer in 7 Weeks @@ -25,7 +26,7 @@ export const CustomAd = () => { Sponsored by diff --git a/pages/_app.tsx b/pages/_app.tsx index 8b543def6..855536376 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -5,7 +5,6 @@ import 'prism-themes/themes/prism-shades-of-purple.css'; import { roadmapTheme } from '../styles/theme'; import { firePageView } from '../lib/gtag'; import '../styles/carbon.css'; -import '../styles/sponsor.css'; import { StickyBanner } from '../components/sticky-banner'; function MyApp({ Component, pageProps }: AppProps) { diff --git a/styles/sponsor.css b/styles/sponsor.css deleted file mode 100644 index 6e66a84dd..000000000 --- a/styles/sponsor.css +++ /dev/null @@ -1,66 +0,0 @@ -#sponsorads { - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, - Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif; - position: fixed; - bottom: 15px; - right: 20px; -} - -#sponsorads { - display: flex; - max-width: 330px; - background-color: hsl(0, 0%, 98%); - box-shadow: 0 1px 4px 1px hsla(0, 0%, 0%, .1); -} - -#sponsorads:hover { - z-index: 999; -} - -#sponsorads a { - color: inherit; - text-decoration: none; -} - -#sponsorads a:hover { - color: inherit; -} - -#sponsorads span { - position: relative; - display: block; - overflow: hidden; -} - -#sponsorads .sponsor-wrap { - display: flex; -} - -.sponsor-img { - display: block; - margin: 0; - line-height: 1; -} - -.sponsor-img img { - display: block; -} - -.sponsor-text { - font-size: 13px; - padding: 10px; - line-height: 1.5; - text-align: left; -} - -.sponsor-poweredby { - display: block; - padding: 8px 10px; - background: repeating-linear-gradient(-45deg, transparent, transparent 5px, hsla(0, 0%, 0%, .025) 5px, hsla(0, 0%, 0%, .025) 10px) hsla(203, 11%, 95%, .4); - text-align: center; - text-transform: uppercase; - letter-spacing: .5px; - font-weight: 600; - font-size: 9px; - line-height: 1; -}