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

Reduce duplicated code for banners #749

Merged
merged 1 commit into from
Aug 11, 2024
Merged

Conversation

rauhul
Copy link
Contributor

@rauhul rauhul commented Jun 28, 2024

Unifies the banner and cta css styles used on multiple pages.

Moves the element to a common location so the it can be found in the
source easily and be reused across pages.

@@ -0,0 +1 @@
@import "elements/banner";
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note I plan on moving the grid elements from #742 into this folder

Unifies the banner and cta css styles used on multiple pages.

Moves the element to a common location so the it can be found in the
source easily and be reused across pages.
@rauhul
Copy link
Contributor Author

rauhul commented Jun 28, 2024

@swift-ci test

@dempseyatgithub
Copy link
Contributor

Do the cherry-picks in this PR include turning the banners on all the pages orange?

@rauhul
Copy link
Contributor Author

rauhul commented Jun 28, 2024

@dempseyatgithub nope, I split out the orange into a subclass(?) called ".banner.primary" which is only used on the home page right now.

@alexandersandberg alexandersandberg added the workgroup-to-discuss Issue/PR to be discussed by the SWWG in the next meeting label Jun 29, 2024
@shahmishal shahmishal removed the workgroup-to-discuss Issue/PR to be discussed by the SWWG in the next meeting label Jul 30, 2024
@kaishin
Copy link
Member

kaishin commented Aug 10, 2024

@rauhul Feel free to merge.

@rauhul
Copy link
Contributor Author

rauhul commented Aug 10, 2024

@kaishin unfortunately I cannot merge because I lost "write" and "push" access to this repo after the move to "swiftlang".

@swiftlang/contributor-experience how can I regain access?

@xedin
Copy link
Contributor

xedin commented Aug 11, 2024

@rauhul I think you want to reach out to the website workgroup on forums.

@rauhul
Copy link
Contributor Author

rauhul commented Aug 11, 2024

@rauhul I think you want to reach out to the website workgroup on forums.

Thanks I started a forum group dm!

@kaishin
Copy link
Member

kaishin commented Aug 11, 2024

Sorry @rauhul I wasn't aware. I will take care of merging in the meantime then 👍

@kaishin kaishin merged commit 8fa2eb9 into swiftlang:main Aug 11, 2024
1 check passed
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.

None yet

6 participants