snap-cloud / SnapSite

[DEPRECATED] The old social website for the Snap! programming language/environment
GNU General Public License v3.0
9 stars 18 forks source link

See Code button on Indiv Projects on Grid views #113

Open ochan1 opened 3 years ago

ochan1 commented 3 years ago

Adds a button that goes directly to the Snap project code, just like the "See Code" button when going into the project page itself

image

ochan1 commented 2 years ago

If we used a lambda as our icon, we need to pay for it, unfortunately: https://fontawesome.com/v5.15/icons/lambda

cycomachead commented 2 years ago

I have a license. Or I used to. It could be worth it, but we can also turn our own lambda into an icon too.

brianharvey commented 2 years ago

Nonsense, there are a zillion free fonts that have lambdas. No reason to use fontawesome.

cycomachead commented 2 years ago

I mean sure but this is one of those things where spending something like $60 can be really worth it - fontawesome is a well built tool which has thousands for free icons that have tools that make it easy to build an accessible buttons and icons, but really I would just turn the current snap lambda into a font.

-- Michael Ball From my iPhone michaelball.co

On Nov 19, 2021, at 5:03 PM, Brian Harvey @.***> wrote:

 Nonsense, there are a zillion free fonts that have lambdas. No reason to use fontawesome.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

ochan1 commented 2 years ago

Yeah, I was also thinking the alternative was to import an icon from somewhere or design our own, forgot to mention that

I'll probably use the text version then or use the current lambda then

ochan1 commented 2 years ago

image Recent commit adds a Lambda icon as pictured by manually adding in a Lambda icon (similar to how the octagon is done) It uses the Unicode Lambda, with the current intention is a proof of concept, but looks good to be the final product (although it doesn't look very cartoony)

Is there a preference for Unicode Lambda or an icon Lambda?

brianharvey commented 2 years ago

Actually, why aren't we using the same eye that we use in the forum?

I don't have strong feelings about what image we use, but I do think it should be consistent across the site.

ochan1 commented 2 years ago

I didn't use the eye because we noticed that the eye was already used to show if the project was published, so we agreed to use a lambda to represent a button to see the code for that project on the Snap Runner

I assume you meant the eye located here btw in this page, https://forum.snap.berkeley.edu/t/topic-of-the-month-october-all-about-fish/8602/9: image

brianharvey commented 2 years ago

Yeah that's the one. Ask Michael if we can replace that one with a lambda. :)

ochan1 commented 2 years ago

@cycomachead Do you know where the code is located? Shouldn't be too bad of an addition, or can you add it?