Skip to content

Unlock hardcore mode page#29

Merged
cytommi merged 27 commits intomainfrom
cytommi/hardcore-lock-screen
Apr 25, 2025
Merged

Unlock hardcore mode page#29
cytommi merged 27 commits intomainfrom
cytommi/hardcore-lock-screen

Conversation

@cytommi
Copy link
Copy Markdown
Collaborator

@cytommi cytommi commented Apr 23, 2025

Adds "unlock hardcore mode" page. Buttons currently don't do anything.

Desktop Mobile
Screenshot 2025-04-23 at 2 55 10 PM Screenshot 2025-04-23 at 2 55 28 PM

💸 TL;DR

📜 Details

Design Doc

Jira

🧪 Testing Steps / Validation

✅ Checks

  • CI tests (if present) are passing
  • Adheres to code style for repo
  • Contributor License Agreement (CLA) completed if not a Reddit employee

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Sneaking in product images with correct sizes in this PR

Copy link
Copy Markdown
Collaborator

@diego-codes diego-codes left a comment

Choose a reason for hiding this comment

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

A lot of my comments revolve around duplicative and unnecessary styles. Hopefully they'll help reduce number of classes used.

@diego-codes
Copy link
Copy Markdown
Collaborator

I forgot to mention:

  1. The padding on the purchase button looks off. The x-axis padding should be bigger.
  2. The spacing between the gold icon and text + their vertical alignment also looks off. They should be spaced out a bit more and visually vertically centered.

const { setModal } = useModal();

return (
<div className="bg-night flex min-h-screen items-center justify-center p-4 text-center font-sans">
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

request: There is already a Modal component in webview-common please use it here instead of creating a new type of modal.

Thomas Wang added 3 commits April 24, 2025 16:28
@cytommi cytommi requested a review from diego-codes April 25, 2025 18:59
@cytommi cytommi merged commit 1e294d9 into main Apr 25, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants