Closed RamRamez closed 1 week ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
giveth-dapps-v2 | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jun 21, 2024 11:38am |
The recent updates enhance the project by refining redirects in the configuration, bumping package version, and improving internationalization and layout styling in the components. Changes include a streamlined redirect configuration, version increment, dynamic localization of a message, adjusted sponsor banners, and improved styling for banners and sponsor displays.
Files | Change Summary |
---|---|
next.config.js |
Reorganized redirects based on isProduction , added redirect /qf to /qf/all , removed outdated redirects. |
package.json |
Updated version from "2.27.3" to "2.27.5". |
src/.../NoDonation.tsx |
Used localization function for the no donations message, updated JSX structure. |
src/.../ActiveQFProjectsBanner.tsx |
Removed H2 component, updated sponsor components, images, titles, and adjusted layout. |
src/.../common.ts |
Adjusted styling, introduced MiddleSponsors and BottomSponsors components. |
Amidst the code, I hopped and leaped,
Redirects shifted, promises kept. 🌐
Versions climbed from old to new, 📦
Messages now in every hue. 🌍💬
Sponsors bright in banners wide,
Changes made with pride.
Hop, skip, and code, through the verdant glide! 🐇✨
src/components/views/project/projectDonations/NoDonation.tsx
[error] 52-52: Change to an optional chain. (lint/complexity/useOptionalChain) Unsafe fix: Change to an optional chain.
src/components/views/project/projectDonations/NoDonation.tsx (1)
`41-45`: **Improve internationalization by using localization functions** The change to use `formatMessage` for displaying the message dynamically based on localization is a good enhancement for supporting multiple languages.src/components/views/projects/qfBanner/common.ts (3)
`13-14`: **Adjust padding for better visual appearance** Adjusting the padding for `BannerContainer` is a straightforward change that likely improves the spacing and visual layout of the component. --- `55-55`: **Update component styles for consistency and branding** The changes in colors and backgrounds align with a likely rebranding or design update. Ensure these color codes match the new design specifications. Also applies to: 60-66, 69-69 --- `168-172`: **Define new styled components for sponsor sections** The addition of `MiddleSponsors` and `BottomSponsors` styled components is appropriate for managing specific sponsor layouts. Ensure these components are used correctly in their respective contexts. Also applies to: 174-179src/components/views/projects/qfBanner/ActiveQFProjectsBanner.tsx (2)
`14-15`: **Utilize new styled components for sponsors** Integrating `BottomSponsors` and `MiddleSponsors` from the `common.ts` file helps maintain a modular and clean codebase. This is a good use of component separation. --- `162-171`: **Update sponsor information and images** The updates to sponsor data and images are likely part of the new QF sponsor addition. Double-check that all new images and titles are correctly referenced and displayed. Also applies to: 196-205next.config.js (1)
`106-110`: **Update redirect logic for improved navigation** The changes to the redirect rules, specifically adding a redirect from `/qf` to `/qf/all`, help streamline user navigation. Ensure this aligns with the intended user flow and application structure.
https://github.com/Giveth/giveth-dapps-v2/issues/4294#issuecomment-2181322840
Summary by CodeRabbit
New Features
/qf
to/qf/all
.Enhancements
ActiveQFProjectsBanner
with new sponsor layouts and styling.Bug Fixes
Chores