Skip to content

Newsletter page #298

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

Samridha0305
Copy link
Contributor

Fixes #231
Major Features Implemented

Search Functionality
Real-time search on title, tags, and author.
Graceful fallback with "No results found" message.

Tag Filtering
Interactive tag filter in sidebar.
Smooth animated selection with badge counts.
Collapsible tag list with +X more and tooltip/expander.

Sidebar Improvements
Fully collapsible sidebar (horizontal + vertical).
Hide/Show filters expands content to full screen.
Elegant toggle button with transition and icons.

Sorting Options
Latest, Popular, Oldest
Animated and highlighted with active state.

Like Button
Like/unlike feature with count update.
Saved state maintained with localStorage.

Save for Later
Save/Unsave newsletters.
LocalStorage persistence.
Show Saved Only toggle button added in sidebar.

Share to Social Media
Share to: LinkedIn, Twitter/X, WhatsApp
).
UI/UX Enhancements
Cards redesigned with:

Shadow on hover,spacing,Tooltip support
Subtle hover transitions and scaling

Technical Stack
React + TypeScript
Tailwind CSS for styling
Custom hooks for LocalStorage
Modular Components: NewsletterCard, NewsletterSidebar, etc.

Files Modified
index.tsx – Main logic + search + layout
NewsletterCard.tsx – Design & action buttons
NewsletterSidebar.tsx – Tag filtering, Save toggle, collapsibility
useLocalStorage.ts – Hook for like/save state
posts.ts – Demo content with placeholder images

Future Suggestions
Add backend for newsletter content.
Use Algolia/Fuse.js for fuzzy search.
Add animation with Framer Motion.
Improve accessibility with screen reader support.

Checklist

  • [ *] My code follows the style guidelines of this project.
  • [ *] I have tested my changes across major browsers/devices
  • [* ] My changes do not generate new console warnings or errors , I ran npm run build and attached scrrenshot in this PR.
  • [* ] This is already assigned Issue to me, not an unassigned issue.
image image image image

also checked npm run build (no error)
Copy link

vercel bot commented Aug 10, 2025

@Samridha0305 is attempting to deploy a commit to the recode Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. The estimated time for response is 5–8 hrs.

In the meantime, please provide all necessary screenshots and make sure you run - npm build run , command and provide a screenshot, a video recording, or an image of the update you made below, which helps speed up the review and assignment. If you have questions, reach out to LinkedIn. Your contributions are highly appreciated!😊

Note: I maintain the repo issue every day twice at 8:00 AM IST and 9:00 PM IST. If your PR goes stale for more than one day, you can tag and comment on this same issue by tagging @sanjay-kv.

We are here to help you on this journey of open source. Consistent 20 contributions are eligible for sponsorship 💰

🎁 check our list of amazing people we sponsored so far: GitHub Sponsorship. ✨

📚Your perks for contribution to this community 👇🏻

  1. Get free Consultation use code recode50 to get free: Mentorship for free.

  2. Get the Ebook for free use code recode at checkout: Data Science cheatsheet for Beginners.

  3. Check out this weekly Newsletter: Sanjay's Newsletter.

If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

Copy link

vercel bot commented Aug 10, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
recode-website ❌ Failed (Inspect) Aug 10, 2025 11:55pm

@sanjay-kv
Copy link
Member

Hey im sorry ,

it keeps failing
image

@Samridha0305
Copy link
Contributor Author

Samridha0305 commented Aug 11, 2025

Hey im sorry ,

it keeps failing image

Can you please tell me what can be the possible reason of this failure..so thatbi can fix it?

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.

Create a Newsletter page
2 participants