Skip to content

Conversation

jaiswalsachin49
Copy link

Closes #1934

This PR converts the sponsorship page from CSS modules to TailwindCSS utility classes.

Changes:

  • Removed sponsorship.module.css file
  • Converted all CSS classes to TailwindCSS utilities
  • Maintained the same visual appearance
  • Build passes successfully

This addresses the beginner-friendly issue for migrating styles to TailwindCSS.

- Convert CSS modules to equivalent TailwindCSS utility classes
- Remove sponsorship.module.css file
- Replace constrainDimensions styles with max-w-[350px] h-[250px] justify-start
- Convert badgeFormat styles to text-2xl font-medium mt-6
- Replace custom gold/silver/bronze colors with TailwindCSS equivalents
- Replace paragraphFormat with px-8 utility class
- Update topMargin to use mt-4 instead of custom CSS

Fixes OperationCode#1934
Copy link

vercel bot commented Sep 11, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
operation-code Ready Ready Preview Comment Sep 16, 2025 9:21am
storybook Ready Ready Preview Comment Sep 16, 2025 9:21am

@kylemh
Copy link
Member

kylemh commented Sep 11, 2025

Copy link

cypress bot commented Sep 11, 2025

operation_code    Run #4969

Run Properties:  status check passed Passed #4969  •  git commit 9ec675ac5e: Merge branch 'main' into main
Project operation_code
Branch Review pull/1947
Run status status check passed Passed #4969
Run duration 03m 30s
Commit git commit 9ec675ac5e: Merge branch 'main' into main
Committer Sachin
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 1
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 25
View all changes introduced in this branch ↗︎

</p>
</Card>,
<Card className={styles.constrainDimensions}>
<Card className="justify-start max-w-[350px] h-[250px]">
Copy link
Member

Choose a reason for hiding this comment

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

can you do the next nearest non-arbtrary values? so max-w-xs and h-64

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.

Replace Sponsorship page styles with TailwindCSS
2 participants