-
Notifications
You must be signed in to change notification settings - Fork 1
/
component---src-pages-gov-news-js-5ce8984f21c869f2c41e.js
1 lines (1 loc) · 1.64 KB
/
component---src-pages-gov-news-js-5ce8984f21c869f2c41e.js
1
(window.webpackJsonp=window.webpackJsonp||[]).push([[23],{"6shs":function(e,a,t){"use strict";t.d(a,"a",(function(){return s}));var n=t("zLVn"),r=t("q1tI"),o=t.n(r),i=t("vOnD"),c=t("hlFM"),l=["children"],d=Object(i.e)(c.a).withConfig({displayName:"Card__StyledBox",componentId:"sc-wdkuw5-0"})(["background:",";border-radius:12px;padding:16px;margin:16px 0;box-shadow:none;"],(function(e){return e.theme.palette.background.paper}));function s(e){var a=e.children,t=Object(n.a)(e,l);return o.a.createElement(d,t,a)}},f6Os:function(e,a,t){"use strict";t.r(a);var n=t("q1tI"),r=t.n(n),o=t("9Koi"),i=t("7t3Y"),c=t("7xaS"),l=t("ofer"),d=t("hlie"),s=t("6shs"),u=t("vOnD"),m=t("efpO"),p=t("yDJ3"),b=t.n(p),w=Object(u.e)(s.a).withConfig({displayName:"gov-news__NewsCard",componentId:"sc-9au2bu-0"})(["margin-top:8px;margin-bottom:8px;"]);a.default=function(e){var a=e.data,t=Object(o.a)(),n=t.i18n,s=t.t,u=function(e){var a=e.node;return r.a.createElement(w,null,r.a.createElement("a",{href:Object(m.b)(n,a,"link"),rel:"noopener noreferrer",target:"_blank"},r.a.createElement(l.a,{variant:"body2",color:"textPrimary"},a.date),r.a.createElement(l.a,{variant:"h6",color:"textPrimary"},Object(m.b)(n,a,"title"))))};return r.a.createElement(c.a,null,r.a.createElement(i.a,{title:"NewsPage"}),r.a.createElement(l.a,{variant:"h2"},s("gov_news.title")),r.a.createElement(l.a,{variant:"body2"},r.a.createElement(d.a,{href:s("gov_news.url"),target:"_blank"},s("gov_news.source"))),r.a.createElement(l.a,{variant:"body2"},s("waiting_time.last_updated"),b()(a.allGovNews,"edges[0].node.date","")),a.allGovNews.edges.map((function(e,a){return r.a.createElement("div",{key:a,children:u(e)})})))}}}]);