Closed Karitchi closed 2 weeks ago
This pull request introduces a feature for adding announcements to the application and includes various UI and layout changes. Key changes include:
Add Announcement Feature:
app/admin/page.jsx
app/lib/serverActions.jsx
joi
app/ui/
AddAnnounceButton.jsx
AddAnnounceInputs.jsx
Title.jsx
UI/Styling Enhancements:
app/globals.css
app/layout.js
Dosis
Database Schema Changes:
initialize_db.sql
announcements
VARCHAR(1000)
TEXT
File Changes:
GeistMonoVF.woff
GeistVF.woff
public/icons/save.svg
sonner
This PR implements a significant feature for managing announcements and improves the overall styling and user experience.
This pull request introduces a feature for adding announcements to the application and includes various UI and layout changes. Key changes include:
Add Announcement Feature:
app/admin/page.jsx
):app/lib/serverActions.jsx
):joi
validation library for data validation.app/ui/
):AddAnnounceButton.jsx
: A button component with a save icon.AddAnnounceInputs.jsx
: Form inputs for title, description, and author.Title.jsx
: A component to display the title of the page.UI/Styling Enhancements:
app/globals.css
):app/layout.js
):Dosis
), applied globally to the layout for consistency.Database Schema Changes:
initialize_db.sql
):announcements
table to useVARCHAR(1000)
for the body instead ofTEXT
.File Changes:
GeistMonoVF.woff
,GeistVF.woff
) and replaced them with Google Fonts.public/icons/save.svg
) for the add announcement button.Dependencies:
joi
: Added for form validation.sonner
: Added for toast notifications.Impact:
Notes:
This PR implements a significant feature for managing announcements and improves the overall styling and user experience.