Skip to content

Commit 62d1acd

Browse files
added side CTA
1 parent 33f2fd8 commit 62d1acd

3 files changed

Lines changed: 31 additions & 1 deletion

File tree

src/pages/tutorials/index.jsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ const IndexContent = () => {
2626
<div className="w-full pt-8 card_container">
2727
<CardList />
2828
</div>
29+
<div className='footer-cta rounded'>
30+
<div className='flex items-center justify-evenly'>
31+
<h3 className='cta-heading m-0'>Learn how to execute low code tests across 3000+ device / browser environments.</h3>
32+
<a href='/request-demo' target={'_blank'} className='cta-link border border-green-600 px-4 py-1.5 bg-green-600 text-white rounded h-10'>Schedule a free demo</a>
33+
</div>
34+
</div>
2935
<div className="flex flex-wrap homepage_footer">
3036
<div className="flex flex-wrap">
3137
<button onClick={() => window.fcWidget.open()}>

src/templates/page.jsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,10 @@ export default ({ data, pageContext }) => {
8080
<EditDoc className="items-end btn edit-button-styles flex inline-flex items-center" />
8181
</div>
8282
{contextualLinks}
83+
<div className='float-cta rounded'>
84+
<h3 className='cta-title font-semibold'>See how you can release 10x faster.</h3>
85+
<a href='/request-demo' target='_blank' className='signup-btn border border-green-600 px-4 py-1.5 bg-green-600 font-bold text-white rounded'>Book a free demo</a>
86+
</div>
8387
</div>
8488
</aside>
8589
</div>

src/templates/page.scss

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ code[class*="language-"] {
567567
.homepage_footer{
568568
flex-basis: 100%;
569569
justify-content: space-between;
570-
margin-bottom: 4rem;
570+
margin: 2rem 0 4rem;
571571
.pagination_buttons{
572572
@media (min-width: $screen_768) {
573573
margin: 0;
@@ -592,4 +592,24 @@ code[class*="language-"] {
592592
background-size: cover;
593593
background-position: center;
594594
}
595+
}
596+
.float-cta{
597+
@apply px-4 py-8 flex justify-center flex-col;
598+
background-color: #EFEFEF;
599+
width: 95%;
600+
margin: 3rem 0 0;
601+
.cta-title{
602+
margin: 0 !important;
603+
font-size: 24px !important;
604+
line-height: 36px !important;
605+
text-align: center;
606+
}
607+
.signup-btn{
608+
margin: 1rem 0 0;
609+
@apply flex justify-center;
610+
}
611+
}
612+
613+
.fixed{
614+
display: none;
595615
}

0 commit comments

Comments
 (0)