-
Notifications
You must be signed in to change notification settings - Fork 492
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Website: Add homepage banner CTA (#26796)
Closes: fleetdm/confidential#9802 Changes: - Added a banner CTA to the homepage
- Loading branch information
Showing
4 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ | |
var me; | ||
var isHomepage; | ||
var currentSection; | ||
var showHeaderCTA; | ||
var hideHeaderLinks;// Hides the header navigation links. | ||
var hideFooterLinks;// Hides footer links, reduces the height of the footer to 60px; | ||
var showAdminLinks;// Shows links to admin pages to admin users. | ||
|
@@ -131,6 +132,14 @@ | |
</head> | ||
<body> | ||
<div purpose="page-wrap" class="<%= hideFooterLinks ? 'reduced-footer-links' : '' %> collapse" id="navbarToggleExternalContent"> | ||
<%// Call to action ribbon above page header %> | ||
<div purpose="header-ribbon-cta" class="<%= showHeaderCTA ? 'd-flex' : 'd-none' %> flex-row justify-content-center align-items-md-center"> | ||
<div class="mb-0 d-flex flex-row align-items-center"> | ||
<p class="text-center"> | ||
<img src="/images/[email protected]" class="d-inline" alt="👋">We’re launching free support for BYOD Android devices and looking for early feedback. <a href="/contact">Interested?</a> | ||
</p> | ||
</div> | ||
</div> | ||
<%// Page header%> | ||
<div class="header" purpose="header-container" hide-when-scrolled data-nosnippet> | ||
<div purpose="header-background"> | ||
|