text: (window.webpackJsonp=window.webpackJsonp||[]).push([[4],{nRki:function(e,t,n){"use strict";n.r(t),n.d(t,"pageQuery",(function(){return k}));var a=n("q1tI"),l=n.n(a),r=n("TJpk"),c=n("nLfd"),i=n("8SHQ"),o=n("Kvkj"),u=n("g67X"),s=n("vOnD"),m=n("InJ6");function f(){var e=E(["\n        font-size: ",";\n      "]);return f=function(){return e},e}function d(){var e=E(["\n      padding: 10px;\n    "]);return d=function(){return e},e}function h(){var e=E(["\n      display: none;\n    "]);return h=function(){return e},e}function p(){var e=E(["\n    margin: 100px -10px;\n  "]);return p=function(){return e},e}function E(e,t){return t||(t=e.slice(0)),e.raw=t,e}var b=m.h.colors,g=m.h.fonts,v=m.h.fontSizes,y=Object(s.c)(m.d).withConfig({displayName:"archive__StyledMainContainer",componentId:"sc-2cxdc9-0"})([""]),w=s.c.div.withConfig({displayName:"archive__StyledTableContainer",componentId:"sc-2cxdc9-1"})(["margin:100px -20px;",";"],m.f.tablet(p())),x=s.c.table.withConfig({displayName:"archive__StyledTable",componentId:"sc-2cxdc9-2"})(["width:100%;border-collapse:collapse;.hide-on-mobile{",";}tbody tr{transition:",";&:hover,&:focus{background-color:",";}}th,td{cursor:default;line-height:1.5;padding:10px 20px;",";}th{text-align:left;}td{&.year{width:10%;",";}&.title{padding-top:15px;color:",";font-size:",";font-weight:700;}&.company{width:15%;padding-top:15px;font-size:",";}&.tech{font-size:",";font-family:",";}&.links{span{",";a + a{margin-left:10px;}svg{width:20px;height:20px;}}}}"],m.f.tablet(h()),m.h.transition,b.lightNavy,m.f.tablet(d()),m.f.tablet(f(),v.sm),b.lightestSlate,v.xl,v.lg,v.xs,g.SFMono,m.g.flexBetween);t.default=function(e){var t=e.location,n=e.data.allMarkdownRemark.edges,s=Object(a.useRef)(null),m=Object(a.useRef)(null),f=Object(a.useRef)([]);return Object(a.useEffect)((function(){c.a.reveal(s.current,Object(i.srConfig)()),c.a.reveal(m.current,Object(i.srConfig)()),f.current.forEach((function(e,t){return c.a.reveal(e,Object(i.srConfig)(10*t))}))}),[]),l.a.createElement(o.i,{location:t},l.a.createElement(r.Helmet,null,l.a.createElement("title",null,"Archive | Dushyant Yadav"),l.a.createElement("link",{rel:"canonical",href:"https://dush-t.github.io/archive"})),l.a.createElement(y,null,l.a.createElement("header",{ref:s},l.a.createElement("h1",{className:"big-title"},"Archive"),l.a.createElement("p",{className:"subtitle"},"A big list of things I’ve worked on")),l.a.createElement(w,{ref:m},l.a.createElement(x,null,l.a.createElement("thead",null,l.a.createElement("tr",null,l.a.createElement("th",null,"Year"),l.a.createElement("th",null,"Title"),l.a.createElement("th",{className:"hide-on-mobile"},"Made at"),l.a.createElement("th",{className:"hide-on-mobile"},"Built with"),l.a.createElement("th",null,"Link"))),l.a.createElement("tbody",null,n.length>0&&n.map((function(e,t){var n=e.node.frontmatter,a=n.date,r=n.github,c=n.external,i=n.title,o=n.tech,s=n.company;return l.a.createElement("tr",{key:t,ref:function(e){return f.current[t]=e}},l.a.createElement("td",{className:"overline year"},""+new Date(a).getFullYear()),l.a.createElement("td",{className:"title"},i),l.a.createElement("td",{className:"company hide-on-mobile"},s?l.a.createElement("span",null,s):l.a.createElement("span",null,"—")),l.a.createElement("td",{className:"tech hide-on-mobile"},o.length>0&&o.map((function(e,t){return l.a.createElement("span",{key:t},l.a.createElement("span",{key:t},e),t!==o.length-1&&l.a.createElement("span",null," · "))}))),l.a.createElement("td",{className:"links"},l.a.createElement("span",null,r?l.a.createElement("a",{href:r,target:"_blank",rel:"nofollow noopener noreferrer","aria-label":"GitHub Link"},l.a.createElement(u.f,null)):l.a.createElement("span",{"aria-label":"Empty"},"—"),c?l.a.createElement("a",{href:c,target:"_blank",rel:"nofollow noopener noreferrer","aria-label":"External Link"},l.a.createElement(u.c,null)):l.a.createElement("span",{"aria-label":"Empty"},"—"))))})))))))};var k="2988261859"}}]);
  //# sourceMappingURL=component---src-pages-archive-js-e341fc8abc0c9d24ae22.js.map