Closed kkatusic closed 2 weeks ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
giveth-dapps-v2 | ❌ Failed (Inspect) | Jun 12, 2024 9:51am |
The change in ProjectIndex.tsx
introduces conditional rendering for the ProjectSocials
component based on the presence of social media handles in projectData
. If no social media handles are provided, the ProjectSocials
section will be hidden.
File | Change Summary |
---|---|
src/components/views/project/ProjectIndex.tsx |
Added conditional rendering to hide ProjectSocials if socialMedia is empty. |
sequenceDiagram
participant User
participant ProjectIndex
participant ProjectSocials
User->>ProjectIndex: Load Project Page
ProjectIndex->>ProjectIndex: Check socialMedia in projectData
alt socialMedia is not empty
ProjectIndex->>ProjectSocials: Render ProjectSocials
else socialMedia is empty
ProjectIndex->>ProjectSocials: Do not render ProjectSocials
end
Objective | Addressed | Explanation |
---|---|---|
Hide Social media section of project page if no social handles are added (#4264) | ✅ |
In the code, a change so neat,
Socials hide when incomplete.
Projects now look clean and fine,
With no empty links to pine.
A small tweak, a thoughtful deed,
For a better user feed. 🌟🐇
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Resolve #4264
@divine-comedian and @laurenluz this is pull request for social share options on project page.
Summary by CodeRabbit