<%= pb_rails("layout", props: {position: "left", size: "sm", collapse: "md", layout: "collection_detail" }) do %> <%= pb_rails("layout/sidebar") do %> <%= pb_rails("card", props: { padding: "none" }) do %> <%= pb_rails("caption", props: { text: "News Stories", size: 'lg', margin: "md" }) %> <%= pb_rails("section_separator") %> <%= pb_rails("nav", props: {link: "#", padding_top:"sm" }) do %> <%= pb_rails("nav/item", props: { text: "All News", link: "#" }) %> <%= pb_rails("nav/item", props: { text: "Top Stories", link: "#" }) %> <%= pb_rails("nav/item", props: { text: "National", link: "#", active: true }) %> <%= pb_rails("nav", props: {variant: "subtle", highlight: false }) do %> <%= pb_rails("nav/item", props: { text: "All", link: "#", active: true }) %> <%= pb_rails("nav/item", props: { text: "Planet Money", link: "#" }) %> <%= pb_rails("nav/item", props: { text: "Books", link: "#" }) %> <%= pb_rails("nav/item", props: { text: "Books, News, and Features", link: "#" }) %> <%= pb_rails("nav/item", props: { text: "Science", link: "#" }) %> <%= pb_rails("nav/item", props: { text: "Politics", link: "#" }) %> <%= pb_rails("nav/item", props: { text: "National Security", link: "#" }) %> <%= pb_rails("nav/item", props: { text: "Environment", link: "#" }) %> <%= pb_rails("nav/item", props: { text: "Shots - Health News", link: "#" }) %> <%= pb_rails("nav/item", props: { text: "Analysis", link: "#" }) %> <% end %> <%= pb_rails("nav/item", props: { text: "World", link: "#" }) %> <% end %> <% end %> <% end %> <%= pb_rails("layout/body") do %> <%= pb_rails("card", props: { padding: "none", header: true}) do %> <%= pb_rails("card/card_header", props: { padding: "sm" }) do %> <%= pb_rails("caption", props: { text: "Planet Money", dark: true }) %> <% end %> <%= pb_rails("card/card_body", props: { padding: "none" }) do %> <%= pb_rails("image", props: { url: "https://djenjyj46f9j9.cloudfront.net/items/292f0C2i3f2z2f2A0P0n/Screen%20Shot%202020-07-09%20at%201.23.31%20PM.png?X-CloudApp-Visitor-Id=3399053&v=ed16c3c4" }) %> <%= pb_rails("title", props: { text: "Where’d the Money Go, and Other Questions", tag: "h4", size: 4, padding: "sm" }) %> <%= pb_rails("section_separator") %> <%= pb_rails("flex", props: { padding: "sm", wrap: true }) do %> <%= pb_rails("body", props: {classname: "flex-item", margin_right: "md" }) do %> <%= pb_rails("icon_value", props: { icon: "share-alt", text: "391" }) %> <% end %> <%= pb_rails("body", props: {classname: "flex-item", margin_right: "md" }) do %> <%= pb_rails("icon_value", props: { icon: "eye", text: "2,039" }) %> <% end %> <%= pb_rails("body", props: {classname: "flex-item" }) do %> <%= pb_rails("icon_value", props: { icon: "comments", text: "89" }) %> <% end %> <% end %> <% end %> <% end %> <%= pb_rails("card", props: { padding: "none", header: true}) do %> <%= pb_rails("card/card_header", props: { padding: "sm", category_color: 2 }) do %> <%= pb_rails("caption", props: { text: "World", dark: true }) %> <% end %> <%= pb_rails("card/card_body", props: { padding: "none" }) do %> <%= pb_rails("image", props: { url: "https://djenjyj46f9j9.cloudfront.net/items/0n07340O0c3R0V0L1V0P/Screen%20Shot%202020-07-09%20at%201.41.26%20PM.png?X-CloudApp-Visitor-Id=3399053&v=b532b3f0" }) %> <%= pb_rails("title", props: { text: "U.K. Willing To Admit 3 Million If China Adopts Security Law", tag: "h4", size: 4, padding: "sm" }) %> <%= pb_rails("section_separator") %> <%= pb_rails("flex", props: { padding: "sm", wrap: true }) do %> <%= pb_rails("body", props: {classname: "flex-item", margin_right: "md" }) do %> <%= pb_rails("icon_value", props: { icon: "share-alt", text: "304" }) %> <% end %> <%= pb_rails("body", props: {classname: "flex-item", margin_right: "md" }) do %> <%= pb_rails("icon_value", props: { icon: "eye", text: "5,032" }) %> <% end %> <%= pb_rails("body", props: {classname: "flex-item" }) do %> <%= pb_rails("icon_value", props: { icon: "comments", text: "102" }) %> <% end %> <% end %> <% end %> <% end %> <%= pb_rails("card", props: { padding: "none", header: true}) do %> <%= pb_rails("card/card_header", props: { padding: "sm", category_color: 3 }) do %> <%= pb_rails("caption", props: { text: "Books", dark: true }) %> <% end %> <%= pb_rails("card/card_body", props: { padding: "none" }) do %> <%= pb_rails("image", props: { url: "https://djenjyj46f9j9.cloudfront.net/items/1j2k1g3f2H2W2f1v3225/Screen%20Shot%202020-07-09%20at%201.42.32%20PM.png?X-CloudApp-Visitor-Id=3399053&v=2ab46cb6" }) %> <%= pb_rails("title", props: { text: "Opinion: Harry Potter's Magic Fades When His Creator Tweets", tag: "h4", size: 4, padding: "sm" }) %> <%= pb_rails("section_separator") %> <%= pb_rails("flex", props: { padding: "sm", wrap: true }) do %> <%= pb_rails("body", props: {classname: "flex-item", margin_right: "md" }) do %> <%= pb_rails("icon_value", props: { icon: "share-alt", text: "201" }) %> <% end %> <%= pb_rails("body", props: {classname: "flex-item", margin_right: "md" }) do %> <%= pb_rails("icon_value", props: { icon: "eye", text: "890" }) %> <% end %> <%= pb_rails("body", props: {classname: "flex-item" }) do %> <%= pb_rails("icon_value", props: { icon: "comments", text: "2" }) %> <% end %> <% end %> <% end %> <% end %> <%= pb_rails("card", props: { padding: "none", header: true}) do %> <%= pb_rails("card/card_header", props: { padding: "sm", category_color: 4 }) do %> <%= pb_rails("caption", props: { text: "National", dark: true }) %> <% end %> <%= pb_rails("card/card_body", props: { padding: "none" }) do %> <%= pb_rails("image", props: { url: "https://djenjyj46f9j9.cloudfront.net/items/2j0G2k3I0f3W3a2c2q3o/Screen%20Shot%202020-07-09%20at%201.43.40%20PM.png?X-CloudApp-Visitor-Id=3399053&v=d2667a0b" }) %> <%= pb_rails("title", props: { text: "1st U.S. Woman To Walk In Space Dives To Deepest Point In Ocean", tag: "h4", size: 4, padding: "sm" }) %> <%= pb_rails("section_separator") %> <%= pb_rails("flex", props: { padding: "sm", wrap: true }) do %> <%= pb_rails("body", props: {classname: "flex-item", margin_right: "md" }) do %> <%= pb_rails("icon_value", props: { icon: "share-alt", text: "245" }) %> <% end %> <%= pb_rails("body", props: {classname: "flex-item", margin_right: "md" }) do %> <%= pb_rails("icon_value", props: { icon: "eye", text: "10,302" }) %> <% end %> <%= pb_rails("body", props: {classname: "flex-item" }) do %> <%= pb_rails("icon_value", props: { icon: "comments", text: "89" }) %> <% end %> <% end %> <% end %> <% end %> <%= pb_rails("card", props: { padding: "none", header: true}) do %> <%= pb_rails("card/card_header", props: { padding: "sm", category_color: 5 }) do %> <%= pb_rails("caption", props: { text: "Books, News, and Features", dark: true }) %> <% end %> <%= pb_rails("card/card_body", props: { padding: "none" }) do %> <%= pb_rails("image", props: { url: "https://djenjyj46f9j9.cloudfront.net/items/0m353s3A3I3B0w3N3W2U/Screen%20Shot%202020-07-09%20at%201.44.30%20PM.png?X-CloudApp-Visitor-Id=3399053&v=5b24787c" }) %> <%= pb_rails("title", props: { text: "Publishers Sue Internet Archive For Mass Copyright Infringement", tag: "h4", size: 4, padding: "sm" }) %> <%= pb_rails("section_separator") %> <%= pb_rails("flex", props: { padding: "sm", wrap: true }) do %> <%= pb_rails("body", props: {classname: "flex-item", margin_right: "md" }) do %> <%= pb_rails("icon_value", props: { icon: "share-alt", text: "84" }) %> <% end %> <%= pb_rails("body", props: {classname: "flex-item", margin_right: "md" }) do %> <%= pb_rails("icon_value", props: { icon: "eye", text: "5,592" }) %> <% end %> <%= pb_rails("body", props: {classname: "flex-item" }) do %> <%= pb_rails("icon_value", props: { icon: "comments", text: "104" }) %> <% end %> <% end %> <% end %> <% end %> <%= pb_rails("card", props: { padding: "none", header: true}) do %> <%= pb_rails("card/card_header", props: { padding: "sm", category_color: 6 }) do %> <%= pb_rails("caption", props: { text: "Science", dark: true }) %> <% end %> <%= pb_rails("card/card_body", props: { padding: "none" }) do %> <%= pb_rails("image", props: { url: "https://djenjyj46f9j9.cloudfront.net/items/0n1b1V1F4614343t3547/Screen%20Shot%202020-07-09%20at%201.45.26%20PM.png?X-CloudApp-Visitor-Id=3399053&v=a3cc4d20" }) %> <%= pb_rails("title", props: { text: "New Book Argues Migration Isn’t A Crisis — It’s The Solution", tag: "h4", size: 4, padding: "sm" }) %> <%= pb_rails("section_separator") %> <%= pb_rails("flex", props: { padding: "sm", wrap: true }) do %> <%= pb_rails("body", props: {classname: "flex-item", margin_right: "md" }) do %> <%= pb_rails("icon_value", props: { icon: "share-alt", text: "54" }) %> <% end %> <%= pb_rails("body", props: {classname: "flex-item", margin_right: "md" }) do %> <%= pb_rails("icon_value", props: { icon: "eye", text: "3,982" }) %> <% end %> <%= pb_rails("body", props: {classname: "flex-item" }) do %> <%= pb_rails("icon_value", props: { icon: "comments", text: "12" }) %> <% end %> <% end %> <% end %> <% end %> <% end %> <% end %>