Revert custom ad changes
This commit is contained in:
@ -1,8 +1,6 @@
|
|||||||
import { Box } from '@chakra-ui/react';
|
|
||||||
|
|
||||||
export const CustomAd = () => {
|
export const CustomAd = () => {
|
||||||
return (
|
return (
|
||||||
<Box className='custom-ad' d={['none !important', 'flex !important']}>
|
<div id='carbonads'>
|
||||||
<span>
|
<span>
|
||||||
<span className='carbon-wrap'>
|
<span className='carbon-wrap'>
|
||||||
<a
|
<a
|
||||||
@ -34,6 +32,6 @@ export const CustomAd = () => {
|
|||||||
Sponsored by
|
Sponsored by
|
||||||
</a>
|
</a>
|
||||||
</span>
|
</span>
|
||||||
</Box>
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
@ -66,7 +66,7 @@ export function Footer() {
|
|||||||
</Container>
|
</Container>
|
||||||
|
|
||||||
<CustomAd />
|
<CustomAd />
|
||||||
{process.env.GA_SECRET && (
|
{process.env.GA_SECRET && false && (
|
||||||
<script
|
<script
|
||||||
async
|
async
|
||||||
type='text/javascript'
|
type='text/javascript'
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
#carbonads, .custom-ad {
|
#carbonads {
|
||||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu,
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu,
|
||||||
Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;
|
Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
@ -6,34 +6,29 @@
|
|||||||
right: 20px;
|
right: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.custom-ad {
|
#carbonads {
|
||||||
left: 20px !important;
|
|
||||||
right: auto !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
#carbonads, .custom-ad {
|
|
||||||
display: flex;
|
display: flex;
|
||||||
max-width: 330px;
|
max-width: 330px;
|
||||||
background-color: hsl(0, 0%, 98%);
|
background-color: hsl(0, 0%, 98%);
|
||||||
box-shadow: 0 1px 4px 1px hsla(0, 0%, 0%, .1);
|
box-shadow: 0 1px 4px 1px hsla(0, 0%, 0%, .1);
|
||||||
}
|
}
|
||||||
|
|
||||||
#carbonads a, .custom-ad a {
|
#carbonads a {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
#carbonads a:hover, .custom-ad a:hover {
|
#carbonads a:hover {
|
||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
#carbonads span, .custom-ad span {
|
#carbonads span {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: block;
|
display: block;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
#carbonads .carbon-wrap, .custom-ad .carbon-wrap {
|
#carbonads .carbon-wrap {
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user