mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 17:08:53 +00:00
Website: update IDs and currentSection values of landing pages (#18131)
Closes: #18072 Changes: - Updated the IDs of landing pages to prevent auto-generated IDs of Markdown headings having the same ID as pages. - Added a `currentSection` value to the /endpoint-ops and /vulnerability-management pages.
This commit is contained in:
parent
05ccf9ee23
commit
455cb861e1
10 changed files with 11 additions and 9 deletions
|
|
@ -1,4 +1,4 @@
|
|||
parasails.registerPage('device-management', {
|
||||
parasails.registerPage('device-management-page', {
|
||||
// ╦╔╗╔╦╔╦╗╦╔═╗╦ ╔═╗╔╦╗╔═╗╔╦╗╔═╗
|
||||
// ║║║║║ ║ ║╠═╣║ ╚═╗ ║ ╠═╣ ║ ║╣
|
||||
// ╩╝╚╝╩ ╩ ╩╩ ╩╩═╝ ╚═╝ ╩ ╩ ╩ ╩ ╚═╝
|
||||
|
|
|
|||
2
website/assets/js/pages/endpoint-ops.page.js
vendored
2
website/assets/js/pages/endpoint-ops.page.js
vendored
|
|
@ -1,4 +1,4 @@
|
|||
parasails.registerPage('endpoint-ops', {
|
||||
parasails.registerPage('endpoint-ops-page', {
|
||||
// ╦╔╗╔╦╔╦╗╦╔═╗╦ ╔═╗╔╦╗╔═╗╔╦╗╔═╗
|
||||
// ║║║║║ ║ ║╠═╣║ ╚═╗ ║ ╠═╣ ║ ║╣
|
||||
// ╩╝╚╝╩ ╩ ╩╩ ╩╩═╝ ╚═╝ ╩ ╩ ╩ ╩ ╚═╝
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
parasails.registerPage('vulnerability-management', {
|
||||
parasails.registerPage('vulnerability-management-page', {
|
||||
// ╦╔╗╔╦╔╦╗╦╔═╗╦ ╔═╗╔╦╗╔═╗╔╦╗╔═╗
|
||||
// ║║║║║ ║ ║╠═╣║ ╚═╗ ║ ╠═╣ ║ ║╣
|
||||
// ╩╝╚╝╩ ╩ ╩╩ ╩╩═╝ ╚═╝ ╩ ╩ ╩ ╩ ╚═╝
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#device-management {
|
||||
#device-management-page {
|
||||
@heading-lineheight: 120%;
|
||||
@text-lineheight: 150%;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#endpoint-ops {
|
||||
#endpoint-ops-page {
|
||||
@heading-line-height: 120%;
|
||||
@text-line-height: 150%;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#vulnerability-management {
|
||||
#vulnerability-management-page {
|
||||
background: linear-gradient(180deg, #E8F1F6 0%, #FFF 8.76%);
|
||||
h1 {
|
||||
font-size: 56px;
|
||||
|
|
|
|||
2
website/config/routes.js
vendored
2
website/config/routes.js
vendored
|
|
@ -248,6 +248,7 @@ module.exports.routes = {
|
|||
locals: {
|
||||
pageTitleForMeta: 'Endpoint ops | Fleet',
|
||||
pageDescriptionForMeta: 'Pulse check anything, build reports, and ship data to any platform with Fleet.',
|
||||
currentSection: 'platform',
|
||||
}
|
||||
},
|
||||
|
||||
|
|
@ -256,6 +257,7 @@ module.exports.routes = {
|
|||
locals: {
|
||||
pageTitleForMeta: 'Vulnerability management | Fleet',
|
||||
pageDescriptionForMeta: 'Report CVEs, software inventory, security posture, and other risks down to the chipset of any endpoint with Fleet.',
|
||||
currentSection: 'platform',
|
||||
}
|
||||
},
|
||||
|
||||
|
|
|
|||
2
website/views/pages/device-management.ejs
vendored
2
website/views/pages/device-management.ejs
vendored
|
|
@ -1,4 +1,4 @@
|
|||
<div id="device-management" v-cloak>
|
||||
<div id="device-management-page" v-cloak>
|
||||
<div purpose="page-container">
|
||||
<div purpose="page-content" class="mx-auto">
|
||||
<div purpose="hero">
|
||||
|
|
|
|||
2
website/views/pages/endpoint-ops.ejs
vendored
2
website/views/pages/endpoint-ops.ejs
vendored
|
|
@ -1,4 +1,4 @@
|
|||
<div id="endpoint-ops" v-cloak>
|
||||
<div id="endpoint-ops-page" v-cloak>
|
||||
<div purpose="page-container">
|
||||
<div purpose="page-content" class="mx-auto">
|
||||
<div purpose="hero">
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
<div id="vulnerability-management" v-cloak>
|
||||
<div id="vulnerability-management-page" v-cloak>
|
||||
<div purpose="page-container">
|
||||
<div purpose="page-content" class="mx-auto">
|
||||
<div purpose="hero">
|
||||
|
|
|
|||
Loading…
Reference in a new issue