Skip to content

Commit

Permalink
Playground improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
255kb committed Nov 14, 2024
1 parent 9d65597 commit 703da1f
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions pages/playground.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,35 @@ const resources: AccordionData = [
"completed": true,
"priority": 0,
"dueDate": "2024-09-24T10:13:39.649Z"
}`}
language='json'
lineBreak
></CodeBlock>
</div>
),
count: 100
},
{
title: 'Sales <code>/sales</code>',
subtitle:
'Fake sales JSON data including country, item type, unit cost, number of units, etc.',
content: (
<div className='px-4'>
<CodeBlock
code={`{
"id": "485d91e9-1042-458c-a977-47e48ae2d83e",
"country": "Guernsey",
"itemType": "Ball",
"salesChannel": "Movies",
"group": "Recycled",
"orderData": "Mon Oct 07 2024 04:05:36 GMT+0200 (Central European Summer Time)",
"shippingDate": "Fri Nov 15 2024 06:49:01 GMT+0100 (Central European Standard Time)",
"units": 16,
"unitPrice": "138.69",
"unitCost": "186.09",
"totalRevenue": "2219.04",
"totalCost": "2977.44",
"totalProfit": "-758.4000000000001"
}`}
language='json'
lineBreak
Expand Down

0 comments on commit 703da1f

Please sign in to comment.