{"version":3,"sources":["webpack:///./src/pages/news/announcements.jsx"],"names":["AnnouncementsPage","props","state","render","announcementPosts","this","data","allWpPost","edges","filter","node","categories","nodes","slug","map","title","meta","name","content","className","styles","announcementsHeading","to","active","news","posts","categoryTitle","pageSizeDesktop","pageSizeMobile","desktopView","React","Component","frontmatter","category","path","description","tags"],"mappings":"2SAUMA,EAAiB,YACrB,WAAYC,GAAQ,IAAD,EAED,OADhB,cAAMA,IAAM,MACPC,MAAQ,GAAG,EAyDjB,OA5DoB,iBAIpB,YAEDC,OAAA,WACE,IAGMC,EAHWC,KAAKJ,MAAdK,KACsBC,UAAtBC,MAGLC,QACC,YAAO,MAA+C,kBAAzC,EAAVC,KAAsBC,WAAWC,MAAM,GAAGC,QAE9CC,KAAI,YAAO,OAAM,EAAVJ,QAEV,OACE,kBAAC,IAAM,KACL,kBAAC,IAAM,CACLK,MAAM,uBACNC,KAAM,CACJ,CACEC,KAAM,cACNC,QACE,gFAIR,yBAAKC,UAAWC,IAAOC,sBACrB,kBAAC,IAAW,uBAEd,kBAAC,IAAS,KACR,kBAAC,IAAU,KACT,kBAAC,IAAc,KACb,kBAAC,OAAI,CAACC,GAAG,KAAG,SAEd,kBAAC,IAAc,KACb,kBAAC,OAAI,CAACA,GAAG,SAAO,SAElB,kBAAC,IAAc,CAACC,QAAM,sBAG1B,6BACA,6BACA,6BAEA,yBAAKJ,UAAWC,IAAOI,MACrB,kBAAC,IAAgB,CACfC,MAAOrB,EACPsB,cAAc,gBACdC,gBAAiB,GACjBC,eAAgB,GAChBC,YAAY,SAEd,8BAEF,6BACA,+BAGL,EA5DoB,CAASC,IAAMC,WAsEvB/B,YAER,IA0CMgC,EAAc,CACzBjB,MAAO,gBACPkB,SAAU,QACVC,KAAM,sBACNC,YAAa,kCACbC,KAAM","file":"component---src-pages-news-announcements-jsx-6d7851538045e9270fc9.js","sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport { graphql, Link } from 'gatsby';\nimport { Container, Breadcrumb, BreadcrumbItem } from 'reactstrap';\nimport Helmet from 'react-helmet';\nimport Layout from '../../components/Layout';\nimport PageHeading from '../../components/PageHeading/PageHeading';\nimport styles from '../../css/news.module.css';\nimport NewsPostsSection from '../../components/NewsPostsSection/NewsPostsSection';\n\nclass AnnouncementsPage extends React.Component {\n constructor(props) {\n super(props);\n this.state = {};\n }\n\n render() {\n const { data } = this.props;\n const { edges: posts } = data.allWpPost;\n\n const announcementPosts = posts\n .filter(\n ({ node: post }) => post.categories.nodes[0].slug === 'announcements'\n )\n .map(({ node: post }) => post);\n\n return (\n \n \n
\n Announcements\n
\n \n \n \n Home\n \n \n News\n \n Announcements\n \n \n
\n
\n
\n\n
\n \n
\n
\n
\n
\n
\n );\n }\n}\n\nAnnouncementsPage.propTypes = {\n data: PropTypes.shape({\n allWordpressPost: PropTypes.shape({\n edges: PropTypes.array,\n }),\n }),\n};\nexport default AnnouncementsPage;\n\nexport const pageQuery = graphql`\n query AnnouncementsPageQuery {\n allWpPost(sort: { fields: date, order: DESC }) {\n edges {\n node {\n title\n id\n slug\n status\n excerpt\n date(formatString: \"MMMM DD, YYYY\")\n featuredImage {\n node {\n localFile {\n childImageSharp {\n fluid(maxWidth: 800) {\n src\n ...GatsbyImageSharpFluid\n }\n }\n }\n }\n }\n uri\n tags {\n nodes {\n slug\n name\n }\n }\n categories {\n nodes {\n slug\n name\n }\n }\n }\n }\n }\n }\n`;\n\nexport const frontmatter = {\n title: 'Announcements',\n category: 'pages',\n path: '/news/announcements',\n description: 'Full list of TNTT Announcements',\n tags: 'news, announcements',\n};\n"],"sourceRoot":""}