Skip to content

Commit

Permalink
add mock data for showcase
Browse files Browse the repository at this point in the history
  • Loading branch information
LXIF committed Nov 1, 2024
1 parent 3d81bd9 commit bfed34b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/showcase/src/pages/displayManage.astro
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,19 @@ import Screen from "../layouts/Screen.astro";
alias: "Chrome on iPhone",
remove: () => toast.info("remove"),
rename: () => toast.info("rename"),
last_usage: [BigInt(Date.now() * 1000000)],
},
{
alias: "Yubikey Blue",
remove: () => toast.info("remove"),
rename: () => toast.info("rename"),
last_usage: [BigInt(Date.now() * 1000000 - 1_000_000_000 * 60 * 60 * 24 * 7)],
},
{
alias: "Yubikey Blue",
remove: () => toast.info("remove"),
rename: () => toast.info("rename"),
last_usage: [BigInt(Date.now() * 1000000 - 1_000_000_000 * 60 * 60 * 24 * 30)],
warn: html`Something is rotten in the state of Device`,
},
],
Expand Down
1 change: 1 addition & 0 deletions src/showcase/src/pages/displayManageSingle.astro
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import Screen from "../layouts/Screen.astro";
{
alias: "Chrome on iPhone",
rename: () => toast.info("rename"),
last_usage: [BigInt(Date.now() * 1000000)],
},
],
recoveries: {},
Expand Down

0 comments on commit bfed34b

Please sign in to comment.