Add carbon integration

This commit is contained in:
Kamran Ahmed
2021-09-05 18:45:32 +02:00
parent dd43969dfb
commit 0a6d72f671
7 changed files with 75 additions and 3 deletions

View File

@ -63,6 +63,15 @@ export function Footer() {
</Text>
</Box>
</Container>
{process.env.GA_SECRET && false && (
<script
async
type='text/javascript'
src='//cdn.carbonads.com/carbon.js?serve=CE7DLK3Y&placement=roadmapsh'
id='_carbonads_js'
/>
)}
</Box>
);
}

View File

@ -0,0 +1,21 @@
export function VideoIcon(props: any) {
return (
<svg
stroke='currentColor'
fill='currentColor'
strokeWidth='0'
viewBox='0 0 24 24'
height='1em'
width='1em'
xmlns='http://www.w3.org/2000/svg'
{...props}
>
<g>
<path fill='none' d='M0 0h24v24H0z' />
<path
d='M3 3.993C3 3.445 3.445 3 3.993 3h16.014c.548 0 .993.445.993.993v16.014a.994.994 0 0 1-.993.993H3.993A.994.994 0 0 1 3 20.007V3.993zm7.622 4.422a.4.4 0 0 0-.622.332v6.506a.4.4 0 0 0 .622.332l4.879-3.252a.4.4 0 0 0 0-.666l-4.88-3.252z'
/>
</g>
</svg>
);
}

View File

@ -3,7 +3,7 @@ import React from 'react';
import { MDXProvider } from '@mdx-js/react';
import { ChakraProvider } from '@chakra-ui/react';
import MdxComponents from './mdx-components';
import { roadmapTheme } from '../../lib/theme';
import { roadmapTheme } from '../../styles/theme';
type MdRendererType = {
children: React.ReactNode