Skip to content

Commit

Permalink
feat(memfault): show Memfault logo in chart
Browse files Browse the repository at this point in the history
  • Loading branch information
coderbyheart committed Nov 6, 2024
1 parent e4d17d4 commit 712eca0
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 2 deletions.
22 changes: 20 additions & 2 deletions src/model/PCA20065/Chart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ export const Chart = () => {
)}
</WithResize>

<div class="row px-4 py-4">
<div class="col d-flex justify-content-start align-items-center">
<div class="row px-4 pb-4">
<div class="col d-flex justify-content-start align-items-center mt-4">
<span class="me-2 opacity-75">Chart history:</span>
{timeSpans.map(({ id, title }) => (
<DateRangeButton
Expand All @@ -82,6 +82,24 @@ export const Chart = () => {
/>
))}
</div>
<div class="col d-flex justify-content-end align-items-center mt-4">
<span class="opacity-75 me-1">
Recent reboots{' '}
<a
href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/libraries/debug/memfault_ncs.html"
target="_blank"
title="Memfault integration in nRF Connect SDK"
>
tracked with
</a>
</span>
<img
src="/static/images/memfault-logo.svg"
alt="Memfault"
height={32}
class="ms-1"
/>
</div>
</div>
</div>
</div>
Expand Down
41 changes: 41 additions & 0 deletions static/images/memfault-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 712eca0

Please sign in to comment.