Skip to content

fix(docs-infra): improve the layout/appearance of the "Press kit" page - #40945

Closed
gkalpak wants to merge 3 commits into
angular:masterfrom
gkalpak:fix-aio-styles-5
Closed

gkalpak wants to merge 3 commits into
angular:masterfrom
gkalpak:fix-aio-styles-5

Conversation

@gkalpak

@gkalpak gkalpak commented Feb 22, 2021 •

Copy link
Copy Markdown
Member

NOTE:
Along with #40427, #40704, #40802, #40881 and #40944, this PR concludes the effort to clean up and bring in the changes from #36045. Huge shout-out to @sjtrimble for the original work ❤️

Some layout/appearance improvements for the "Press kit" page:

fix(docs-infra): improve the layout and appearance of the "Press kit" page (click to expand)

This commit improves the layout and appearance of the "Press kit" page. Most notable changes include:

  • Center content and limit max width to 50em (which is 800px by default).
  • Remove uppercase transform for headings.
  • Use a two-column layout for icons (instead of one icon per row).
  • Show "download" icons next to download links.

Before (wide):

presskit page (wide) before

Before (narrow 1/2):

presskit page (narrow 1/2) before

Before (narrow 2/2):

presskit page (narrow 2/2) before

After (wide):

presskit page (wide) after

After (narrow 1/2):

presskit page (narrow 1/2) after

After (narrow 2/2):

presskit page (narrow 2/2) after

This change is based on code from #36045.

Co-authored-by: Stefanie Fluin [email protected]


fix(docs-infra): more clearly separate different sections on the "Press kit" page (click to expand)

This commit adds a horizontal line and some extra spacing between different sections of the "Press kit" page to make it easier to identify where one section ends and the next begins.

Before:

presskit sections before

After:

presskit sections after


fix(docs-infra): add links to glossary for terms on the "Press kit" page (click to expand)

The "Press kit" page has a "Terminology" section that lists a couple of terms (currently AOT and JIT compilation).

This commit adds links to the corresponding entries in "Glossary" to make it easier for people to find out what the terms mean.

gkalpak and others added 3 commits February 22, 2021 21:23
… page

This commit improves the layout and appearance of the "Press kit" page.
Most notable changes include:
- Center content and limit max width to 50em (which is 50px by default).
- Remove uppercase transform for headings.
- Use a two-column layout for icons (instead of one icon per row).
- Show "download" icons next to download links.

Before (wide): ![presskit page (wide) before][1]
Before (narrow 1/2): ![presskit page (narrow 1/2) before][2]
Before (narrow 2/2): ![presskit page (narrow 2/2) before][3]
After (wide): ![presskit page (wide) after][4]
After (narrow 1/2): ![presskit page (narrow 1/2) after][5]
After (narrow 2/2): ![presskit page (narrow 2/2) after][6]

This change is based on code from angular#36045.

[1]: https://user-images.githubusercontent.com/8604205/108739632-80d79900-753d-11eb-8ddc-ac542ec5b3ac.png
[2]: https://user-images.githubusercontent.com/8604205/108739641-82a15c80-753d-11eb-9b20-8119ad117460.png
[3]: https://user-images.githubusercontent.com/8604205/108739643-83d28980-753d-11eb-8afa-2d7a5e87d586.png
[4]: https://user-images.githubusercontent.com/8604205/108739638-8208c600-753d-11eb-99bb-ea119640de39.png
[5]: https://user-images.githubusercontent.com/8604205/108739642-8339f300-753d-11eb-9b25-5c1988adb1dd.png
[6]: https://user-images.githubusercontent.com/8604205/108739645-846b2000-753d-11eb-8ef3-b6a8b7c6d1ff.png

Co-authored-by: Stefanie Fluin <[email protected]>
…ss kit" page

This commit adds a horizontal line and some extra spacing between
different sections of the "Press kit" page to make it easier to identify
where one section ends and the next begins.

Before: ![presskit sections before][1]
After: ![presskit sections after][2]

[1]: https://user-images.githubusercontent.com/8604205/108739638-8208c600-753d-11eb-99bb-ea119640de39.png
[2]: https://user-images.githubusercontent.com/8604205/108745297-95b72b00-7543-11eb-9a35-56325477534b.png
The "Press kit" page has a "Terminology" section that lists a couple of
terms (currently AOT and JIT compilation).

This commit adds links to the corresponding entries in "Glossary" to
make it easier for people to find out what the terms mean.
@gkalpak gkalpak added type: bug/fix comp: docs-infra target: patch This PR is targeted for the next patch release labels Feb 22, 2021
@gkalpak gkalpak added this to the docs-infra-aio-app milestone Feb 22, 2021
@google-cla

This comment has been minimized.

@google-cla google-cla Bot added the cla: no label Feb 22, 2021
@mary-poppins

Copy link
Copy Markdown

