Website: Update docs CTA classes and styles (#20386)

Changes:
- Added a unique class to the CTA at the bottom of docs pages.
This commit is contained in:
Eric 2024-07-11 12:21:22 -05:00 committed by GitHub
parent dcb39dcbf1
commit 601189d38c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 4 deletions

View file

@ -501,6 +501,7 @@
}
[purpose='content'] {
width: 100%;
hr {
margin: 0px;
padding: 0px;

View file

@ -209,19 +209,19 @@
<% if(!me){ %>
<h2>Try it out</h2>
<p>See what Fleet can do</p>
<a purpose="continue-button" class="btn btn-primary" href="/register">Start now</a>
<a purpose="continue-button" class="btn btn-primary docs-cta-continue-button" href="/register">Start now</a>
<% } else if (['2 - Aware', '3 - Intrigued', '4 - Has use case'].includes(me.psychologicalStage)) {%>
<h2>Tried Fleet yet?</h2>
<p>Continue getting started with Fleet</p>
<a purpose="continue-button" class="btn btn-primary" href="/start">Continue</a>
<a purpose="continue-button" class="btn btn-primary docs-cta-continue-button" href="/start">Continue</a>
<% } else if (me.psychologicalStage === '5 - Personally confident') {%>
<h2>Feeling confident?</h2>
<p>Get set up with Fleet</p>
<a purpose="continue-button" class="btn btn-primary" href="/start">Continue</a>
<a purpose="continue-button" class="btn btn-primary docs-cta-continue-button" href="/start">Continue</a>
<% } else if (me.psychologicalStage === '6 - Has team buy-in') {%>
<h2>Talk to the team</h2>
<p>Lets get you set up!</p>
<a purpose="continue-button" class="btn btn-primary" href="/start">Continue</a>
<a purpose="continue-button" class="btn btn-primary docs-cta-continue-button" href="/start">Continue</a>
<%}%>
</div>
</div>