root = Card([header, todayCard, comparisonCard, followUps])
header = CardHeader("Morning check-in", "How the shop is doing at 10:42 AM")
todayCard = Card([todayTitle, todayAmount, todayBadge, todaySub], "sunk", "column", "xs")
todayTitle = TextContent("Revenue so far today", "small")
todayAmount = TextContent("$386.40", "large-heavy")
todayBadge = Tag("+$59 vs this time yesterday (+18%)", null, "sm", "success")
todaySub = TextContent("42 transactions · avg $9.20 per sale", "small")
comparisonCard = Card([comparisonTitle, comparisonChart, comparisonNote], "card", "column", "m")
comparisonTitle = Heading("How today is tracking vs yesterday", "h3")
comparisonChart = LineChart(["9 AM", "10 AM", "Now"], [todaySeries, yesterdaySeries], "natural", "Time", "Revenue ($)")
todaySeries = Series("Today", [120, 260, 386])
yesterdaySeries = Series("Yesterday", [95, 210, 327])
comparisonNote = TextContent("You've been ahead of yesterday's pace all morning, and the gap widened after 10 AM.", "small")
followUps = FollowUpBlock([followUp1, followUp2])
followUp1 = FollowUpItem("Which products are selling best today?")
followUp2 = FollowUpItem("Compare today with last Friday")