Repository navigation
Closed
Labels
area:websiteIssues about the website (https://prettier.io), excluding the playgroundlocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.type:metaIssues about the status of Prettier, or anything else about Prettier itself
Description
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)
Current setup:
- Hero unit
- See animation
- 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%
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
Reacted by Lucas, Michaël De Boey, Kartik Lad, Tom Byrer, Dronca Raul, Qasim, Philipp Kief, Lucas Pereira, Fatih Altinok, Eduard Gilmutdinov and 6 more
Reacted by Lucas Duailibe, Christopher Chedeau, Pedro Vieira, Lucas, Ika, Michaël De Boey, Chris Rohlfs, Phoomparin Mano and Lucas Pereira
Reacted by Lucas, Alexandre Gaudencio, Mathias Gilson, Johann Hubert Sonntagbauer, Michaël De Boey, Lucas Azzola, Lucas Pereira, Marcel Cutts, Dominik Ferber, Lucas Duailibe and 2 more
Metadata
Metadata
Assignees
Labels
area:websiteIssues about the website (https://prettier.io), excluding the playgroundlocked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.type:metaIssues about the status of Prettier, or anything else about Prettier itself








Activity
azz commentedon Jan 7, 2018
orta commentedon Jan 7, 2018
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.
vjeux commentedon Jan 7, 2018
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.
vjeux commentedon Jan 7, 2018
We should also figure out the selling points of prettier. I think the big two are:
j-f1 commentedon Jan 7, 2018
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)
vjeux commentedon Jan 7, 2018
Would be nice to also get some really simple instructions on how to get started
j-f1 commentedon Jan 7, 2018
orta commentedon Jan 7, 2018
Yep, that'd be optimal
Agree, could be handled by the TRDR chunk being two sections on "what" and "why"
FWIW the
--initcame up before: #1258orta commentedon Jan 7, 2018
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/
j-f1 commentedon Jan 8, 2018
Looks really nice @orta! Just a few things:
#characters at the beginning of the headers don’t look very nice. Similarly, I’d prefer the normal bullet style ( • ).duailibe commentedon Jan 8, 2018
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
j-f1 commentedon Jan 8, 2018
@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).
duailibe commentedon Jan 8, 2018
Ah! In that case, I prefer the way it is on the picture but I don't really care either way :)
themre commentedon Jan 8, 2018
I would put languages in the "show me" section on top, also better for mobile.
orta commentedon Jan 8, 2018
Agree WRT splitting the plugin names 👍 :
orta commentedon Jan 8, 2018
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
orta commentedon Jan 8, 2018
The text illumination example seems to be built using GSAP Text Plugin another example looks like it has a pretty simple API
orta commentedon Feb 15, 2018
This is shipped, closing ❤️