Closed Indrajeety993648 closed 2 months ago
@rithviknishad please assign this issue to me.
@rithviknishad
Could you please provide me with the Twitter URL for our company? I would like to update it in our footer component to ensure it reflects the correct information.
Added Twitter in it .
@Indrajeety993648
Not all orgs may have the required all social accounts. So let's show the social logo's only if that social's env value is defined.
So
@rithviknishad Thank you for clarifying the issue.
@rithviknishad I am unable to understand your point clearly. There is no Twitter_Url in the .env file, and you mentioned that if the link is not present, I should make it optional and not render the page. Additionally, there is no Twitter icon in the footer section, so I added a Twitter icon that does not render anywhere, as per your earlier instructions.
Could you please explain the problem in more detail so I can better understand it? I did my best to resolve the issue based on my understanding, but if you could clarify the feature you're requesting, it would greatly help me to address the issue correctly.
So, leaderboard is deployed by different organisations right to showcase their teams and contributors contributions. However, each org. would have a different set of social medias. Some may have twitter, some may not. Some may have youtube, some may not. And so on...
So, you've to define those env's in the env. schema here: https://github.com/coronasafe/leaderboard/blob/main/env.mjs
So that even if it is not defined in the .env
file, it'd be treated as an optional field.
Now in the footer section, you'll have to check if the particular env. is defined or not. Leaderboard should support showing each of the supported social media's if that corresponding env. value is defined.
@rithviknishad thank You for clarification , I'll work on according to that
Enter your suggestions in details:
Add Twitter to Connect
What I expected to happen
I expected to see a Twitter icon in the "Connect" section of the website footer, allowing users to connect with the organization via Twitter.
Our reason
Adding a Twitter icon/link would enhance the visibility of the organization's social media presence and provide an additional platform for users to stay updated and engage with the organization's content.
What I plan to do
current Connect Section