root = Card([header, special, legend, menuTabs, hoursSection])
header = CardHeader("Café Aroma", "Fresh coffee, pastries & light meals")
special = Callout("success", "Today's special", "Garden Harvest Bowl - roasted vegetables, quinoa, feta & lemon-tahini dressing. Fresh batch out of the kitchen now, just $9.50.")
legend = TextContent("Items marked **V** are vegetarian. Open the **Vegetarian** tab to see the full veg menu.", "small")
menuTabs = Tabs([drinksTab, foodTab, vegTab])
hoursSection = Card([hoursHeading, hoursTable], "sunk")
hoursHeading = Heading("Opening hours", "h3")
hoursTable = Table([hoursDay, hoursTime])
hoursDay = Col("Day", ["Monday - Friday", "Saturday", "Sunday"])
hoursTime = Col("Hours", ["7:00 AM - 6:00 PM", "8:00 AM - 5:00 PM", "8:00 AM - 3:00 PM"])
drinksTab = TabItem("drinks", "Drinks", [drinksNote, drinksTable])
drinksNote = TextContent("Every drink is vegetarian - organic milk and oat milk available.", "small")
drinksTable = Table([drinkName, drinkPrice])
drinkName = Col("Drink", ["Espresso", "Cappuccino", "Latte", "Chai Latte", "Iced Matcha", "Green Detox Smoothie"])
drinkPrice = Col("Price", ["$2.80", "$3.90", "$4.20", "$4.50", "$5.50", "$6.50"])
foodTab = TabItem("food", "Food", [foodTable])
foodTable = Table([foodName, foodPrice, foodVeg])
foodName = Col("Dish", ["Butter Croissant", "Avocado Toast", "Caprese Panini", "Garden Harvest Bowl", "Turkey & Swiss Sandwich", "Smoked Salmon Bagel"])
foodPrice = Col("Price", ["$3.50", "$7.25", "$8.75", "$9.50", "$8.95", "$9.25"])
foodVeg = Col("Veg", ["V", "V", "V", "V", "", ""])
vegTab = TabItem("vegetarian", "Vegetarian", [vegIntro, vegTable])
vegIntro = TextContent("All vegetarian drinks and dishes on today's menu:", "small")
vegTable = Table([vegItem, vegCat, vegPrice])
vegItem = Col("Item", ["Espresso", "Cappuccino", "Latte", "Chai Latte", "Iced Matcha", "Green Detox Smoothie", "Butter Croissant", "Avocado Toast", "Caprese Panini", "Garden Harvest Bowl"])
vegCat = Col("Category", ["Drink", "Drink", "Drink", "Drink", "Drink", "Drink", "Food", "Food", "Food", "Food"])
vegPrice = Col("Price", ["$2.80", "$3.90", "$4.20", "$4.50", "$5.50", "$6.50", "$3.50", "$7.25", "$8.75", "$9.50"])