CheatSheets-for-Developers icon indicating copy to clipboard operation
CheatSheets-for-Developers copied to clipboard

Updating UI/UX of the website

Open aryanprince opened this issue 2 years ago • 7 comments

Design Ideas

  • Fix casing for the buttons on homepage since all of them now just use Title Case
  • Add small logos of the language/framework to the left of the buttons
Before After

Some minor changes

  • #223 ~~Add 2 columns on larger viewports so you don't have to scroll as much~~
  • #223 ~~Make the description sentence case~~
Before After
image image

@aryankashyap7 @Dhravya Thoughs?

aryanprince avatar Oct 31 '22 16:10 aryanprince

Yeah. good ideas actually. We could do it

It would be hard to maintain the logos though. How would that work? https://devicon.dev/ has a lot of them, but for things like Competitive programming, where there's no particular icon, what do we do?

BTW, the longer viewports is already done (It's 3 column now, and decreases with device)

Dhravya avatar Nov 01 '22 12:11 Dhravya

Yeah, I was hoping we could use https://devicon.dev/.

Not sure about the competitive programming ones, maybe we use the language logo + find a generic logo from https://icons8.com/ or something to indicate it's for 'competitive programming'.

@Dhravya And what about the casing of the buttons? I think rn you just take the names of the .md files and just make it title case yeah?

aryanprince avatar Nov 01 '22 15:11 aryanprince

Ok let's do it then. The icon has to be specified somewhere... or fetched automatically, and if not present, show some random icon? So like..

https://cdn.jsdelivr.net/gh/devicons/devicon/icons/javascript/javascript-original.svg svg

https://cdn.jsdelivr.net/gh/devicons/devicon/icons/cpp/cpp.svg svg Over here... the name cpp is cplusplus... hmm... im not sure how that can be handled. Any idea?

Dhravya avatar Nov 01 '22 16:11 Dhravya

@nexxeln Thoughts?

aryanprince avatar Nov 02 '22 09:11 aryanprince

@Dhravya A few more bugs showing up now

  • Weird spacing for buttons
  • Tiny purple lines visible on some buttons image

aryanprince avatar Nov 02 '22 09:11 aryanprince

Yes that's something to fix

also maybe the text inside buttons should be justified to center

would you like to take this issue?

Dhravya avatar Nov 02 '22 10:11 Dhravya

Yeah, I'll have a look

aryanprince avatar Nov 02 '22 11:11 aryanprince