GithubHelp home page GithubHelp logo

themejam.gatsbyjs.org's Introduction

themejam.gatsbyjs.org's People

Contributors

amberleyromo avatar gillkyle avatar jlengstorf avatar kmelve avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

themejam.gatsbyjs.org's Issues

Mobile layout is overflowing

  1. Overflowing is happening because some wrapper around the Theme Jam illustration has a fixed width of 360px. It needs to be fluid and can be fixed by removing/overriding the width: 360 in src/gatsby-theme-marketing-sanity/components/serializers.js.

  2. The site-title is breaking on 2 lines on very small screens (320px wide). This can be fixed by removing the ml: 4 applied to the li of the "Submit" button in src/components/Header.js.

themejam gatsbyjs org_(iPhone 5_SE)

Left-align non-lede content

It makes sense for this paragraph to be centered:

Screen Shot 2019-07-02 at 6 06 55 PM

It is not super legible to have the contest rules centered:

Screen Shot 2019-07-02 at 6 07 54 PM

My proposal here is to:

  • Add a lede block for that home page content (this should also probably be a larger font size, but we can deal with that later)
  • Make the rest of the content on the site left-aligned by default

Performance improvement ideas

ran a webpagetest on the website https://www.webpagetest.org/result/190703_1S_27d8385dd468c46e0d30c7b16b92ff40/

three quick things which would speed up loading a lot:

  • add <link href="https://cdn.sanity.io/" rel="preconnect" crossorigin> to speed up downloading the main image (SSL negotiation takes a full 1.5 seconds) — see https://www.keycdn.com/blog/resource-hints for more about this — it’d be cool actually to add this to gatsby-source-sanity (and other source plugins with their own image API like Contentful) as this is a common problem.
  • add loading={"eager"} to the Img component so the image starts downloading before JS loads
  • add <link rel="preload" href="/static/ftn65-webfont-0ddc10d20bd3c3e162e4ea9b49c82856.woff2" as="font"> & <link rel="preload" href="/static/ftn45-webfont-c2439033a37a428d148b673062131f47.woff2" as="font"> to speed up font preloading

Set a max-height on the illustration

The illustration pushes all content off the screen on shorter viewports, so let's set a max-height of ~50vh on it to make sure people are able to see some content on every screen without scrolling.

Possible rule on theme submissions

So I was thinking that a good rule to be put in place for the ThemeJam is to maybe restrict previously made themes from being entered. I'm thinking this as themes have been in a beta state for a few months and with that, I wouldn't want people to have an advantage in this over someone who is just learning about Themes when the event begins.

cc: @jlengstorf @gillkyle

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.