@gkalpak gkalpak mentioned this pull request Feb 22, 2021
3 of 14 tasks
@gkalpak
gkalpak marked this pull request as ready for review February 22, 2021 19:44
@pullapprove
pullapprove Bot requested a review from aikithoughts February 22, 2021 19:44
@sjtrimble

This comment has been minimized.

@google-cla google-cla Bot added cla: yes and removed cla: no labels Feb 22, 2021

@petebacondarwin petebacondarwin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM!

Comment thread aio/src/styles/2-modules/_presskit.scss Resolved
@gkalpak gkalpak added the action: merge The PR is ready for merge by the caretaker label Feb 23, 2021
@pullapprove
pullapprove Bot requested a review from aikithoughts February 25, 2021 17:29

@aikithoughts aikithoughts left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Reviewed-for: global-docs-approvers

zarend pushed a commit that referenced this pull request Feb 26, 2021
… page (#40945)

This commit improves the layout and appearance of the "Press kit" page.
Most notable changes include:
- Center content and limit max width to 50em (which is 50px by default).
- Remove uppercase transform for headings.
- Use a two-column layout for icons (instead of one icon per row).
- Show "download" icons next to download links.

Before (wide): ![presskit page (wide) before][1]
Before (narrow 1/2): ![presskit page (narrow 1/2) before][2]
Before (narrow 2/2): ![presskit page (narrow 2/2) before][3]
After (wide): ![presskit page (wide) after][4]
After (narrow 1/2): ![presskit page (narrow 1/2) after][5]
After (narrow 2/2): ![presskit page (narrow 2/2) after][6]

This change is based on code from #36045.

[1]: https://user-images.githubusercontent.com/8604205/108739632-80d79900-753d-11eb-8ddc-ac542ec5b3ac.png
[2]: https://user-images.githubusercontent.com/8604205/108739641-82a15c80-753d-11eb-9b20-8119ad117460.png
[3]: https://user-images.githubusercontent.com/8604205/108739643-83d28980-753d-11eb-8afa-2d7a5e87d586.png
[4]: https://user-images.githubusercontent.com/8604205/108739638-8208c600-753d-11eb-99bb-ea119640de39.png
[5]: https://user-images.githubusercontent.com/8604205/108739642-8339f300-753d-11eb-9b25-5c1988adb1dd.png
[6]: https://user-images.githubusercontent.com/8604205/108739645-846b2000-753d-11eb-8ef3-b6a8b7c6d1ff.png

Co-authored-by: Stefanie Fluin <[email protected]>

PR Close #40945
zarend pushed a commit that referenced this pull request Feb 26, 2021
…ss kit" page (#40945)

This commit adds a horizontal line and some extra spacing between
different sections of the "Press kit" page to make it easier to identify
where one section ends and the next begins.

Before: ![presskit sections before][1]
After: ![presskit sections after][2]

[1]: https://user-images.githubusercontent.com/8604205/108739638-8208c600-753d-11eb-99bb-ea119640de39.png
[2]: https://user-images.githubusercontent.com/8604205/108745297-95b72b00-7543-11eb-9a35-56325477534b.png

PR Close #40945
zarend pushed a commit that referenced this pull request Feb 26, 2021
…age (#40945)

The "Press kit" page has a "Terminology" section that lists a couple of
terms (currently AOT and JIT compilation).

This commit adds links to the corresponding entries in "Glossary" to
make it easier for people to find out what the terms mean.

PR Close #40945
@zarend zarend closed this in 78a7049 Feb 26, 2021
zarend pushed a commit that referenced this pull request Feb 26, 2021
…ss kit" page (#40945)

This commit adds a horizontal line and some extra spacing between
different sections of the "Press kit" page to make it easier to identify
where one section ends and the next begins.

Before: ![presskit sections before][1]
After: ![presskit sections after][2]

[1]: https://user-images.githubusercontent.com/8604205/108739638-8208c600-753d-11eb-99bb-ea119640de39.png
[2]: https://user-images.githubusercontent.com/8604205/108745297-95b72b00-7543-11eb-9a35-56325477534b.png

PR Close #40945
zarend pushed a commit that referenced this pull request Feb 26, 2021
…age (#40945)

The "Press kit" page has a "Terminology" section that lists a couple of
terms (currently AOT and JIT compilation).

This commit adds links to the corresponding entries in "Glossary" to
make it easier for people to find out what the terms mean.

PR Close #40945
@gkalpak
gkalpak deleted the fix-aio-styles-5 branch February 26, 2021 17:03
@Splaktar

Splaktar commented Mar 2, 2021

Copy link
Copy Markdown
Contributor

This looks so much better! Thanks!

@angular-automatic-lock-bot

Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot Bot locked and limited conversation to collaborators Apr 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker cla: yes target: patch This PR is targeted for the next patch release type: bug/fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants