-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Fix jetpack masterbar animations and missing icons #97128
Merged
CodeyGuyDylan
merged 1 commit into
trunk
from
fix/jetpack-masterbar-animations-and-missing-icons
Dec 6, 2024
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
...t/jetpack-cloud/sections/pricing/jpcom-masterbar/icons/jetpack-bundle-icon-newsletter.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
const NewsletterIcon = () => ( | ||
<svg width="58" height="59" viewBox="0 0 58 59" fill="none" xmlns="http://www.w3.org/2000/svg"> | ||
<title>Newsletter</title> | ||
<path | ||
className="jetpack-bundle-product-background" | ||
d="M0.977615 6.55556C0.977615 2.93502 3.91264 0 7.53317 0H52.4221C56.0426 0 58.9776 2.93502 58.9776 6.55556V51.4444C58.9776 55.065 56.0426 58 52.4221 58H7.53317C3.91264 58 0.977615 55.065 0.977615 51.4444V6.55556Z" | ||
fill="#2C3338" | ||
/> | ||
<path | ||
fillRule="evenodd" | ||
clipRule="evenodd" | ||
d="M18 22.3333C18 20.8606 19.1939 19.6667 20.6667 19.6667H39.3333C40.8061 19.6667 42 20.8606 42 22.3333V35.6667C42 37.1394 40.8061 38.3333 39.3333 38.3333H20.6667C19.1939 38.3333 18 37.1394 18 35.6667V22.3333ZM20.6667 21.6667H39.3333C39.7015 21.6667 40 21.9651 40 22.3333V23.5834L30.0001 31.0833L20 23.5833V22.3333C20 21.9651 20.2985 21.6667 20.6667 21.6667ZM20 26.0833V35.6667C20 36.0349 20.2985 36.3333 20.6667 36.3333H39.3333C39.7015 36.3333 40 36.0349 40 35.6667V26.0834L30.0001 33.5833L20 26.0833Z" | ||
fill="white" | ||
/> | ||
</svg> | ||
); | ||
|
||
export default NewsletterIcon; |
18 changes: 18 additions & 0 deletions
18
client/jetpack-cloud/sections/pricing/jpcom-masterbar/icons/jetpack-bundle-icon-stats.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
const StatsIcon = () => ( | ||
<svg width="58" height="59" viewBox="0 0 58 59" fill="none" xmlns="http://www.w3.org/2000/svg"> | ||
<title>Stats</title> | ||
<rect | ||
className="jetpack-bundle-product-background" | ||
x="0.977615" | ||
width="58" | ||
height="58" | ||
rx="6.09524" | ||
fill="#2C3338" | ||
/> | ||
<path d="M28.9776 19H30.9776V39H28.9776V19Z" fill="white" /> | ||
<path d="M21.9776 25.6667H23.9776V39H21.9776V25.6667Z" fill="white" /> | ||
<path d="M37.9776 31H35.9776V39H37.9776V31Z" fill="white" /> | ||
</svg> | ||
); | ||
|
||
export default StatsIcon; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice refactor! Using Scss @for loops!! 🙌
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can't take too much credit, I mostly copied from jetpack.com and I made the original, terrible, SCSS here 😆 But thank you!