Skip to content

Conversation

@Aritra203
Copy link
Collaborator

This pull request introduces a new "Events" feature to the application, including a dedicated events page, integration with the Sanity CMS, and updates to the navigation bar. It also adds several new dependencies to support the feature.

New Feature: Events Page

  • Added a new EventsPage component in app/Events/page.tsx to display a list of events fetched from the Sanity CMS. Includes a search bar for filtering events and animations using framer-motion.
  • Introduced the EventCard component within the same file for rendering individual event details, such as title, date, location, description, and an optional image.

Navigation Updates

  • Updated the navigation bar in app/NavBar/page.tsx to include a new "Events" menu item with an icon (CalendarSearchIcon). [1] [2]

Sanity CMS Integration

  • Created a new Sanity client in lib/sanity.ts to fetch data from the CMS using the @sanity/client library.

Dependency Additions

  • Added @sanity/client (v7.3.0) and @portabletext/react (v3.2.1) to package.json for CMS integration and rendering Portable Text content. [1] [2]
  • Updated pnpm-lock.yaml to reflect the new dependencies and their transitive dependencies, such as rxjs, eventsource, and get-it. [1] [2] [3]

These changes collectively enable the app to display and manage events dynamically, with a modern and interactive user interface.

@vercel
Copy link

vercel bot commented May 27, 2025

@Aritra203 is attempting to deploy a commit to the codingjunction's projects Team on Vercel.

A member of the Team first needs to authorize it.

@netlify
Copy link

netlify bot commented May 27, 2025

Deploy Preview for coding-junctionuit ready!

Name Link
🔨 Latest commit 8131b37
🔍 Latest deploy log https://app.netlify.com/projects/coding-junctionuit/deploys/683632aff4c0d70008be2674
😎 Deploy Preview https://deploy-preview-14--coding-junctionuit.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@coding-junction coding-junction merged commit aa7832d into coding-junction:main May 27, 2025
5 of 6 checks 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.

2 participants