mirror of
https://github.com/fleetdm/fleet
synced 2026-05-24 09:28:54 +00:00
Website: remove /transparency route & add redirect (#19511)
Changes: - Updated the /transparency page to only have a single version - Removed the /transparency route and added a redirect going to /better
This commit is contained in:
parent
0173e3b12c
commit
8f6685f99d
2 changed files with 3 additions and 23 deletions
10
website/config/routes.js
vendored
10
website/config/routes.js
vendored
|
|
@ -100,14 +100,6 @@ module.exports.routes = {
|
|||
}
|
||||
},// handles /handbook and /handbook/foo/bar
|
||||
|
||||
'GET /transparency': {
|
||||
action: 'view-transparency',
|
||||
locals: {
|
||||
pageTitleForMeta: 'Transparency | Fleet',
|
||||
pageDescriptionForMeta: 'Learn what data osquery can see.',
|
||||
showContactFormCta: false,
|
||||
}
|
||||
},
|
||||
'GET /new-license': {
|
||||
action: 'customers/view-new-license',
|
||||
locals: {
|
||||
|
|
@ -303,7 +295,6 @@ module.exports.routes = {
|
|||
'GET /better': {
|
||||
action: 'view-transparency',
|
||||
locals: {
|
||||
showContactFormCta: true,
|
||||
pageDescriptionForMeta: 'Discover how Fleet simplifies IT and security, prioritizing privacy, transparency, and trust for end users.',
|
||||
pageTitleForMeta: 'Better with Fleet | Fleet'
|
||||
}
|
||||
|
|
@ -460,6 +451,7 @@ module.exports.routes = {
|
|||
'GET /docs/deploy/deploy-on-render': '/guides/deploy-fleet-on-render',
|
||||
'GET /docs/deploy/deploy-fleet-on-kubernetes': '/guides/deploy-fleet-on-kubernetes',
|
||||
'GET /docs/using-fleet/mdm-macos-setup': '/docs/using-fleet/mdm-setup',
|
||||
'GET /transparency': '/better',
|
||||
|
||||
// ╔╦╗╦╔═╗╔═╗ ╦═╗╔═╗╔╦╗╦╦═╗╔═╗╔═╗╔╦╗╔═╗ ┬ ╔╦╗╔═╗╦ ╦╔╗╔╦ ╔═╗╔═╗╔╦╗╔═╗
|
||||
// ║║║║╚═╗║ ╠╦╝║╣ ║║║╠╦╝║╣ ║ ║ ╚═╗ ┌┼─ ║║║ ║║║║║║║║ ║ ║╠═╣ ║║╚═╗
|
||||
|
|
|
|||
16
website/views/pages/transparency.ejs
vendored
16
website/views/pages/transparency.ejs
vendored
|
|
@ -1,7 +1,6 @@
|
|||
<div id="transparency" v-cloak>
|
||||
|
||||
<div style="max-width: 1008px;" class="container-fluid d-flex flex-column justify-content-center align-items-center px-3 px-md-4 pt-3 pt-lg-5 pb-5 mx-auto my-5">
|
||||
<% if(typeof showContactFormCta !== 'undefined' && showContactFormCta) {%>
|
||||
<div purpose="hero-text">
|
||||
<h1>A better user experience</h1>
|
||||
<p>Fleet is dedicated to making IT and security less annoying, while maintaining privacy, transparency, and trust for end users.</p>
|
||||
|
|
@ -25,7 +24,6 @@
|
|||
<div purpose="logos" class="mx-auto">
|
||||
<logo-carousel></logo-carousel>
|
||||
</div>
|
||||
<% } %>
|
||||
<div class="container-fluid d-flex flex-column text-center justify-content-center align-items-center pb-5 mb-3 mx-auto">
|
||||
<div purpose="hero-text" class="mb-3">
|
||||
<h3 class="pb-3">What personal information can Fleet see?</h3>
|
||||
|
|
@ -166,19 +164,9 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div purpose="card" class="d-flex flex-column flex-md-row align-items-center py-5 mb-5" v-if="!showContactFormCta">
|
||||
<div class="d-flex align-items-start px-4 pb-4 pb-lg-0">
|
||||
<img style="max-height: 92px; width: auto" alt="privacy icon" src="/images/privacy-80x92@2x.png"/>
|
||||
</div>
|
||||
<div class="text-center text-md-left px-4">
|
||||
<p class="font-weight-bold">It’s important to be vigilant about the personal information you share on your devices.</p>
|
||||
<p>If you are unsure, or still have concerns about your privacy, it’s a good idea to talk to your employer about your organization’s privacy policy, and how your personal information is handled.</p>
|
||||
<a href="https://blog.fleetdm.com/work-may-be-watching-but-it-might-not-be-as-bad-as-you-think-10b7f25e92bb" target="_blank" class="d-inline-flex">Read about what to do, and not do on your work computer.</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div purpose="bottom-gradient" v-if="showContactFormCta">
|
||||
<parallax-city></parallax-city>
|
||||
<div purpose="bottom-gradient">
|
||||
<parallax-city></parallax-city>
|
||||
</div>
|
||||
</div>
|
||||
<%- /* Expose server-rendered data as window.SAILS_LOCALS :: */ exposeLocalsToBrowser() %>
|
||||
|
|
|
|||
Loading…
Reference in a new issue