root = Card([header, categorySelect, scheduleForm, draftsCard, publishedCard, mostReadCard, readershipCard, commentsCard, actionsButton])
header = CardHeader("Editor Content Studio", null)
categorySelect = Select("category_filter", [categoryTechnology, categoryScience, categoryArts], "All", null, "medium")
scheduleForm = Form("schedule-request", scheduleButtons, [titleField, publishDateField])
draftsCard = Card([draftsHeader, draftsList], "card")
draftsHeader = CardHeader("Drafts", null)
draftsList = ListBlock([draft1, draft2, draft3], "number")
draft1 = ListItem("Introduction to AI", "Pending approval", null, "View")
draft2 = ListItem("Quarterly Report", "Ready for review", null, "Edit")
draft3 = ListItem("Creative Writing Piece", "Under revision", null, "View")
publishedCard = Card([publishedHeading, publishedList], "card")
publishedHeading = Heading("Published This Week", "h3")
publishedList = ListBlock([publishedItem1, publishedItem2], "number")
publishedItem1 = ListItem("AI Trends 2024", "Published", null, "View")
publishedItem2 = ListItem("Health Tech Outlook", "Published", null, "View")
mostReadCard = Card([mostReadHeading, mostReadText], "sunk")
mostReadHeading = Heading("Most-Read Article", "h3")
mostReadText = TextContent("The Rise of Quantum Computing", "large")
readershipCard = Card([readershipHeading, readershipChart], "card")
readershipHeading = Heading("Readership Over Past 30 Days", "h3")
readershipChart = LineChart(labels, readershipSeries, "natural", "Day", "Readers")
labels = ["1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30"]
readershipSeries = Series("Readership", [100,120,115,130,150,160,170,180,190,200,210,220,215,205,195,185,175,165,155,145,135,125,115,105,95,85,75,65,55,45])
commentsCard = Card([commentsHeading, commentsList], "card")
commentsHeading = CardHeader("Comments Awaiting Reply", null)
commentsList = ListBlock([comment1, comment2], "number")
comment1 = ListItem("Feedback on AI article", "Awaiting reply", null, "Reply")
comment2 = ListItem("Review of quarterly report", "Awaiting reply", null, "Reply")
actionsButton = Buttons([newDraftBtn], "row")
newDraftBtn = Button("Start New Draft", null, "primary")