Skip to content

Commit

Permalink
Updated Data and Added Date/Time to Insights Page
Browse files Browse the repository at this point in the history
  • Loading branch information
staware30 committed Feb 7, 2024
1 parent 0ad18f3 commit 6ad20bc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 6 additions & 0 deletions blocks/gmo-metrics/gmo-metrics.css
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
content: '';
}

.gmo-metrics .title {
display: flex;
justify-content: space-between;
}

.gmo-metrics .graph-container {
display: flex;
flex-flow: row wrap;
Expand Down Expand Up @@ -100,4 +105,5 @@
align-items: center;
justify-content: center;
}

}
5 changes: 4 additions & 1 deletion blocks/gmo-metrics/gmo-metrics.js
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,10 @@ function sortByAmount(values) {
export default async function decorate(block) {
const config = readBlockConfig(block);
block.innerHTML = `
<h1>${config.title || 'Asset Metrics'}</h1>
<div class="title">
<h1>${config.title || 'Asset Metrics'}</h1>
<h1>Updated: ${config.updated}</h1>
</div>
<div class="graph-container">
<div>
<h2>Asset Statistics</h2>
Expand Down

0 comments on commit 6ad20bc

Please sign in to comment.