-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent---src-templates-project-template-js-75411b16a2620e6ea818.js
2 lines (2 loc) · 1.9 KB
/
component---src-templates-project-template-js-75411b16a2620e6ea818.js
1
2
"use strict";(self.webpackChunkpersonal_portfolio=self.webpackChunkpersonal_portfolio||[]).push([[890],{2399:function(e,t,n){n.d(t,{Z:function(){return m}});var a=n(7294),l=n(5444),r=n(9499);const c=[{label:"PROJECTS",to:"/projects"},{label:"RESUME",to:"/resume"}];var o=function(){const e=r.globalHistory.location.pathname;return a.createElement("nav",{className:"nav-container"},a.createElement("ul",null,c.map((t=>a.createElement("li",{key:t.label,className:"menu-item "+(e.includes(t.to)?"current-menu-item":"")},a.createElement(l.Link,{to:t.to},t.label))))))};const s=e=>{let{siteTitle:t}=e;return a.createElement("header",null,a.createElement("div",{className:"sticky-container"},a.createElement("h1",{className:"site-title",style:{margin:0}},a.createElement(l.Link,{to:"/"},t)),a.createElement(o,null)))};s.defaultProps={siteTitle:""};var i=s;var m=e=>{var t;let{children:n}=e;const r=(0,l.useStaticQuery)("3649515864");return a.createElement("div",{className:"site-container"},a.createElement(i,{siteTitle:(null===(t=r.site.siteMetadata)||void 0===t?void 0:t.title.toUpperCase())||"Title"}),a.createElement("main",{className:"content"},n),a.createElement("footer",null,a.createElement("p",null,"Created using React, Gatsby, GraphQL, Sass, and Markdown.")))}},4579:function(e,t,n){n.r(t),n.d(t,{default:function(){return c}});var a=n(7294),l=n(5444),r=n(2399);function c(e){let{data:t}=e;const{markdownRemark:n}=t,{frontmatter:c,html:o}=n;return a.createElement(r.Z,null,a.createElement("article",{className:"project-container"},a.createElement("h1",null,c.title.toUpperCase()),a.createElement(l.Link,{to:"/projects"},"← Back to Projects"),a.createElement("h3",null,c.summary),a.createElement("h4",null,a.createElement("em",null,"Updated ",c.date)),a.createElement("div",{className:"project-content",dangerouslySetInnerHTML:{__html:o}})))}}}]);
//# sourceMappingURL=component---src-templates-project-template-js-75411b16a2620e6ea818.js.map