{"componentChunkName":"component---src-templates-post-jsx","path":"/temporary-2020-site-update/","result":{"data":{"contentfulPost":{"title":"(Temporary) 2020 site update","slug":"temporary-2020-site-update","metaDescription":null,"publishDate":"May 25, 2020","publishDateISO":"2020-05-25","tags":[{"title":"Musings","id":"831fb727-380b-5ec0-8b45-562f497533b3","slug":"musings"},{"title":"Development","id":"0394a67a-444d-51e8-82b0-704a5902de62","slug":"development"}],"heroImage":{"title":"Hart.com","fluid":{"aspectRatio":1.791044776119403,"src":"/archive/v3/ctf/52d9d1bcab877da3.jpg","srcSet":"/archive/v3/ctf/d640d7f4161adff6.jpg 450w,\n/archive/v3/ctf/ab9d7811816093e6.jpg 900w,\n/archive/v3/ctf/878bc13a86e7f091.jpg 1200w","srcWebp":"/archive/v3/ctf/40928c5e467f2bfa.webp","srcSetWebp":"/archive/v3/ctf/c321f8305363e7d0.webp 450w,\n/archive/v3/ctf/45b22a2111e0d404.webp 900w,\n/archive/v3/ctf/9823bf3091f34af7.webp 1200w","sizes":"(max-width: 1800px) 100vw, 1800px"},"ogimg":{"src":"/archive/v3/ctf/52d9d1bcab877da3.jpg","width":1800,"height":1005}},"body":{"childMarkdownRemark":{"timeToRead":3,"html":"<h2 id=\"context\" style=\"position:relative;\"><a href=\"#context\" aria-label=\"context permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Context</h2>\n<p>I've been putting off rebuilding my personal website for quite some time now. It's easy to get hit with a wave of inspiration after seeing a rad portfolio site on one of those curated lists of best looking sites that pop up on Twitter from time to time. I've been hit with that wave of inspiration a few times since the last time I made any major updates to my personal website, which was back in late 2017 (A time when CSS Grid wasn't widely supported). I consistently kept pushing back a site rebuild knowing my portfolio was fine the way it was.</p>\n<p>Flash forward to mid 2018, when I decided I would finally rebuild my website using a modern tech stack, i.e., away from Wordpress. My tech stack of choice was Gatsby + React since I was learning a lot of React at the time. A couple months of Gatsby + React tutorials and development went by and I still had nothing to show for. I got bored with the rebuild, had some major life events come my way (engagement, wedding planning, and a new job), and was too lazy to figure out the best way to move the little content I had on Wordpress over to the static file system I had developed.</p>\n<p>This current rebuild (the site in front of your eyes) didn't become a reality until the day (early 2020) I found out a certain cloud hosting company deleted my entire droplet after 2 months of unsuccessful charges on an expired credit card. Oh well! No blame on them. I failed to set up any automatic backups on my end. While I could of propped up another droplet with a relatively recent backup I had, I decided against it. I wanted a simpler set up and wanted to continue what I set out to finish on my first go-around in mid 2018.</p>\n<h2 id=\"tech-stack\" style=\"position:relative;\"><a href=\"#tech-stack\" aria-label=\"tech stack permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>Tech Stack</h2>\n<p>I decided to continue working on the tech stack I decided on in 2018, React + Gatsby. Some might argue that tech stack is overkill for a tiny portfolio site, I'd argue \"It depends\". I chose this tech stack because I want to continue applying new knowledge, creatively, in an environment where I'd like to grow as a stronger developer.</p>\n<p>As noted above, I'm utilizing React + Gatsby as the core framework for building out this static site. From there, I'm loading data via GraphQL queries from Contentful's API and I'm hosting it all for <em>FREE</em> on Netlify! All styling is handled from built out components using Rebass + emotion.</p>\n<h2 id=\"the-future\" style=\"position:relative;\"><a href=\"#the-future\" aria-label=\"the future permalink\" class=\"anchor before\"><svg aria-hidden=\"true\" focusable=\"false\" height=\"16\" version=\"1.1\" viewBox=\"0 0 16 16\" width=\"16\"><path fill-rule=\"evenodd\" d=\"M4 9h1v1H4c-1.5 0-3-1.69-3-3.5S2.55 3 4 3h4c1.45 0 3 1.69 3 3.5 0 1.41-.91 2.72-2 3.25V8.59c.58-.45 1-1.27 1-2.09C10 5.22 8.98 4 8 4H4c-.98 0-2 1.22-2 2.5S3 9 4 9zm9-3h-1v1h1c1 0 2 1.22 2 2.5S13.98 12 13 12H9c-.98 0-2-1.22-2-2.5 0-.83.42-1.64 1-2.09V6.25c-1.09.53-2 1.84-2 3.25C6 11.31 7.55 13 9 13h4c1.45 0 3-1.69 3-3.5S14.5 6 13 6z\"></path></svg></a>The Future</h2>\n<p>I chose this stack and the simple design (As of May 2020) to enable myself to iterate through new ideas and features that I find interesting. Being able to drop a component in favor of something else is one of the reasons I love React--everything is built at the component level! No hunting down related bits of JS and CSS you brought in from separate parts of your codebase.</p>\n<p>I'd like to implement theme-ui with Typescript before redesigning everything (I'm already planning v4). That way, I essentially have a more elegant solution than what I have built out now and can completely move away from the styled API and move towards a more consistent API for component creation via <code class=\"language-text\">sx</code> prop from theme-ui. Typescript is a must on this next iteration since I'll have access to the theme definition and will get autocomplete and intellisense which will speed up development when redesigning for v4.</p>\n<p>I'm extremely interested in this tech stack right now (primarily Typescript + theme-ui + emotion). Do you know of any other apps/sites out in the wild using this stack? If so let me know in <del>the comments</del> <a href=\"https://coreybruyere.com/contact/\">my inbox</a>. I'm always interested in seeing other people's implementations of technology I'm toying with.</p>","excerpt":"Context I've been putting off rebuilding my personal website for quite some time now. It's easy to get hit with a wave of inspiration after seeing a rad portfolio site on one of those curated lists of best looking sites that pop up on Twitter from time to time. I've been hit with that wave of inspiration a few times…"}}}},"pageContext":{"slug":"temporary-2020-site-update","prev":{"slug":"what-is-a-ux-engineer","publishDate":"2020-07-30"},"next":{"slug":"css-audit-with-parker","publishDate":"2016-06-06"}}},"staticQueryHashes":[]}