Skip to content

WIP Homepage design thread #3669

Closed
Closed

Description

@orta

We're looking for someone to implement this design BTW See #3718

I started looking at a homepage design after this tweet (and the subsequent thread)

prettier-homepage

Current setup:

  • Hero unit
  • Prettier TLDR unit
    • would like to iterate more here, are these the right tenets of prettier?
    • could there be another way to show this?
  • Prettier examples for different langs etc
    • Some langs might not be available for example (swift/python)
  • Prettier integrations
  • Very simple getting started
    • This is basically the 90% use case
  • People use prettier
    • GH says 50k repos - worth a mention?
    • I fleshed it to 8 by adding danger + storybooks
    • white feels eye-catching when zoomed out, but feels alright when eat 100%

Sketch doc

Note: I kept in a light border so that I can measure the edges (1000px) regardless of how width the browser.

Will update this thread and add comments as I expand on this

Old drafts.

First shot:

prettier_home

Second

prettier-home

Third

wip-prettier-2

Fourth

prettier-homepage

Fifth

prettier-homepage

Sixth

prettier-homepage

This is really filling out my artsy-themed logos repo. screen shot 2018-01-07 at 1 19 39 pm

Activity

  1. azz commented on Jan 7, 2018

    @azz
    Member

  2. added
    area:website
    type:meta
    on Jan 7, 2018
  3. orta commented on Jan 7, 2018

    @orta
    ContributorAuthor

    Idea: A section that lets you easily preview a before and after example for the different filetype/formats that prettier supports. It can be read-only, so just would need a nice example of unformatted code for all of the different options currently listed which can be then be ran through prettier on deployment and saved into the file.

    screen shot 2018-01-07 at 12 34 50 pm

  4. vjeux commented on Jan 7, 2018

    @vjeux
    Contributor

    Random idea: the text illumination animation from this tweet looks pretty cool. Could do something like this for the before/after unit.
    https://twitter.com/sarah_edo/status/948219340096024576

    Could also auto transition between the two via this animation so you don't have to click on the button. Same for between multiple languages.

  5. vjeux commented on Jan 7, 2018

    @vjeux
    Contributor

    We should also figure out the selling points of prettier. I think the big two are:

    • (personal) don’t spend time formatting code when it can be done on save
    • (team) don’t spend time arguing and fixing lint rules about style
  6. j-f1 commented on Jan 7, 2018

    @j-f1
    Member

    I really like how Babel’s website has a demo on the front page that’s also a stripped-down version of the playground.

    ... what if we made a JS API for the playground, and used it in other places? (like the docs homepage and the ignore docs)

  7. vjeux commented on Jan 7, 2018

    @vjeux
    Contributor

    Would be nice to also get some really simple instructions on how to get started

  8. j-f1 commented on Jan 7, 2018

    @j-f1
    Member
    $ yarn add --dev prettier
    $ # TODO:
    $ yarn prettier --init
    - Analyzing source files...
    - Detected style:
      - single quotes
      - no semicolons
      - trailing commas everywhere
      - bracket spacing enabled
    - wrote .prettierrc.yml
    $ yarn prettier
  9. orta commented on Jan 7, 2018

    @orta
    ContributorAuthor

    ... what if we made a JS API for the playground, and used it in other places? (like the docs homepage and the ignore docs)

    Yep, that'd be optimal

    We should also figure out the selling points of prettier.

    Agree, could be handled by the TRDR chunk being two sections on "what" and "why"

    screen shot 2018-01-07 at 1 57 36 pm

    FWIW the --init came up before: #1258

  10. orta commented on Jan 7, 2018

    @orta
    ContributorAuthor

    OK, I've left my 6th iteration up in the sketch and updated the issue above. It's getting close enough that this structurally feels pretty solid for me ( I didn't add the footer, but that'd stay the same as the rest of the site in the same way the header is )

    Also @sandhose has got really far on the animating logo: https://sandhose.github.io/prettier-animated-logo/

  11. j-f1 commented on Jan 8, 2018

    @j-f1
    Member

    Looks really nice @orta! Just a few things:

    • I feel like the # characters at the beginning of the headers don’t look very nice. Similarly, I’d prefer the normal bullet style ( • ).
    • Could you put each editor integration on its own line next to the editor icon?
    • The current search bar feels a little out of place. Would it fit in better if it was hidden under a button (like Babel) or identified with an underline instead of a background (like ESLint)?
  12. duailibe commented on Jan 8, 2018

    @duailibe
    Collaborator

    I prefer the editor names on the side of the icons.

    As for the header, I believe @orta said he didn't change anything on that, or the footer. I'm not sure docusaurus lets you change that anyway

  13. j-f1 commented on Jan 8, 2018

    @j-f1
    Member

    @duailibe I was suggesting that the plugin names be split onto their own lines (like Atom’s in the picture above), instead of being strung together on one line (like Vim’s).

  14. duailibe commented on Jan 8, 2018

    @duailibe
    Collaborator

    Ah! In that case, I prefer the way it is on the picture but I don't really care either way :)

  15. themre commented on Jan 8, 2018

    @themre

    I would put languages in the "show me" section on top, also better for mobile.

  16. orta commented on Jan 8, 2018

    @orta
    ContributorAuthor

    Agree WRT splitting the plugin names 👍 :

    screen shot 2018-01-08 at 9 14 58 am

  17. orta commented on Jan 8, 2018

    @orta
    ContributorAuthor

    I would put languages in the "show me" section on top, also better for mobile.

    I don't want to list all of them, there's too many and it's ever evolving, perhaps a subheading with an overview could work

    screen shot 2018-01-08 at 9 16 44 am

  18. orta commented on Jan 8, 2018

    @orta
    ContributorAuthor

    The text illumination example seems to be built using GSAP Text Plugin another example looks like it has a pretty simple API

  19. orta commented on Feb 15, 2018

    @orta
    ContributorAuthor

    This is shipped, closing ❤️

  20. added
    locked-due-to-inactivity
    on Jul 5, 2018
  21. locked as resolved and limited conversation to collaborators on Jul 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:websitelocked-due-to-inactivitytype:meta

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions