BioDrop icon indicating copy to clipboard operation
BioDrop copied to clipboard

[Make the icons clickable]

Open harshcodesdev opened this issue 2 years ago β€’ 18 comments
trafficstars

Description

while visiting the LinkFree website I immediately clicked on icons but found out the Icons are not clickable but the text below is, so I request that we could make those icons clickable because it comes by Natural Human-instinct to click them.

Screenshots

Screenshot from 2023-01-11 16-33-04

Additional information

No response

harshcodesdev avatar Jan 11 '23 11:01 harshcodesdev

It's great having you contribute to this project

Welcome to the community :nerd_face:

If you would like to continue contributing to open source and would like to do it with an awesome inclusive community, you should join our Discord chat and our GitHub Organisation - we help and encourage each other to contribute to open source little and often πŸ€“ . Any questions let us know.

github-actions[bot] avatar Jan 11 '23 11:01 github-actions[bot]

How about making the whole card clickable along with the heading and the icons We can also have a hover box shadow on the whole card

Aadarsh805 avatar Jan 11 '23 16:01 Aadarsh805

that would be much better!

harshcodesdev avatar Jan 11 '23 17:01 harshcodesdev

Good idea πŸ‘ . This PR just got merged for the headings of that section, but the icon would be good - not sure if the whole card would work, someone would have to try

eddiejaoude avatar Jan 11 '23 18:01 eddiejaoude

Alright Thanks @eddiejaoude

harshcodesdev avatar Jan 11 '23 19:01 harshcodesdev

Keep it simple for now, let's keep moving forward often with little steps not slowly with big leaps - do the icon first and the card can come in another issue/pull request as it is probably more work

eddiejaoude avatar Jan 12 '23 09:01 eddiejaoude

can someone guide me on this issue? , I can't understand how to approach this one. @Aadarsh805 @ChinmayMhatre

harshcodesdev avatar Jan 15 '23 10:01 harshcodesdev

can someone guide me on this issue? , I can't understand how to approach this one. @Aadarsh805 @ChinmayMhatre

yes sure, you see here in the code image

the h3(the title of the cards: quickstart, links and all other) has a Link inside it, making it a link that will take us to thr href defined now we want the same thing for the icon above it, as we made h3 a link right there, we can do the same for the icon above this is in the path pages/index.js line around 410

I hope you got it, If you need further help, feel free to ask

Aadarsh805 avatar Jan 15 '23 11:01 Aadarsh805

Thanks @Aadarsh805 πŸ˜ƒ

harshcodesdev avatar Jan 15 '23 12:01 harshcodesdev

Keep it simple for now, let's keep moving forward often with little steps not slowly with big leaps - do the icon first and the card can come in another issue/pull request as it is probably more work

Sorry Eddie but I’m gonna veto this change to only do the icon first. It’s not good for accessibility to have two links side by side that go to the same place, it creates a lot of extra tab stops and noise.

EmmaDawsonDev avatar Jan 15 '23 18:01 EmmaDawsonDev

Thanks Emma for the great feedback πŸ‘

Could you clarify, are you suggesting not to make any changes at all or only to do part of it?

eddiejaoude avatar Jan 15 '23 18:01 eddiejaoude

Thanks Emma for the great feedback πŸ‘

Could you clarify, are you suggesting not to make any changes at all or only to do part of it?

Either keep it as the heading of the card that is the only link, or just go ahead and make the entire card a link

EmmaDawsonDev avatar Jan 15 '23 18:01 EmmaDawsonDev

The entire card would be better what do you think @eddiejaoude @Aadarsh805

harshcodesdev avatar Jan 15 '23 18:01 harshcodesdev

Thanks for the Amazing feedback @EmmaDawsonDev

harshcodesdev avatar Jan 15 '23 18:01 harshcodesdev

this is how it looks like when the whole card is the link

screen-capture (12).webm

Aadarsh805 avatar Jan 15 '23 18:01 Aadarsh805

This is more of a Subjective choice, Personally, I feel This one Looks better.

harshcodesdev avatar Jan 16 '23 06:01 harshcodesdev

Can you share a screenshot please, webp does work on safari

eddiejaoude avatar Jan 16 '23 08:01 eddiejaoude

Can you share a screenshot please, webp does work on safari

Here's a gif of the same video

screen-capture (12) might look a little blurry, it's because of the conversion

Aadarsh805 avatar Jan 16 '23 09:01 Aadarsh805

Is it possible to make the whole card clickable? if having 2 is not a good idea

eddiejaoude avatar Jan 18 '23 01:01 eddiejaoude

Hey @eddiejaoude, I have found a way to make the whole card clickable, just like in the video/gif. So, can I work on this?

Sriparno08 avatar Jan 22 '23 11:01 Sriparno08

Hey @eddiejaoude, I have found a way to make the whole card clickable, just like in the video/gif. So, can I work on this?

there is already a pr on this #3485

Aadarsh805 avatar Jan 22 '23 11:01 Aadarsh805

Alright, @Aadarsh805 πŸ‘

Sriparno08 avatar Jan 22 '23 11:01 Sriparno08

@Sriparno08 you can work buddy I'm really busy with my exams.

harshcodesdev avatar Jan 22 '23 15:01 harshcodesdev

Thanks bro πŸ‘

Hey @Aadarsh805, can I go ahead and make a PR as @HarshDeep61034 is busy right now?

Sriparno08 avatar Jan 22 '23 15:01 Sriparno08

Thanks bro +1

Hey @Aadarsh805, can I go ahead and make a PR as @HarshDeep61034 is busy right now?

sure

Aadarsh805 avatar Jan 22 '23 16:01 Aadarsh805

we can create a card component that can accept Heading, Paragraph, and Link so that it can be used anywhere we want

alokVerma749 avatar Jan 24 '23 14:01 alokVerma749