-
Notifications
You must be signed in to change notification settings - Fork 1
/
component---src-pages-index-js-a6a569ce899a8c7b8767.js.map
1 lines (1 loc) · 5.97 KB
/
component---src-pages-index-js-a6a569ce899a8c7b8767.js.map
1
{"version":3,"sources":["webpack:///./src/components/header.js","webpack:///./src/components/layout.js","webpack:///./src/components/footer.js","webpack:///./src/components/sidebar.js","webpack:///./src/pages/index.js"],"names":["Header","siteTitle","menuLinks","className","to","map","link","key","name","activeClassName","header_links","defaultProps","Layout","children","data","useStaticQuery","site","siteMetadata","title","Footer","Date","getFullYear","Sidebar","links","item","idx","href","Home"],"mappings":"iSAqBMA,G,oBAAS,SAAC,GAAD,IAAGC,EAAH,EAAGA,UAAWC,EAAd,EAAcA,UAAd,OACb,4BAAQC,UAAU,UAChB,+BAAQF,GACR,6BACE,6BACE,wBAAIE,UAAU,cACZ,kBAAC,OAAD,CAAMC,GAAG,KAAKH,IAEhB,6BAtBa,SAAAC,GACnB,OACE,4BACGA,EAAUG,KAAI,SAAAC,GAAI,OACjB,wBAAIC,IAAKD,EAAKE,KAAML,UAAU,QAC5B,kBAAC,OAAD,CAAMC,GAAIE,EAAKA,KAAMG,gBAAgB,UAClCH,EAAKE,WAgBJE,CAAaR,SAU3BF,EAAOW,aAAe,CACpBV,UAAU,IAGGD,QCAAY,EAnCA,SAAC,GAAkB,IAAD,IAAfC,EAAe,EAAfA,SACVC,EAAOC,yBAAe,cAc5B,OACE,oCACE,yBAAKZ,UAAU,QACb,kBAAC,EAAD,CACEF,WAAW,UAAAa,EAAKE,KAAKC,oBAAV,eAAwBC,QAAxB,QACXhB,UAAS,UAAEY,EAAKE,KAAKC,oBAAZ,aAAE,EAAwBf,YAErC,yBAAKC,UAAU,gBACb,8BAAOU,IAET,kBAAC,EAAD,SCnBOM,EAXA,WACb,OACE,yBAAKhB,UAAU,UACb,sCACK,IAAIiB,MAAOC,cADhB,iCAC6D,IAC3D,kBAAC,OAAD,CAAMjB,GAAG,eAAT,mBCgBOkB,EArBC,SAAC,GAAe,IAAbC,EAAY,EAAZA,MACjB,OACE,yBAAKpB,UAAU,WAEb,yBAAKA,UAAU,iBACZoB,EAAMlB,KAAI,SAACmB,EAAMC,GAAP,OACT,yBAAKlB,IAAKkB,EAAM,IACd,uBAAGC,KAAMF,EAAKlB,KAAMC,IAAKkB,GACtBD,EAAKhB,c,yDCXpB,4CAsDemB,UAlDF,WAqCX,OACE,kBAAC,IAAD,KACE,6BACE,wBAAIxB,UAAU,aAAd,gCACA,uBAAGA,UAAU,WAAb,0HAKF,kBAAC,IAAD,CAASoB,MA7CC,CACZ,CAAEf,KAAM,cAAeF,KAAM,4BAC7B,CACEE,KAAM,oBACNF,KACE,0EAEJ,CACEE,KAAM,kBACNF,KAAM,uCAER,CACEE,KAAM,mBACNF,KAAM,iCAER,CACEE,KAAM,gBACNF,KAAM,uCAER,CACEE,KAAM,iBACNF,KAAM,uCAER,CACEE,KAAM,uBACNF,KAAM,0CAER,CACEE,KAAM,yBACNF,KAAM,0CAER,CACEE,KAAM,0BACNF,KAAM","file":"component---src-pages-index-js-a6a569ce899a8c7b8767.js","sourcesContent":["import React from \"react\"\nimport { Link } from \"gatsby\"\nimport PropTypes from \"prop-types\"\n\nimport \"normalize.css\"\nimport \"../styles/styles.scss\"\n\nconst header_links = menuLinks => {\n return (\n <ul>\n {menuLinks.map(link => (\n <li key={link.name} className=\"link\">\n <Link to={link.link} activeClassName=\"active\">\n {link.name}\n </Link>\n </li>\n ))}\n </ul>\n )\n}\n\nconst Header = ({ siteTitle, menuLinks }) => (\n <header className=\"header\">\n <title>{siteTitle}</title>\n <div>\n <div>\n <h1 className=\"site-title\">\n <Link to=\"/\">{siteTitle}</Link>\n </h1>\n <div>{header_links(menuLinks)}</div>\n </div>\n </div>\n </header>\n)\n\nHeader.propTypes = {\n siteTitle: PropTypes.string,\n}\n\nHeader.defaultProps = {\n siteTitle: ``,\n}\n\nexport default Header\n","import React from \"react\"\nimport PropTypes from \"prop-types\"\nimport { useStaticQuery, graphql } from \"gatsby\"\nimport \"normalize.css\"\n\nimport { Header, Footer } from \"./\"\nimport \"../styles/styles.scss\"\n\nconst Layout = ({ children }) => {\n const data = useStaticQuery(graphql`\n query SiteTitleQuery {\n site {\n siteMetadata {\n title\n menuLinks {\n name\n link\n }\n }\n }\n }\n `)\n\n return (\n <>\n <div className=\"site\">\n <Header\n siteTitle={data.site.siteMetadata?.title || `Title`}\n menuLinks={data.site.siteMetadata?.menuLinks}\n />\n <div className=\"site-content\">\n <main>{children}</main>\n </div>\n <Footer />\n </div>\n </>\n )\n}\n\nLayout.propTypes = {\n children: PropTypes.node.isRequired,\n}\n\nexport default Layout\n","import React from \"react\"\nimport { Link } from \"gatsby\"\n\nconst Footer = () => {\n return (\n <div className=\"footer\">\n <footer>\n © {new Date().getFullYear()} - Team110 - Chapel Hill, NC —{\" \"}\n <Link to=\"/contribute\">how to edit!</Link>\n </footer>\n </div>\n )\n}\n\nexport default Footer\n","import React from \"react\"\nimport PropTypes from \"prop-types\"\n\nconst Sidebar = ({ links }) => {\n return (\n <div className=\"sidebar\">\n {/* <h3>Overview</h3> */}\n <div className=\"sidebar-links\">\n {links.map((item, idx) => (\n <div key={idx + 20}>\n <a href={item.link} key={idx}>\n {item.name}\n </a>\n </div>\n ))}\n </div>\n </div>\n )\n}\n\nSidebar.propTypes = {\n links: PropTypes.array,\n}\n\nexport default Sidebar\n","import React from \"react\"\n\nimport { Layout, Sidebar } from \"../components/\"\n\nconst Home = () => {\n const links = [\n { name: \"Course Site\", link: \"https://21s.comp110.com/\" },\n {\n name: \"Virtual Sitterson\",\n link:\n \"https://unc.zoom.us/j/97191695899?pwd=cERyWklHbkhQKzJjRko0V2lCZmVzQT09\",\n },\n {\n name: \"Shift Lead Form\",\n link: \"https://forms.gle/KhTTH4ij8K9rna5y5\",\n },\n {\n name: \"Team Career Site\",\n link: \"https://intranet.comp110.com/\",\n },\n {\n name: \"Outreach Form\",\n link: \"https://forms.gle/eu5BrMcUcfwbcGzb7\",\n },\n {\n name: \"Extension Form\",\n link: \"https://forms.gle/QAyht4zDBYxAbjrv8\",\n },\n {\n name: \"Sprint Proposal Form\",\n link: \"https://airtable.com/shrjNbTyxrhTjVGet\",\n },\n {\n name: \"Sprint Reflection Form\",\n link: \"https://airtable.com/shrlP7a9gTxrCLqHP\",\n },\n {\n name: \"Website Suggestion Form\",\n link: \"https://forms.gle/k28syrfsSS9uuKkH6\",\n },\n ]\n return (\n <Layout>\n <div>\n <h1 className=\"highlight\">Welcome to the Team110 Site!</h1>\n <p className=\"outline\">\n This is a hub for all things at the intersection of COMP110 and\n literally everything else we do as a part of Team110.\n </p>\n </div>\n <Sidebar links={links} />\n </Layout>\n )\n}\nexport default Home\n"],"sourceRoot":""}