1- import { Button } from '@codeimage/ui' ;
1+ import { Button , Badge } from '@codeimage/ui' ;
22import { useRouteData } from '@solidjs/router' ;
33import { createSignal } from 'solid-js' ;
4+ import {
5+ advertisingBadge ,
6+ advertisingDescription ,
7+ } from '~/components/Main/MainPage.css' ;
48import * as styles from '~/components/Main/MainPage.css' ;
59import { breakpoints } from '~/theme/breakpoints' ;
6- import { mainWebsiteLink } from '~/core/constants' ;
10+ import { betterCommentsForGitHubLink , mainWebsiteLink } from '~/core/constants' ;
711import { routeData } from '~/routes' ;
812import { GitHubButton } from '../GitHubButton/GitHubButton' ;
913import { Header } from '../Header/Header' ;
@@ -23,8 +27,8 @@ export default function MainPage() {
2327 < div class = { styles . textBox } >
2428 < div class = { styles . heroContainer } >
2529 < h1 class = { styles . heading } >
26- A tool to < br /> < span class = { styles . screenshot } > beautify </ span > { ' ' }
27- your < span class = { styles . screenshot } > code</ span > screenshots
30+ < span class = { styles . screenshot } > Beautify </ span > your { ' ' }
31+ < span class = { styles . screenshot } > code</ span > screenshots
2832 </ h1 >
2933
3034 < p class = { styles . mobileDescription } >
@@ -47,6 +51,29 @@ export default function MainPage() {
4751
4852 < GitHubButton loading = { loading ( ) } stars = { stars ( ) } />
4953 </ div >
54+
55+ < div class = { styles . ctaContainer } >
56+ < div class = { styles . advertisingBanner } >
57+ < span class = { styles . advertisingBadge } > NEW!</ span >
58+
59+ < div class = { styles . advertisingDescription } >
60+ Improve now your < strong > GitHub comments experience</ strong > !
61+ Try the new browser extension from < strong > CodeImage</ strong > { ' ' }
62+ creator!
63+ </ div >
64+
65+ < Button
66+ as = { 'a' }
67+ rel = { 'canonical' }
68+ href = { betterCommentsForGitHubLink }
69+ size = { 'md' }
70+ variant = { 'solid' }
71+ theme = { 'primaryAlt' }
72+ >
73+ Try Better Comments For GitHub
74+ </ Button >
75+ </ div >
76+ </ div >
5077 </ div >
5178 < div class = { styles . imagePerspectiveBox } ref = { imageBox } >
5279 < div class = { styles . imageSection } >
0 commit comments