<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Cole Townsend on Medium]]></title>
        <description><![CDATA[Stories by Cole Townsend on Medium]]></description>
        <link>https://medium.com/@twnsndco?source=rss-624a6dcc4102------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*u000df6wmpxSj0RHCa8EFQ.jpeg</url>
            <title>Stories by Cole Townsend on Medium</title>
            <link>https://medium.com/@twnsndco?source=rss-624a6dcc4102------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 21:56:45 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@twnsndco/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Sneaker bots are dead: how to increase your chances of getting hyped sneakers]]></title>
            <link>https://medium.com/@twnsndco/sneaker-bots-are-dead-how-to-increase-your-chances-of-getting-hyped-sneakers-5182e3beab78?source=rss-624a6dcc4102------2</link>
            <guid isPermaLink="false">https://medium.com/p/5182e3beab78</guid>
            <category><![CDATA[fashion]]></category>
            <category><![CDATA[streetwear]]></category>
            <category><![CDATA[sneakers]]></category>
            <dc:creator><![CDATA[Cole Townsend]]></dc:creator>
            <pubDate>Thu, 15 Apr 2021 12:42:52 GMT</pubDate>
            <atom:updated>2021-04-15T12:42:52.700Z</atom:updated>
            <content:encoded><![CDATA[<p>With kids like Nike’s Ex-VP Ann Hebert’s son using bots to buy up every single popular shoe from Jordan to Yeezy, how do you stand a chance?</p><p>It’s nearly impossible to get a pair of Jordan 1’s these days. Don’t get me started on Nike SB Dunks. With SNKRS handing out L’s left and right, there’s barely a chance for the commoner to win the chance to buy a shoe. You may have already noticed that hyped sneaker raffles are starting to take off. You’ll see some of the biggest shoe and clothing retailers starting to participate in these events too — UNDFTD, KITH, END, and tons of smaller skate stores. The key is to take advantage of these opportunities that just weren’t there for you before. <strong>With so many raffles, and even more people entering, how do you win?</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xPA2CYDwviM6JmZ0-sfGNQ.png" /><figcaption>Get the right info, on time</figcaption></figure><h3><strong>Get the right information</strong></h3><p>Tons of shoes drop every month. The key is knowing which shoes are worth chasing after. The best way to learn about the hype is following popular sneaker twitter accounts like <a href="https://twitter.com/hypebeast">Hypebeast</a>,<a href="https://twitter.com/SoleRetriever"> Sole Retriever</a>, and <a href="https://twitter.com/solelinks?lang=en">Sole Links</a>. They generate the hype and break news around the latest sneakers dropping from brands like KITH, Asics, Nike, Adidas, and Yeezy.</p><h3>Sole Retriever on Twitter: &quot;15 MINUTE RAFFLE LIVE: Jordan 1 Hyper Royal on UNDFTD ☑️ Where to enter: https://t.co/xZzcNxDZ1S📊 Current Resale: https://t.co/FckGZDrE9v pic.twitter.com/rd8VKN8Dqp / Twitter&quot;</h3><p>15 MINUTE RAFFLE LIVE: Jordan 1 Hyper Royal on UNDFTD ☑️ Where to enter: https://t.co/xZzcNxDZ1S📊 Current Resale: https://t.co/FckGZDrE9v pic.twitter.com/rd8VKN8Dqp</p><h3><strong>Enter every single raffle</strong></h3><p>Raffles are spread out everywhere across the internet, instagram, and twitter. You have the best chances of winning if you take every single free opportunity you can to enter. That can be really time consuming though. Stop digging around looking for raffles and spend your time entering them! Very few sites list every single raffle. Fortunately <a href="https://www.soleretriever.com/"><strong>Sole Retriever</strong></a> exists to make people aware about super-exclusive sneaker giveaway events. The site is completely free!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fDdKlJgXDm8_Bq93aKfjWQ.png" /><figcaption>Hundreds of raffles are posted daily!</figcaption></figure><h3><strong>Avoid raffle eliminations</strong></h3><p>Often stores will have rules, regulations, or even trivia questions to make it harder for people and bots to enter. Make sure you don’t enter any raffle twice to avoid your entry being thrown out.<em> </em><strong><em>Also, you may find trivia questions when entering a raffle</em></strong>. These can be tricky to research but luckily Sole Retriever will share answers via their mobile app and (if you’re a premium subscriber, their website). By answering each question correctly you boost your chances of winning.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8MEha4fiZu2g4j6bwQvzEw.png" /></figure><h3><strong>Download the apps</strong></h3><p>If you were to ask someone what apps they use for raffles, odds are pretty good they would tell you about apps like <a href="https://www.adidas.com/us/confirmed">Adidas Confirmed</a>, <a href="https://www.nike.com/launch">SNKRS</a>, and <a href="https://www.soleretriever.com/mobile-app">Sole Retriever</a>. These apps are an integral part of many people’s routines and, whether you realize it or not, they help you win more. You probably already know that entry is a hassle though. That’s where apps like Sole Retriever, with their form autofill features, make entering raffles easier than ever.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*HJg6IY0PAUy4WyccO25BJg.png" /><figcaption>Sole Retriever is pretty comprehensive.</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5182e3beab78" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Creating a Component Library in Glamorous (and JS)]]></title>
            <link>https://medium.com/cloudboost/creating-a-component-library-in-glamorous-js-cb0bb80696e?source=rss-624a6dcc4102------2</link>
            <guid isPermaLink="false">https://medium.com/p/cb0bb80696e</guid>
            <category><![CDATA[web-design]]></category>
            <category><![CDATA[mobile-design]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[design-systems]]></category>
            <category><![CDATA[react]]></category>
            <dc:creator><![CDATA[Cole Townsend]]></dc:creator>
            <pubDate>Mon, 08 Jan 2018 13:06:02 GMT</pubDate>
            <atom:updated>2018-01-17T14:15:41.927Z</atom:updated>
            <content:encoded><![CDATA[<h3>Creating a Component Library in React-Native with Glamorous</h3><p>Using Glamorous and Recompose, it’s much easier to create a simple, enforceable component library that saves your team members time.</p><p><em>This is blog post is adapted from a presentation that you can see here: </em><a href="https://twitter.com/twnsndco/status/930960774939410432">https://twitter.com/twnsndco/status/930960774939410432</a></p><h3>On Bootstrap</h3><p>I bet many of you used Bootstrap at some point. You can quickly build an interface while focusing on the logic and UX rather than UI details. Bootstrap is convenient, but often contains more than you need and relies on strict markup with a lot of copy and pasting. With Glamorous, you can quickly create a slimmer component library. Here, I’ll outline how you can take a compositional component based approach (instead of a .class and HTML-markup based one) to create an easy-to-use component library.</p><h3>Why a component library?</h3><p>We build things modularly to increase efficiency. A well implemented component library can:</p><ul><li>save team members from confusion over style details</li><li>reduce decision-making when building enhancements and features</li><li>maintain a consistent style across interfaces</li><li>Maintain consistent interaction expectations for users</li></ul><p>A strong component library gives designers the ability to effectively eliminate UI design from parts of product development. Using pre-existing UI, product managers and engineers can scaffold incremental features. The design team can look at and approve these changes while focusing on larger features.</p><h4>Example</h4><p>Slack’s threaded comment component is a good example of a small feature build using pre-existing UI. The threaded message is an adjusted version of their default message.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/736/1*VXRZdmQjXptfBuY-t4s-_w.png" /><figcaption>Nested messages are the same as regular messages.</figcaption></figure><h3>Building your Component Library with Glamorous</h3><p>Using a .json schema with glamorous we can quickly scaffold out a component library.</p><h4>Base variables</h4><p>Your base variables represent the numbers you use throughout your application. These might include:</p><ul><li>Dimensions: <em>spacing (padding/margins)</em>, <em>text sizes</em>, <em>heights</em></li><li>Colors</li></ul><h4>UI Variables: Base Variables Extended</h4><p>Within the base variables, I like to include a separate object called UI. The UI object contains distinguishing colors we are use for elements, states, etc., that are used in many components but don’t necessarily change. Although the colors have already been defined as a variable like Colors.Green , it is easier for both you and your developers to utilize something like Colors.UI.Success for a notification. Our variables are self-documenting and form the base of a code-driven style guide should we decide to expand on our component library.</p><blockquote>We want to think about our schema as if we’re making an API for our styles.</blockquote><h4>Example</h4><pre>const Colors = {<br>  Green: ‘#444444’,<br>  Gray: ‘#444444’<br>}<br><br>Const UI = {<br>  Success: Colors.Green,<br>  Error: Colors.Red,<br>  Border: Colors.Gray<br>}<br><br>Colors.UI = UI</pre><h3>Compound Variables</h3><ul><li>Shadows: in React Native, shadows are slightly more complex than CSS shadows. These will need to have a couple nested objects. To use one we’d need a spread operator (see in example below)</li><li>TextStyles: an object of commonly used together text styles, likely line height and font size.</li></ul><h4>Example</h4><pre>// Shadows</pre><pre>import Colors from &#39;./colors&#39;;</pre><pre>// To use a Shadow, use a spread operator within your Stylesheet object<br>...Shadows.Default,<br>backgroundColor: #ffffff</pre><pre>const Shadows = {<br>  Default: {<br>    shadowColor: Colors.Black,<br>    shadowOpacity: 0.10,<br>    shadowRadius: 2,<br>    shadowOffset: {<br>      width: 0,<br>      height: 1<br>    },<br>    elevation: 2 // Android only<br>  },<br>  Light: {<br>    shadowColor: Colors.Black,<br>    shadowOpacity: 0.05,<br>    shadowRadius: 2,<br>    shadowOffset: {<br>      width: 0,<br>      height: 1<br>    },<br>    elevation: 2 // Android only<br>  }<br>};</pre><pre>export default Shadows;</pre><h3>Recomposing (Like smart symbols)</h3><p>As often as possible, I like to keep the variables specific to a component with that component, then recompose it as needed. In this example, the BaseText component defaults to Dimensions.UI.Text.Base font size, and we overwrite that size when making a Title component. This way, instead of rewriting some code and re-importing the Dimensions.UI.Text.Base variable, we can recompose a primitive BaseText component.</p><p>When designing a component library, it can be helpful to think about your system as a utils file. It has helpful bits of code that are used between components on a frequent basis. Ideally, our system set of imports is small and the components assume responsibility for their appearance.</p><h4>Example: Text</h4><pre>const BaseText = glamorous.text(<br>  props =&gt; props.bold &amp;&amp; {weight: &#39;800&#39;},<br>  props =&gt; props.medium &amp;&amp; {weight: &#39;500&#39;},<br>  props =&gt; props.color &amp;&amp; {color: props.color},<br>  props =&gt; props.size &amp;&amp; {fontSize: props.size},<br>);<br><br>const Title = withProps({bold, size: 64})(glamorous(BaseText)));<br><br>const PageTitle = withProps({bold, color: Colors.Gray.Dark, size: 64})(glamorous(BaseText));</pre><pre>// Note: Because this is our Title component, we don&#39;t need a Dimensions.Text.Title variable really.</pre><p>The example above is <em>good </em>but risks abstracting our UI too much. A good rule of thumb is keeping your UI components no more than two elements deep; don’t recompose more than once from a base element. Create a new one.</p><h4>Better Example: Type Scale Factory</h4><p>If we are working with a specific type scale, we can programmatically generate our components with a manifest. At Robin, we found ourselves defining a lot of styles.TEXT_TYPE objects for Text components. It was difficult to keep these components in check with simply a Dimensions.Text object. The TypeScale map exports each component we need, so we aren’t importing Dimensions and redefining commonly used text sizes.</p><p><strong>Scale</strong></p><pre>import System from &#39;@design/system&#39;;</pre><pre>const TypeScale = {<br>  H1: 48,<br>  H2: 35<br>  H3: 26,<br>  H4: 20,<br>  Text: 15,<br>  Byline: 12<br>}</pre><pre>System.TypeScale = TypeScale;<br><br>export default System;</pre><p><strong>Type</strong></p><pre>import System from &#39;@design/system&#39;;<br><br>const BaseText = glamorous.text(<br>  props =&gt; props.bold &amp;&amp; {weight: &#39;800&#39;},<br>  props =&gt; props.medium &amp;&amp; {weight: &#39;500&#39;},<br>  props =&gt; props.color &amp;&amp; {color: props.color},<br>  props =&gt; props.size &amp;&amp; {fontSize: props.size},<br>);<br><br>const TypeScaleMap = (System.Typescale) =&gt; {<br>  Object.keys(textSizesObject).map(key =&gt; {<br>    Type[key] = glamorous(BaseText)({<br>      fontSize: textSizesObject[key];<br>    });<br>  });<br>}<br><br>export default {…TypeScaleMap}  <br><br>/* This would be accessible as <br><br>&lt;H1 /&gt;<br>&lt;H2 /&gt;<br>&lt;H3 /&gt;<br>&lt;H4 /&gt;<br>&lt;Text /&gt;  <br>&lt;Byline /&gt;</pre><pre>*/</pre><p>In this example, we keep our Type components at a single depth (only recomposing once) and limit their flexibility. Now they can only change size, color, and alter between 3 weights: 400, 500, and 800. If we wanted to take this example further, we could assign margins and strict colors to our type scale for further strictness.</p><h3>Good luck!</h3><p>By creating a component library as the backbone of your UI, you can quickly scaffold new components that adhere to your predefined UI variables. The self -documenting variables you used will come in handy when building out new components and recomposing primitive components alike. All of your useful variables are accessible in a single object now as well.</p><p><em>A component library is just one part of a design system. For more on design systems, I suggest reading these posts:</em></p><ul><li><a href="https://airbnb.design/building-a-visual-language/">https://airbnb.design/building-a-visual-language/</a></li><li><a href="https://airbnb.design/the-way-we-build/">https://airbnb.design/the-way-we-build/</a></li><li><a href="http://atomicdesign.bradfrost.com/chapter-1/">http://atomicdesign.bradfrost.com/chapter-1/</a></li><li><a href="https://medium.com/salesforce-ux/the-lightning-design-system-is-the-next-generation-of-living-style-guides-9addc769c317">https://medium.com/salesforce-ux/the-lightning-design-system-is-the-next-generation-of-living-style-guides-9addc769c317</a></li><li><a href="https://uxdesign.cc/designing-design-system-for-complex-products-5ff2d3051fa1">https://uxdesign.cc/designing-design-system-for-complex-products-5ff2d3051fa1</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cb0bb80696e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/cloudboost/creating-a-component-library-in-glamorous-js-cb0bb80696e">Creating a Component Library in Glamorous (and JS)</a> was originally published in <a href="https://medium.com/cloudboost">CloudBoost</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Accept payments on your site with NextJS, Stripe, and Micro]]></title>
            <link>https://medium.com/hackernoon/accept-payments-on-your-site-with-nextjs-stripe-and-micro-371de95b22d5?source=rss-624a6dcc4102------2</link>
            <guid isPermaLink="false">https://medium.com/p/371de95b22d5</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[stripe]]></category>
            <category><![CDATA[front-end-development]]></category>
            <dc:creator><![CDATA[Cole Townsend]]></dc:creator>
            <pubDate>Wed, 26 Apr 2017 07:11:02 GMT</pubDate>
            <atom:updated>2017-07-19T11:06:09.365Z</atom:updated>
            <content:encoded><![CDATA[<p>I often create small side projects where I’d like to charge for a single product. Rather than pay fees to use Plasso or Gumroad, you can make your own stripe server! In this tutorial, I walk you through how to add a payment form to your app or website. You will end up with a Stripe charge server built with Zeit’s <a href="https://github.com/zeit/micro">micro</a> and a functioning payment form.</p><h4>Example:</h4><ul><li><a href="https://micro-stripe.twnsnd.co/"><strong>https://micro-stripe.twnsnd.co</strong></a>, <a href="https://github.com/ColeTownsend/micro-stripe-charge-example">source for front-end</a></li><li><a href="https://micro-stripe-api.twnsnd.co/"><strong>https://micro-stripe-api.twnsnd.co/</strong></a>, <a href="https://github.com/ColeTownsend/micro-stripe-charge-example">source for api</a></li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Bd8Oyv43DHEpaqTHNDJswA.png" /><figcaption>built using Stripe Elements — <a href="https://micro-stripe.twnsnd.co/"><strong>https://micro-stripe.twnsnd.co</strong></a>,</figcaption></figure><h4>Why Stripe Elements and Micro?</h4><p>Stripe <a href="https://stripe.com/docs/elements"><strong>Elements</strong></a> is a series of drop-in UI components that handle sensitive card information. If you’re trying to collect payment info without using a third party service like Plasso or Gumroad, this is your best bet.</p><p><strong>Micro</strong> is a slim server written in NodeJS:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xi75CfpFnWzgdu4jEX6uqQ.png" /></figure><p>Both applications we will deploy through Zeit’s service <a href="https://zeit.co/now"><strong>Now</strong></a><strong>, </strong>a command line tool. You will need a Zeit account, which shouldn’t take too much time to set up. Then, install the cli npm install -g now. Then run now --login. For more on setting up now: <a href="https://zeit.co/now#get-started">https://zeit.co/now#get-started</a>.</p><h3>Getting started</h3><p>First, we’re going to set up our stripe payment server. This is what where we will make a post request with our form containing a stripe charge token and actually charge the card. Create an application folder like my-stripe-app and make a second directory within that called api:</p><pre>mkdir my-stripe-app &amp;&amp; cd $_</pre><pre>mkdir api &amp;&amp; cd $_</pre><pre>yarn init<br>yard add dotenv micro stripe</pre><p>A little about our dependencies:</p><ul><li><strong>dotenv </strong>is for our environment variables (stripe tokens)</li><li><strong>micro</strong> is our server</li><li><strong>stripe </strong>handles handling charge tokens and creating charges and is the wrapper for the Stripe API.</li></ul><p>Create a file called index.js which is what Now will run by default. We’re going to import 2 modules from the micro package: send and json . Send lets our server send a response and json lets our server parse thejson data that we receive from our front-end application’s post request.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d1306d39655a4869aacf50b9daa73620/href">https://medium.com/media/d1306d39655a4869aacf50b9daa73620/href</a></iframe><h4>The Post</h4><p>One of the required files here we don’t have yet :post. That’s where most of our post request and server logic will live. Go ahead and create a post.js file in the same directory (/api)) as index.js.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2222fcabd7d756c3cac2a70f46819cdf/href">https://medium.com/media/2222fcabd7d756c3cac2a70f46819cdf/href</a></iframe><p>In Post we’re exporting a function that accepts an input function. This bit is mostly built off of Romulo Alves’ <a href="https://github.com/romuloalves/micro-post">micro-post</a> but I needed a little bit more customization. We only want to accept get and post request and cross-origin headers from our specified domain to keep things secure. We’re going to use a <a href="https://zeit.co/docs/features/env-and-secrets#config-files">secret</a> for this so we can change it on the fly.</p><p><em>Note: I’ve added the </em><em>GET method so we have some indicator that our server is running. You don’t need this.</em></p><p>In your command line, run now secret add STRIPE_ALLOW_DOMAIN &#39;your-domain-here.com&#39; . We’re going to set this to something else in the future so you don’t need to have an exact domain now.</p><p><em>Note: you can set this to any origin with an asterisk </em><em>&#39;*&#39;, but that is not advisable as it leaves the server vulnerable to XSS. Since this server only takes 2 requests and relies on Stripe it’s probably OK but only temporarily for testing purposes.</em></p><h4>Deploy the `/api` with Now</h4><p>We need some keys to interact with Stripe’s api. We’re going to store our secret key with Now. Run now secret add STRIPE_SECRET_KEY sk_test_XXXXXX where the second value starting with sk_test is your full test secret key from your stripe dashboard. You can find this value at <a href="https://dashboard.stripe.com/account/apikeys">https://dashboard.stripe.com/account/apikeys</a> after you’ve logged in.</p><p>Then create an .env file at the root of your /api directory. Here we want to add the aliases for the Stripe secret key as well as for the domain we want to allow.</p><pre>STRIPE_SECRET_KEY=@stripe_secret_key<br>STRIPE_ALLOW_DOMAIN=@stripe_allow_domain</pre><p>Run now deploy --dotenv to deploy your api. Pay your domain a visit. You should see something like the following:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6kmaSKoDmUzfMy2sGzxbyA.png" /><figcaption>https://micro-stripe-api.twnsnd.co</figcaption></figure><p>If you have any issues at this step, leave a comment or <a href="https://twitter.com/twnsndco">tweet me</a>!</p><h3>Creating the front end form</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hCElNJcbkaTJ9cRQu_NveQ.png" /><figcaption>Stripe Elements library is pretty — <a href="https://micro-stripe.twnsnd.co/">https://micro-stripe.twnsnd.co/</a></figcaption></figure><p>Our front end will handle the form inputs and token creation. This example uses the brand new <a href="https://stripe.com/docs/elements">Stripe Elements</a> which allows you to customize your inputs but reap the benefits of error checking and security.</p><p>For this part, I’ve mostly copied Stripe’s Element example. Instead of breaking down the front-end here I’m going to direct you to a <a href="https://gist.github.com/ColeTownsend/2c2dbc1be1ae660c35b23cc9de9828df">gist</a> that you can copy.</p><p>Create an /app directory in your /my-stripe-app folder, cd app, and create an index.html where you can copy the <a href="https://gist.github.com/ColeTownsend/2c2dbc1be1ae660c35b23cc9de9828df">gist</a>. We’re going to edit the javascript charge functions now that are in the &lt;script&gt; tag at the bottom of the index.html file. I’ve copied the script below:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/e4171988d01b3b310ee55f431da605ad/href">https://medium.com/media/e4171988d01b3b310ee55f431da605ad/href</a></iframe><h4>Modifying the data collection script</h4><p>We need to do a few things to customize the charge.</p><ol><li>Change the <em>stripe public test key</em> to your own stripe public test key found at <a href="https://dashboard.stripe.com/account/apikeys">https://dashboard.stripe.com/account/apikeys</a>.</li><li>Replace the<em> API url</em> in the createCharge function to the one you’ve deployed</li><li>Change the <em>stripe public test key</em> in the Authorization Bearer to your own.</li><li>Change the data to a charge of your choice. Stripe requires cents as the amount so whatever dollar charge you want * 100 will work. I chose 2500, or $25, for this example.</li></ol><h4>Deploying the front end and tying it in to our API</h4><p>We don’t need any packages or special commands for this deploy! Run now deploy in the /app directory to deploy this app to its own url. <strong>Now</strong> automatically copies this url to your clipboard. <strong>Keep it there</strong>, because we need it for the next step.</p><p>With the domain of your static site copied to your clipboard, run now secret rm STRIPE_ALLOW_DOMAIN &amp;&amp; now secret add STRIPE_ALLOW_DOMAIN &#39;your-deployed-domain.now.sh&#39; Make sure to paste your static site URL where I have <em>your-deployed-domain.now.sh. </em>Include the single quotes.</p><p>Let’s double-check our keys. Run now secret ls. You should see the terminal output with your secrets stored on Now.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/514/1*kjOTxY412l6oJgv7nDKByQ.png" /><figcaption>This is the sort of output you should see.</figcaption></figure><p>Head to your front end domain (mine is at <a href="https://micro-stripe.twnsnd.co/">https://micro-stripe.twnsnd.co</a>) and attempt a test! You can use the test credit card 4242 4242 4242 4242 with any expiration date in the future, any security code, and any zip . Your test payments should appear in <a href="https://dashboard.stripe.com/test/payments">your dashboard</a>. I’ve also added an alert to make it painfully obvious that the service works.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QFchJVRxAO7pdbIUgIti1Q.png" /></figure><h3>Questions? Build something awesome?</h3><p>Reach out to me on twitter <a href="https://twitter.com/twnsndco">@twnsndco</a>, I’d be more than happy to help out or point you towards helpful documentation.</p><figure><a href="http://bit.ly/HackernoonFB"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0hqOaABQ7XGPT-OYNgiUBg.png" /></a></figure><figure><a href="https://goo.gl/k7XYbx"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Vgw1jkA6hgnvwzTsfMlnpg.png" /></a></figure><figure><a href="https://goo.gl/4ofytp"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gKBpq1ruUi0FVK2UM_I4tQ.png" /></a></figure><blockquote><a href="http://bit.ly/Hackernoon">Hacker Noon</a> is how hackers start their afternoons. We’re a part of the <a href="http://bit.ly/atAMIatAMI">@AMI</a> family. We are now <a href="http://bit.ly/hackernoonsubmission">accepting submissions</a> and happy to <a href="/service/mailto:partners@amipublications.com">discuss advertising &amp; sponsorship</a> opportunities.</blockquote><blockquote>If you enjoyed this story, we recommend reading our <a href="http://bit.ly/hackernoonlatestt">latest tech stories</a> and <a href="https://hackernoon.com/trending">trending tech stories</a>. Until next time, don’t take the realities of the world for granted!</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*35tCjoPcvq6LbB3I6Wegqw.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=371de95b22d5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/hackernoon/accept-payments-on-your-site-with-nextjs-stripe-and-micro-371de95b22d5">Accept payments on your site with NextJS, Stripe, and Micro</a> was originally published in <a href="https://medium.com/hackernoon">HackerNoon.com</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Build a design inspiration board with Next.js]]></title>
            <link>https://medium.com/hackernoon/building-a-design-inspiration-board-with-next-js-9c0505ba954d?source=rss-624a6dcc4102------2</link>
            <guid isPermaLink="false">https://medium.com/p/9c0505ba954d</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[web-design]]></category>
            <category><![CDATA[inspiration]]></category>
            <dc:creator><![CDATA[Cole Townsend]]></dc:creator>
            <pubDate>Wed, 05 Apr 2017 11:02:00 GMT</pubDate>
            <atom:updated>2019-07-17T04:47:54.177Z</atom:updated>
            <content:encoded><![CDATA[<p>I share a lot of links with the teams I‘ve been a part of — it’s one of the ways I stay connected with them. More importantly I get a lot of satisfaction out of it; sharing a tool that makes someone’s job more enjoyable and/or interesting is rad. I felt like it would be worthwhile to keep a public area where I could share all my design inspiration and useful web tidbits I’ve collected. Usually I’ll tweet these out, but I also saw this as an opportunity to test out Next.js. Here I’m going to walk you through building a design inspiration board using this framework.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Tfl4weswf474789lcDSeqw.png" /><figcaption>It’s called design af so it is.</figcaption></figure><h4>Why use Next.js</h4><p>Next.JS is a high performing server-side rendered node app that has the simplicity of <em>Meteor </em>without the performance issues<em>.</em> Often, its used in combination with React, but it is infinitely pluggable; you can configure as much or as little as you wish (like Sass…or Redux), and the documentation to do so is extensive. It has a ton of performance optimizations built in meaning that you can think less about set up.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8gEFaxRja64VKJb4BZviow.png" /><figcaption>Buzzwords. Buzzwords everywhere.</figcaption></figure><h3>Getting started</h3><p>We’re going to create a single page app that fetches data from a Dropmark feed and use that to display a grid of images. This data is a JSON response from an API endpoint at Dropmark. What we need is something to help us easily fetch the data, sort it, and display it.</p><p>We will use a public feed on mine for now, and I’ll take you through the steps needed to use your own private boards later.</p><p>Create a new directory and install the dependencies for this project:</p><pre>mkdir design-inspo<br>cd design-inspo <br>yarn init</pre><pre>yarn install next moment react react-dom isomorphic-fetch</pre><p>What do all of these do?</p><ul><li><strong>Next</strong> handles the node parts and all our assets (styles, js) <a href="https://zeit.co/blog/next2">Read more here</a>.</li><li><strong>Moment</strong> handles the time calculations so we can show when we posted something.</li><li><strong>React</strong> and <strong>React-dom</strong> help us with the interface so we can display it with fancy HTML. Realistically we could use any JS front end framework or even nothing at all. Frameworkless is a bit trickier though for our example.</li><li><strong>Ramda</strong> helps us sort data, its an alternative to Lodash and Underscore.</li></ul><p>Add our start script to your package.json file</p><pre>{<br>  &quot;scripts&quot;: <br>   { <br>      &quot;dev&quot;: &quot;next&quot; <br>   } <br>}</pre><h4>Creating the folder layout and initial `index.js` file</h4><p>We need a pages/ folder per the Next API. Run the following in your command line: mkdir pages &amp;&amp; touch pages/index.js. We’re going to use our index.js file as a wrapping component that fetches all of our data and passes it to smaller components.</p><p>We’re going to use the endpoint for my <em>Web </em>feed from <a href="http://twnsndco.dropmark.com/396720">Dropmark</a>. I have this public so that we can use it for the example but later on I’ll break down how we can use environment variables for private boards.</p><p>Here’s what we need in that index.js file:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/740af513727083d4333c00c02206a33b/href">https://medium.com/media/740af513727083d4333c00c02206a33b/href</a></iframe><p>To summarize this, we’re asynchronously “fetch”-ing data from the Dropmark endpoint (<a href="http://twnsndco.dropmark.com/396720.json">http://twnsndco.dropmark.com/396720.json</a>). When the request is complete, we return data which are the items part of the json object. This data is then passed into our Feed component.</p><h4>Componentize me Cap’n</h4><p>Let’s tackle our smaller components. Create a /component folder and a new file in it called Feed.js. This component will pull in our data to map to a smaller component, Post which we will create later.</p><p>Our Feed.js file:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/df6a25b0c987e54ddd1edf5a94568fb6/href">https://medium.com/media/df6a25b0c987e54ddd1edf5a94568fb6/href</a></iframe><p>We’re passing in 2 arguments to this <em>functional component</em>: className and posts. We’ll likely use className in order to style the container for all of our posts. Data is our JSON object that the Feed component is receiving from our index component (the index.js file). With data, an array, we can map each post object to a Post component.</p><h4>The Post: Let’s see some stuff</h4><p>Create a Post.js file in your components folder. We’re going to unwrap the post object that it receives from Feed and use that to populate a bunch of HTML elements.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/4ba7a50ae4d7e350e03bea4e1a97a42e/href">https://medium.com/media/4ba7a50ae4d7e350e03bea4e1a97a42e/href</a></iframe><h3>Styling it up</h3><p>To test out our app, run npm run dev and open <a href="/service/localhost:3000">localhost:3000</a> in your browser. You should see an un-styled stream of images and text. With Next.js you get hot module reloading out of the box, which means instant visual feedback.</p><p>Since you’re the designer, I won’t tell you how to style this; you have all the raw ingredients now to make your design board. I would recommend setting up <a href="https://github.com/zeit/next.js/blob/master/examples/with-styled-components">styled-components</a> (easy to use, nice ro write) or <a href="https://github.com/zeit/next.js/blob/master/examples/with-cxs">cxs</a> (easy to use, performant).</p><h3>Making it your own feed</h3><p>To make your own feed, create an account at <a href="https://www.dropmark.com/">Dropmark.com</a>. Create a new collection for what you want to be sharing. All of your posts will be there.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yZbf06XaSINbQHl9BHAgRw.png" /><figcaption>At the far left in the sidebar you can see “New Collection”</figcaption></figure><p>First, I’d add a couple items to this collection. Download and set up the Dropmark chrome/safari extension or their mac application. Usually with websites I take a screenshot, which essentially gets you the front page of the site.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/452/1*MhAwJdBd-93ZHGT5CYKS5A.png" /></figure><p>Open up your new collection by clicking the title in the sidebar head to that collection’s board. Copy down the URL from your browser. Usually it is something like yourusername.dropmark.com/102333 Then head to the account settings underneath your avatar on the far right. Scroll down to private links and get/generate your private key.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/612/1*s0v2zr4CmAWr1SJnDqJ7mw.png" /></figure><p>Copy this key down as well. At the root of your project folder, create a .env file with the key DROPMARK_API_KEY=XXXXXXXXXXX where the instead of X’s you have your key. Then add another file to the root, called now.json with the following content:</p><pre>{<br>  &quot;dotenv&quot;: true<br>}</pre><p>This lets <a href="https://zeit.co/now">Now</a> know that you have included a .env file and need access to the token there.</p><p>Head to your index.js file and change it to use your new collection url and your Dropmark key. Here we’re using a string template to insert our key before generating the string.</p><pre>import React from &#39;react&#39;;<br>import &#39;isomorphic-fetch&#39;;</pre><pre>const postEndpoint = `http://&lt;your-user-name&gt;.dropmark.com/&lt;collection-id&gt;.json?key=${process.env.DROPMARK_KEY}`</pre><p>Spin up your project again using npm run dev and you should now see a list with the images/sites you’ve added so far.</p><h4>Deploying</h4><p>To deploy a copy, globally install now with npm install -g now and run now --dotenv from the root of your project folder to deploy it to a temporary URL. For custom urls, consult <a href="https://zeit.co/now">https://zeit.co/now</a>.</p><h3>Questions? Build something awesome?</h3><p>Reach out to me on twitter <a href="https://twitter.com/twnsndco">@twnsndco</a>, I’d be more than happy to help out or point you towards helpful documentation.</p><figure><a href="http://bit.ly/HackernoonFB"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0hqOaABQ7XGPT-OYNgiUBg.png" /></a></figure><figure><a href="https://goo.gl/k7XYbx"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Vgw1jkA6hgnvwzTsfMlnpg.png" /></a></figure><figure><a href="https://goo.gl/4ofytp"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gKBpq1ruUi0FVK2UM_I4tQ.png" /></a></figure><blockquote><a href="http://bit.ly/Hackernoon">Hacker Noon</a> is how hackers start their afternoons. We’re a part of the <a href="http://bit.ly/atAMIatAMI">@AMI</a> family. We are now <a href="http://bit.ly/hackernoonsubmission">accepting submissions</a> and happy to <a href="/service/mailto:partners@amipublications.com">discuss advertising &amp; sponsorship</a> opportunities.</blockquote><blockquote>If you enjoyed this story, we recommend reading our <a href="http://bit.ly/hackernoonlatestt">latest tech stories</a> and <a href="https://hackernoon.com/trending">trending tech stories</a>. Until next time, don’t take the realities of the world for granted!</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*35tCjoPcvq6LbB3I6Wegqw.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9c0505ba954d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/hackernoon/building-a-design-inspiration-board-with-next-js-9c0505ba954d">Build a design inspiration board with Next.js</a> was originally published in <a href="https://medium.com/hackernoon">HackerNoon.com</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Weekly Links: Tools from last week]]></title>
            <link>https://medium.com/the-cole-mine/weekly-links-tools-from-last-week-dc65e1771e93?source=rss-624a6dcc4102------2</link>
            <guid isPermaLink="false">https://medium.com/p/dc65e1771e93</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[design]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[web-design]]></category>
            <category><![CDATA[front-end-development]]></category>
            <dc:creator><![CDATA[Cole Townsend]]></dc:creator>
            <pubDate>Mon, 09 Jan 2017 14:01:51 GMT</pubDate>
            <atom:updated>2017-01-09T14:02:10.907Z</atom:updated>
            <content:encoded><![CDATA[<p>Last week got crazy with track training and work. Back on the grind for indoor season as well as diving deep into the Robin Powered mobile app again to freshen up some views and build out new features.</p><h4><a href="https://github.com/jxnblk/cxs">The fastest (js) styles in the West</a></h4><p>CXS has insane build speed and several different output modes. At first I was skeptical of using JS for styles but after working with React-Native Stylesheets I’m convinced it has so much to offer. Write styles for everything, and CXS will make a stylesheet and assign classes that finds the best overlap between elements leaving no cruft.</p><h4><a href="https://github.com/gatsbyjs">Gatsby ❤ Typescript</a></h4><p>Gatsby now supports Typescript and YAML front matter (like Jekyll). GatsbyJS was my first introduction to the world of React and Kyle has kept Gatsby extensible and bleeding edge. <a href="https://github.com/gatsbyjs">https://github.com/gatsbyjs</a></p><h4><a href="https://github.com/zeit/release">Quicker github releases!</a></h4><p>Cut releases from the command line with ZeitHQ’s Release. Really, just check out all of their open source work. <a href="https://github.com/zeit/release">https://github.com/zeit/release</a></p><h4><a href="https://github.com/rstacruz/webpack-tricks#smaller-react">Smaller React</a></h4><p>Cut down reacts build size with this tooling. 30kb to be exact. <a href="https://github.com/rstacruz/webpack-tricks#smaller-react">https://github.com/rstacruz/webpack-tricks#smaller-react</a></p><h4>Sites of the Week</h4><p>Dennis Cortes has been killin it and I don’t know how he wasn’t on my radar before. Check out a couple of his sites:</p><ul><li><a href="http://www.cortes.us/">http://www.cortes.us/</a></li><li><a href="http://coffee.cortes.us/">http://coffee.cortes.us/</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dc65e1771e93" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-cole-mine/weekly-links-tools-from-last-week-dc65e1771e93">Weekly Links: Tools from last week</a> was originally published in <a href="https://medium.com/the-cole-mine">The Cole Mine</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Weekly Picks: React Animation and VR]]></title>
            <link>https://medium.com/the-cole-mine/weekly-picks-react-animation-vr-c6f0c024f15a?source=rss-624a6dcc4102------2</link>
            <guid isPermaLink="false">https://medium.com/p/c6f0c024f15a</guid>
            <category><![CDATA[web-design]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[design]]></category>
            <dc:creator><![CDATA[Cole Townsend]]></dc:creator>
            <pubDate>Mon, 19 Dec 2016 14:21:02 GMT</pubDate>
            <atom:updated>2016-12-19T14:56:40.625Z</atom:updated>
            <content:encoded><![CDATA[<p>This week for me didn’t involve too much javascript — mostly working on designing the next face of <a href="https://robinpowered.com/">robinpowered.com</a>! Takeaways:</p><ul><li>Rapid iteration in many directions can helpbreak through lack of inspiration</li><li>Refactoring code can be really relaxing</li><li>Using BetterTouchTool to define Sketch shortcuts has been a lifesaver for me!</li></ul><h4><a href="https://github.com/awt2542/Find-for-Framer">Find for Framer</a></h4><p>The equivalent of the $ jQuery dom selector, but for FramerJS</p><h4><a href="https://developer.oculus.com/blog/introducing-the-react-vr-pre-release/">Use React for VR (official release)</a></h4><p>I previously starred a few unofficial releases on github but Facebook has officially (pre) released this tool.</p><h4><a href="https://github.com/Izzimach/react-three">React Three</a></h4><p>Use threejs animation and 3d library with react</p><h4><a href="https://github.com/zeit/react-keyframes">React Keyframes</a></h4><p>Animate with react using keyframes. Each child element is a single frame.</p><h4><a href="https://github.com/lelandrichardson/redux-pack">Redux Pack</a></h4><p>Cut down on Redux boilerplate code in a well thought out way.</p><h4><a href="https://www.myfonts.com/fonts/degarism-studio/formatif-std/">Formatif Std</a></h4><p>A sharp geometric font on <a href="http://myfonts.com/">Myfonts.com</a></p><h4>Cool Sites and Visual Inspiration</h4><ul><li><a href="http://helloheco.com/project/whittl">http://helloheco.com/project/whittl</a></li><li><a href="https://soulwire.co.uk/">https://soulwire.co.uk/</a></li><li><a href="https://dribbble.com/shots/3155019-blogs">https://dribbble.com/shots/3155019-blogs</a></li><li><a href="https://dribbble.com/shots/3163823-Winter-Wonderland">https://dribbble.com/shots/3163823-Winter-Wonderland</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c6f0c024f15a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-cole-mine/weekly-picks-react-animation-vr-c6f0c024f15a">Weekly Picks: React Animation and VR</a> was originally published in <a href="https://medium.com/the-cole-mine">The Cole Mine</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Weekly Picks: UX design, tooling, and the best of JS]]></title>
            <link>https://medium.com/the-cole-mine/weekly-picks-ux-design-tooling-and-the-best-of-js-c267fba6cf8e?source=rss-624a6dcc4102------2</link>
            <guid isPermaLink="false">https://medium.com/p/c267fba6cf8e</guid>
            <category><![CDATA[design]]></category>
            <category><![CDATA[ux]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[figma]]></category>
            <dc:creator><![CDATA[Cole Townsend]]></dc:creator>
            <pubDate>Fri, 09 Dec 2016 21:29:29 GMT</pubDate>
            <atom:updated>2016-12-09T22:59:56.361Z</atom:updated>
            <content:encoded><![CDATA[<p>A short week for me — cross country club nationals is this weekend! Did some cool stuff this week with React Native Web to build out the Robin Mobile style guide after seeing a <a href="https://twitter.com/jongold/status/805976530245414912">tweet from Jon Gold</a> showing a peak of what he’s working.</p><ul><li>React native web is a little slower than create React app default builds but it’s still nice to develop and the errors from the default boilerplate are good.</li><li>Maps and implicit returns are neat!</li><li>(Good) Product managers have a wealth of knowledge about users, the product, product history, and an idea of the product future. Ask them a lot of questions, both prompted and unprompted and you can learn a whole bunch!</li></ul><h4><a href="https://uxdesign.cc/ux-trends-2017-46a63399e3d2#.yqo6khxn4">State of UX 2017</a></h4><p>Great resource for some opinionated UX thoughts and resources! I found a lot of this to be insightful — especially the argument“boring UI.” In short, it describes how familiar UI with intricate and well thought out details trumps unique UI.</p><h4><a href="https://medium.com/figma-design/components-in-figma-e7e80fcf6fd2#.lxhil1f4g">Figma Components</a></h4><p>Infinitely complex components in this design program. I’ve spent minimal time working on it but am excited to try these out as I struggle with Sketch symbols.</p><h4><a href="https://abynim.github.io/UserFlows/">User Flows in Sketch</a></h4><p>Wireframe then create flowcharts in Sketch!</p><h4><a href="https://gitscout.com/">GitScout</a></h4><p>Track Github issues from your desktop. Has drafts!!</p><h4><a href="https://github.com/facebook/yoga">Facebook’s Yoga</a></h4><p>A C-based layout engine based on Flexbox. This should be super excited for designers and devs alike as it makes the popular flexbox syntax and</p><h4><a href="http://www.hackerparadise.org/blog/2016/11/17/open-source-fellowship/">Changelog’s Fellowship</a></h4><p>Go to South America and get paid (a stipend) to work on open source stuff!</p><h4><a href="https://medium.com/@ghanbak/making-and-releasing-an-ios-sticker-app-33918cd5c633#.2yoi03izc">How to make an iOS sticker app</a></h4><p>My friend <a href="https://medium.com/u/370589827156">ethan macdonald </a>wrote up an excellent walk through for making your own sticker app!</p><h4>Quick Dribbble Picks</h4><ul><li><a href="https://dribbble.com/shots/3144343-Home-Page-Redesign">https://dribbble.com/shots/3144343-Home-Page-Redesign</a></li><li><a href="https://dribbble.com/shots/3121019-Connecting-and-error-state-Wi-Fi-animation">https://dribbble.com/shots/3121019-Connecting-and-error-state-Wi-Fi-animation</a></li><li><a href="https://dribbble.com/shots/3139869-Cosmo-the-Cat-Kik-sticker-pack">https://dribbble.com/shots/3139869-Cosmo-the-Cat-Kik-sticker-pack</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c267fba6cf8e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-cole-mine/weekly-picks-ux-design-tooling-and-the-best-of-js-c267fba6cf8e">Weekly Picks: UX design, tooling, and the best of JS</a> was originally published in <a href="https://medium.com/the-cole-mine">The Cole Mine</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Weekly Picks: Designing emails and uber animations]]></title>
            <link>https://medium.com/the-cole-mine/weekly-picks-designing-emails-and-uber-animations-b30068e6969d?source=rss-624a6dcc4102------2</link>
            <guid isPermaLink="false">https://medium.com/p/b30068e6969d</guid>
            <category><![CDATA[design]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[web-design]]></category>
            <category><![CDATA[email]]></category>
            <dc:creator><![CDATA[Cole Townsend]]></dc:creator>
            <pubDate>Fri, 02 Dec 2016 14:46:08 GMT</pubDate>
            <atom:updated>2016-12-02T14:46:08.902Z</atom:updated>
            <content:encoded><![CDATA[<p>This week I made some inroads on developing emails in React! Developing email designs and templates for various third party services is still a pain in the butt.</p><ul><li>Hot reloading for emails is the holy grail</li><li>diving in to source code is a great way of learning how to build something (imagine that!)</li></ul><h4><a href="http://rog.ie/">Rogie King’s Portfolio</a></h4><p>Rogie has some of the most fun designs — imagine if Disney and Captain Underpants joined up to make a web designer.</p><h4><a href="https://dribbble.com/shots/3124822-Website-Navigation-Panel-Transition">Dribbble Pick</a></h4><p>This is just addictive to watch on loop.</p><h4><a href="http://nicelydone.club/">Really nice product sites</a></h4><p>Nicely Done Club takes screenshots of a full product including the marketing pages. And its a sharp site.</p><h4><a href="https://formkeep.com/">Formkeep</a></h4><p>Plugging my own work, I redesigned the Formkeep marketing site! If you hate writing form endpoints this is for you.</p><h4><a href="https://github.com/chromakode/react-html-email">React HTML Email</a> and <a href="https://github.com/micnews/courier">Courier</a></h4><p>If you’re developing emails, this is the ticket. With React HTML Emails you can server side render email templates. Combine that with Courier and you can programmatically send Mailchimp campaigns! Pro-tip: if you add react-tml-email tocreate-react-app you can render the email templates to #root and benefit from hot module reloading. If you need full control over your emails I find react-html-email is easier because you can choose</p><h4>….or <a href="https://mjml.io/">MJML</a></h4><p>MJML provides a very abstracted framework for developing emails — it doesn’t have the same hot module reloading that you can set up with create-react-app but I’m sure if one was so included you could open a pull request! I find MJML a lot harder to style but otherwise they have great plugins for linting on Atom and Sublime as well as auto-completion. For styling mjml, what I really wish you could do was provide a set of common styles as a spread a la {...headerStyles} matching the required props of a particular element. They are very restrictive with what properties can be styled on an element in order have cross browser</p><h4><a href="http://typestyle.io/#/">TypeStyle</a></h4><p>Typesafe styles and an IDE like experience when writing styes. <a href="http://typestyle.io/#/why">Read more on why</a>. Specifically geared for TypeScript.</p><h4><a href="https://github.com/prometheusresearch/react-stylesheet/blob/next/README.md#type-safety">React Stylesheet</a></h4><p>Type safety, all the fun powers of javascript. Very similar to styled-components but with Typescript and Flowtype.</p><p><a href="https://github.com/prometheusresearch/react-stylesheet/blob/next/README.md#type-safety">prometheusresearch/react-stylesheet</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b30068e6969d" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-cole-mine/weekly-picks-designing-emails-and-uber-animations-b30068e6969d">Weekly Picks: Designing emails and uber animations</a> was originally published in <a href="https://medium.com/the-cole-mine">The Cole Mine</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Weekly Picks: JavaScript land and design systems]]></title>
            <link>https://medium.com/the-cole-mine/weekly-picks-javascript-land-and-design-systems-4ec1a69e2b3?source=rss-624a6dcc4102------2</link>
            <guid isPermaLink="false">https://medium.com/p/4ec1a69e2b3</guid>
            <category><![CDATA[design]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[design-systems]]></category>
            <dc:creator><![CDATA[Cole Townsend]]></dc:creator>
            <pubDate>Fri, 25 Nov 2016 14:28:21 GMT</pubDate>
            <atom:updated>2016-11-28T13:31:01.054Z</atom:updated>
            <content:encoded><![CDATA[<p>This week I spent a good amount of time reading up on design systems and patterns of React development. Key things I learned:</p><ul><li>Read the docs</li><li>Do it first then read the docs while you do it</li><li>Separate your concerns — load up your data in a container component then pass it into your presentational component</li><li>React native for macOS is like electron without all the setup! No wild Webpack stuff, and free hot module reloading 😍</li></ul><h4><a href="https://github.com/zeit/next.js/">Zeit Next.js</a></h4><p><a href="https://github.com/zeit/next.js/">Zeit’s Next.js</a> a tiny framework for setting up blazing fast server-rendered ReactJS projects. It can be integrated with Create-React-App and <a href="https://github.com/zeit/next.js/wiki/Redux-example">Redux</a> as well.</p><h4><a href="http://custom-react-scripts.surge.sh/">Custom Create-React-App Scripts</a></h4><p>Create-React-App offers a complete setup for ReactJS development complete with Jest (testing) and Webpack (bundling, transformations, etc). The custom scripts let you integrate Sass, CSS Modules, and other niceties without deconstructing the nicely packaged Create React App.</p><h4><a href="https://medium.com/shyp-design/designing-the-shyp-web-experience-1046f1b8070e#.ffte0p6cs">Shyp’s Design System (Read)</a></h4><p>A comprehensive read on how Shyp’s been building a design system.</p><h4><a href="https://learnredux.com/">Learn Redux from Wes Bos</a></h4><p>Totally free and comprehensive course on Redux. Less than 3 hours long. It’ll be great.</p><h3>Sites and Shots</h3><ul><li><a href="http://hollow.org.uk/">http://hollow.org.uk/</a> — sweet type pairing and animations</li><li><a href="https://dribbble.com/shots/3097986-HUB-Calendar-View">hub calendar animation</a> — buttery smooth animation</li><li><a href="https://plasso.com/">https://plasso.com </a>— Plasso redesign by Drew Wilson. Always solid.</li><li><a href="https://kinfolk.com/">https://kinfolk.com/</a> — tight new design from the folks at Kinfolk. Ha.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4ec1a69e2b3" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-cole-mine/weekly-picks-javascript-land-and-design-systems-4ec1a69e2b3">Weekly Picks: JavaScript land and design systems</a> was originally published in <a href="https://medium.com/the-cole-mine">The Cole Mine</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building in Community]]></title>
            <link>https://medium.com/@twnsndco/building-in-community-fa526f1b906?source=rss-624a6dcc4102------2</link>
            <guid isPermaLink="false">https://medium.com/p/fa526f1b906</guid>
            <dc:creator><![CDATA[Cole Townsend]]></dc:creator>
            <pubDate>Wed, 26 Mar 2014 19:59:22 GMT</pubDate>
            <atom:updated>2014-03-26T19:59:22.037Z</atom:updated>
            <content:encoded><![CDATA[<h4>Everyone should get involved, everyone should ship their side project or be a part of one.</h4><p>Side projects are gaining popularity in the web community. Remember volunteering to bulk up your résumé? Open source projects are volunteering in the web community. Except this time it’s more productive — it’s a field in which you’re excellent. These projects make a difference both seen and unseen. They give you that same fuzzy feeling when someone thanks you or you see it helped someone else, sure. But they’re launching careers. They’re expanding beyond mere side projects for some. Chances are that you’ve heard of Animate.css (Dan Eden). Perhaps you haven’t heard of <a href="https://github.com/jakiestfu/">Jake Kelly</a>, but I’m sure you’re familiar with one of his projects: Behave.js, Snap.js, or Mention.js. You may have read <a href="http://www.typogui.de/">Typoguide</a> by Benedikt Lehnert, or used <a href="http://anchorcms.com/">AnchorCMS</a> developed by Visual Idiot.</p><p>Sometimes these projects were small enough for one, but often there is a second pair of eyes and hands, a second mind, helping implement. Finding the right person to fill this role is often difficult. You can’t always find a perfect match for skills. your mentions on Twitter fell on silent ears. Designer News lacked a response. There’s <a href="http://programmermeetdesigner.com/">Programmer Meet Designer</a>, but everyone there is looking for a long term partner. It’s centered around money and location. It’s too much commitment.</p><p>For a side project, you just need someone to help you launch. You need to get a working product on the table with someone as skilled as you are, someone that complements your talents and mindset. Give your project a name, describe its purpose, and put down a few tags marking skills you need to finish it. You’ll have access to an awesome pool of other designers and developers, filtered by best match to your project. Instead of soliciting help on Twitter or cold emailing friends of friends, you can contact a fellow member of Meeet.</p><p>We’re hoping that this will help people launch their side projects and foster a community of developers and designers who love working collaboratively to make the web a better place.</p><p>You can check out our site to sign up for news and updates: <a href="http://meeet.co/">Meeet</a>.</p><p>We’d love to hear from you at <a href="/service/mailto:us@meeet.co">us@meeet.co</a>, or on Twitter <a href="http://twitter.com/meeetco">@meeetco</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fa526f1b906" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>