Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: infima 33 + navbar-sidebar close button #5460

Merged
merged 2 commits into from
Sep 1, 2021
Merged

Conversation

slorber
Copy link
Collaborator

@slorber slorber commented Sep 1, 2021

Motivation

Add close button to navbar-sidebar

For consistency, reused the close button from the announcement bar

(different stroke width compared to the hamburger but this doesn't feel like a big deal as buttons are in different places)

Have you read the Contributing Guidelines on pull requests?

yes

Test Plan

preview

Related PRs

facebookincubator/infima#174

@slorber slorber added the pr: new feature This PR adds a new API or behavior. label Sep 1, 2021
@slorber slorber requested a review from lex111 as a code owner September 1, 2021 15:12
@facebook-github-bot facebook-github-bot added the CLA Signed Signed Facebook CLA label Sep 1, 2021
@netlify
Copy link

netlify bot commented Sep 1, 2021

✔️ [V2]

🔨 Explore the source changes: 025f9c0

🔍 Inspect the deploy log: https://app.netlify.com/sites/docusaurus-2/deploys/612fb97028751d0008b6cadb

😎 Browse the preview: https://deploy-preview-5460--docusaurus-2.netlify.app

@github-actions
Copy link

github-actions bot commented Sep 1, 2021

⚡️ Lighthouse report for the changes in this PR:

Category Score
🟠 Performance 65
🟢 Accessibility 98
🟢 Best practices 100
🟢 SEO 100
🟢 PWA 95

Lighthouse ran on https://deploy-preview-5460--docusaurus-2.netlify.app/

@github-actions
Copy link

github-actions bot commented Sep 1, 2021

Size Change: +298 B (0%)

Total Size: 822 kB

Filename Size Change
website/build/assets/css/styles.********.css 93.9 kB +160 B (0%)
ℹ️ View Unchanged
Filename Size Change
website/.docusaurus/globalData.json 36.5 kB 0 B
website/build/assets/js/main.********.js 412 kB 0 B
website/build/blog/2017/12/14/introducing-docusaurus/index.html 66.8 kB +20 B (0%)
website/build/blog/index.html 37.7 kB +20 B (0%)
website/build/docs/index.html 44.7 kB +19 B (0%)
website/build/docs/installation/index.html 52.7 kB +19 B (0%)
website/build/index.html 30.4 kB +20 B (0%)
website/build/tests/docs/index.html 25 kB +20 B (0%)
website/build/tests/docs/standalone/index.html 22.6 kB +20 B (0%)

compressed-size-action

@lex111
Copy link
Contributor

lex111 commented Sep 1, 2021

Let's take icon from this PR facebookincubator/infima#174 instead of the current one if we decide to use same icon for both components. Since mobile navbar is always used (rather than announcement bar), it's better to have more appropriate to stylistically icon for it.

@slorber slorber merged commit 402a5e1 into main Sep 1, 2021
@slorber slorber deleted the slorber/infima-33 branch September 1, 2021 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Signed Facebook CLA pr: new feature This PR adds a new API or behavior.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants