Skip to content

Commit

Permalink
Tweak intro page
Browse files Browse the repository at this point in the history
  • Loading branch information
lahmatiy committed May 5, 2024
1 parent 1fdae45 commit 5ebc190
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
6 changes: 6 additions & 0 deletions app/pages/default.css
Original file line number Diff line number Diff line change
Expand Up @@ -316,3 +316,9 @@
.page-default .hierarchical-components > .content .view-section .view-table .view-duration .time {
min-width: calc(var(--total-time-digits) * 1ex + 3.5ex);
}

.page-default .upload-notes {
font-size: 82%;
color: #aaa;
padding: 6px;
}
10 changes: 8 additions & 2 deletions app/pages/default.js
Original file line number Diff line number Diff line change
Expand Up @@ -402,15 +402,21 @@ discovery.page.define('default', {
{
view: 'markdown',
source: [
'A viewer for CPU profiles collected in Node.js or Chromium browsers.',
'A viewer for CPU profiles captured in V8 runtimes like Node.js, Deno or Chromium browsers.',
'',
'Supported formats:',
...supportedFormats
]
},
'html:"<br>"',
'preset/upload',
'html:"<br><br>"',
'html:"<br>"',
{
view: 'block',
className: 'upload-notes',
content: 'html:"CPUPRO is a server-less application that processes profiles locally without transmitting data elsewhere,<br>it securely opens and analyzes your profiles directly on your device."'
},
'html:"<br>"',
{
view: 'button',
onClick: '=#.actions.uploadDemoData',
Expand Down

0 comments on commit 5ebc190

Please sign in to comment.