Skip to content

[Site] Margins and paddings - #2

Merged
azz merged 2 commits into
azz:website-thingsfrom
orta:azz-website-things
Jan 15, 2018
Merged

azz merged 2 commits into
azz:website-thingsfrom
orta:azz-website-things

Conversation

@orta

@orta orta commented Jan 15, 2018

Copy link
Copy Markdown

Tweaks margins and paddings here and there

Comment thread website/pages/en/index.js
</ul>
<Button href={"/docs/" + language + "/why-prettier.html"}>
Why Else?
</Button>

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I take this one back, I want this link in here.

- "[PHP](https://github.com/prettier/prettier-php)"
- "[Swift](https://github.com/prettier/prettier-swift)"
- "[Java](https://github.com/thorbenvh8/prettier-java)"
- "[PostgreSQL](https://github.com/benjie/prettier-plugin-pg-sql/)"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is also a Ruby one: https://github.com/iamsolankiamit/prettier-ruby, but I'm not sure if we should we put unofficial plugins here.

@orta orta Jan 15, 2018 •

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Personally, I'm in favor of it - mainly from the perspective of highlighting that there's interesting things happening and to get people to work together. I do see the point of blessing things too early though.

@ikatyang

Copy link
Copy Markdown

Maybe we should truncate the id?

image

@orta

orta commented Jan 15, 2018

Copy link
Copy Markdown
Author

I wonder about using splitting on character for those cases, but that feels a bit meh. It is better than a broken layout though.

@sompylasar

Copy link
Copy Markdown

@orta Change to smaller icons (and font size?), like in the language support section.

@azz

azz commented Jan 15, 2018

Copy link
Copy Markdown
Owner

We already do, just might need to decrease the media breakpoint

@azz
azz merged commit f1abf0e into azz:website-things Jan 15, 2018
azz added a commit that referenced this pull request Feb 11, 2018
* Begin landing page revamp

* Break the editor integrations onto their own lines

* Add template string

* Add editor line breaks

* Make logo clickable

* Add more docs links

* Don’t split the editor list items into paragraphs

* Break plugin onto its own line

* Move the “Why” button to the bottom of the block

* Use suggested font

* Change font

* Change footer color

* Add assets from @orta

* Fix fonts

* Use new editor assets

* Add npm/yarn button

* Switch to npx

* Minor mobile tweaks

* Add dependants

* Lots of zeros are cooler to look at than a “k”

* Improve button sizes, respect prefers-reduced-motion

* Fixup media breakpoints for Get Started section

* Increase padding of editors

* CSS fixes from code review

* Prevent repeatedly clicking on the logo from selecting nearby text

* dependant -> dependent

* Various CSS tightening

* Set flex-basis on editors

* Add new languages panel

* Improve layout of languages

* Cleanup grouping code

* Fix users layout

* Fix language image widths

* space-evenly -> space-between

* Fix typo

* Remove unused var

* Various CSS fixes

* Set overflow-x: auto on code

* Improve languages layout

* Add silly cursor

* Make logo 'draggable'

* [Site] Margins and paddings (#2)

* [Site] Margins and paddings

* [Site] Bring back the link to why, that's a good guide worth linking to

* Improve logo mobile usage

* Improve responsive layout of editors

* Use static SVG for the moment (#3)

* Use the static logo for the moment

* Fix the broken JS, from going static, and make overscroll the right color

* Fix padding
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants