Skip to content

Commit bc9e58c

Browse files
committed
Add custom ad
1 parent 0a6d72f commit bc9e58c

File tree

3 files changed

+43
-0
lines changed

3 files changed

+43
-0
lines changed

Diff for: components/custom-ad.tsx

+41
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
export const CustomAd = () => {
2+
return (
3+
<div id="carbonads">
4+
<span>
5+
<span className="carbon-wrap">
6+
<a
7+
href="https://freemote.com/strategy?sl=roadmap"
8+
className="carbon-img"
9+
target="_blank"
10+
rel="noopener sponsored"
11+
>
12+
<img
13+
src="/fm-img.png"
14+
alt="FM Logo"
15+
border="0"
16+
height="100"
17+
width="130"
18+
style={{ maxWidth: "130px" }}
19+
/>
20+
</a>
21+
<a
22+
href="https://freemote.com/strategy?sl=roadmap"
23+
className="carbon-text"
24+
target="_blank"
25+
rel="noopener sponsored"
26+
>
27+
He Went from ZERO TO $74,000 as a Full Time Developer in 7 Weeks
28+
</a>
29+
</span>
30+
<a
31+
href="https://github.com/sponsors/kamranahmedse"
32+
className="carbon-poweredby"
33+
target="_blank"
34+
rel="noopener sponsored"
35+
>
36+
Sponsored by
37+
</a>
38+
</span>
39+
</div>
40+
);
41+
};

Diff for: components/footer.tsx

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { Box, Container, Flex, Image, Link, Stack, Text } from '@chakra-ui/react';
22
import siteConfig from '../content/site.json';
3+
import { CustomAd } from './custom-ad';
34

45
function NavigationLinks() {
56
return (
@@ -64,6 +65,7 @@ export function Footer() {
6465
</Box>
6566
</Container>
6667

68+
<CustomAd />
6769
{process.env.GA_SECRET && false && (
6870
<script
6971
async

Diff for: public/fm-img.png

385 KB
Loading

0 commit comments

Comments
 (0)