Skip to content

Feature/landing page#2

Merged
boytur merged 4 commits intomainfrom
feature/landing-page
Feb 16, 2025
Merged

Feature/landing page#2
boytur merged 4 commits intomainfrom
feature/landing-page

Conversation

@LordEaster
Copy link
Copy Markdown
Member

This pull request includes several updates and additions to the frontend of the project, focusing on UI components, dependencies, and the overall user experience. The most important changes include updating the package dependencies, adding new UI components, and modifying existing components for better functionality and appearance.

Dependency Updates:

  • Added several new dependencies to frontend/package.json and frontend/package-lock.json including @radix-ui/react-accordion, @radix-ui/react-avatar, @radix-ui/react-dialog, @radix-ui/react-tooltip, next-themes, and sonner. [1] [2] [3] [4] [5] [6] [7] [8] [9]

UI Components:

  • Added a new NavUser component in frontend/src/components/NavUser.tsx to display user information and options in a dropdown menu.
  • Added a new Polls and PollCard component in frontend/src/components/Polls.tsx to display a list of polls with detailed information.
  • Added a new Accordion component in frontend/src/components/ui/accordion.tsx using @radix-ui/react-accordion for collapsible content sections.

Component Modifications:

  • Updated Navbar component in frontend/src/components/Navbar.tsx to use the new NavUser component and removed old user authentication logic.
  • Updated App component in frontend/src/App.tsx to change the position of the Toaster component and import it from a different path. [1] [2]

Miscellaneous:

  • Changed the title in frontend/index.html from "Vite + React + TS" to "Poll".

@LordEaster LordEaster requested review from boytur and ohmjess February 16, 2025 18:27
@boytur boytur merged commit bce08bb into main Feb 16, 2025
@boytur boytur deleted the feature/landing-page branch February 17, 2025 07:09
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