-
Notifications
You must be signed in to change notification settings - Fork 0
/
component---src-pages-archive-js-fe6f253ba104e8790d14.js
2 lines (2 loc) · 3.97 KB
/
component---src-pages-archive-js-fe6f253ba104e8790d14.js
1
2
(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{nRki:function(e,t,n){"use strict";n.r(t),n.d(t,"pageQuery",(function(){return x}));var a=n("q1tI"),l=n.n(a),r=n("TJpk"),c=n("nLfd"),i=n("8SHQ"),o=n("Kvkj"),m=n("g67X"),s=n("vOnD"),u=n("InJ6");function f(){var e=E(["\n font-size: ",";\n "]);return f=function(){return e},e}function h(){var e=E(["\n padding: 10px;\n "]);return h=function(){return e},e}function d(){var e=E(["\n display: none;\n "]);return d=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=u.h.colors,g=u.h.fonts,y=u.h.fontSizes,v=Object(s.c)(u.d).withConfig({displayName:"archive__StyledMainContainer",componentId:"sc-16yejh-0"})([""]),w=s.c.div.withConfig({displayName:"archive__StyledTableContainer",componentId:"sc-16yejh-1"})(["margin:100px -20px;",";"],u.f.tablet(p())),k=s.c.table.withConfig({displayName:"archive__StyledTable",componentId:"sc-16yejh-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;}}}}"],u.f.tablet(d()),u.h.transition,b.lightNavy,u.f.tablet(h()),u.f.tablet(f(),y.sm),b.lightestSlate,y.xl,y.lg,y.xs,g.SFMono,u.g.flexBetween);t.default=function(e){var t=e.location,n=e.data.allMarkdownRemark.edges,s=Object(a.useRef)(null),u=Object(a.useRef)(null),f=Object(a.useRef)([]);return Object(a.useEffect)((function(){c.a.reveal(s.current,Object(i.srConfig)()),c.a.reveal(u.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 | Rahmad Al Habib Khasary"),l.a.createElement("link",{rel:"canonical",href:"https://brittanychiang.com/archive"})),l.a.createElement(v,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:u},l.a.createElement(k,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 for"),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(m.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(m.c,null)):l.a.createElement("span",{"aria-label":"Empty"},"—"))))})))))))};var x="2988261859"}}]);
//# sourceMappingURL=component---src-pages-archive-js-fe6f253ba104e8790d14.js.map