Add newsletter block#40
Merged
Merged
Conversation
Implements a newsletter subscription form block for the recipe sidebar. The form includes an email input field and a Sign Up button with proper styling and responsive design. Features: - Email input field with focus states - Sign Up button with hover/active states - Description text with privacy policy links - Footer with privacy policy information - Light gray background (#f5f5f5) - Mobile responsive design (stacks form elements on small screens) - Form submission prevented (no-op for now) Closes #17 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
|
- Remove mobile responsive styles (sidebar is desktop-only) - Make input and button seamlessly connected with no gap - Input has rounded corners on left, button on right - Reduced padding and adjusted border radius for tighter fit - Removed border-right from input so it connects flush with button - Adjusted button font size to 12px for better proportion 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Remove wrapper div and append elements directly to block - Rename newsletter-form-wrapper to newsletter-form-element - Move flex layout styles to the .newsletter block itself - Simplifies DOM structure and avoids conflicts with section container/wrapper classes 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Implementation Details
Test Plan
Test URL
https://feature-newsletter-block--food-network--cloudadoption.aem.page/recipes/goulash-8670582
Check the sidebar to see the newsletter subscription form block.
Closes #17
🤖 Generated with Claude Code