Website: update documentation CTA (#5946)

This commit is contained in:
Eric 2022-05-29 19:31:08 -05:00 committed by GitHub
parent 0b15d212af
commit 9798e6abb4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 10 deletions

View file

@ -504,7 +504,7 @@
[purpose='next-steps-button'] {
font-size: 16px;
line-height: 25px;
padding: 16px 32px;
padding: 20px;
img {
display: inline;
height: 24px;
@ -514,6 +514,13 @@
margin: 0px;
}
}
[purpose='slack-cta'] {
padding-top: 40px;
padding-bottom: 40px;
margin-bottom: 40px;
border-top: 1px solid @core-fleet-black-25;
border-bottom: 1px solid @core-fleet-black-25;
}
}

View file

@ -209,22 +209,19 @@
)
) %>
<div class="d-block pb-3" v-if="thisPage.title === 'Learn how to use Fleet'">
<h3 style="font-size: 24px; line-height: 28px;">Next steps</h3>
<div class="d-block" purpose="slack-cta">
<h3 class="pt-0" style="font-size: 24px; line-height: 28px;">Need more help?</h3>
<div class="d-sm-flex">
<a href="/docs/deploying" class="d-flex btn btn-primary btn-md justify-content-center mr-sm-3" purpose="next-steps-button">
Learn how to deploy Fleet
</a>
<a href="/slack" target="_blank" class="d-flex btn btn-md btn-outline-secondary justify-content-center align-items-center mt-3 mt-sm-0" purpose="next-steps-button">
<img class="pr-3" alt="Slack logo" src="/images/logo-slack-24x24@2x.png"/>
Ask for help on Slack
Ask the community on Slack
</a>
</div>
</div>
<div class="d-block" v-else>
<h3 class="pb-4 m-0">Is there something missing?</h3>
<div class="d-block">
<h3 class="pt-0 pb-4 m-0">Did we miss anything?</h3>
<p>
If you notice something weve missed, or that could be improved, please click <a :href="'https://github.com/fleetdm/fleet/edit/main/docs/'+thisPage.sectionRelativeRepoPath" target="_blank">here</a> to edit this page.
If you notice something we've missed or could be improved on, please follow <a :href="'https://github.com/fleetdm/fleet/edit/main/docs/'+thisPage.sectionRelativeRepoPath" target="_blank">this link</a> and submit a pull request to the Fleet repo.
</p>
</div>