-
Notifications
You must be signed in to change notification settings - Fork 667
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Establish sponsor logo settings/guides #88
Comments
While not normally a fan of borders on images, I prefer them with the current layout. Because orgs have all different shapes and sizes of logos they tend to blend together or look jumbled if there's nothing consistent about them. |
Interestingly, in the new setup where the logos are consistent this might not be a thing. |
My vote is to keep all logos 100x100 with no border. We can handle any styling with the CSS. |
I also agree that there should be no borders on the images themselves. We will update docs to reference this. I'm keeping the issue open until the docs have been updated. |
Question to self - what docs do I think are supposed to be updated? I am not sure that our current docs say anything about the sponsor logo files (well the README says they have to be png and how to name them; I guess that's what I meant?) |
Should we be a little more explicit on the file format? We probably ought to specify dimensions (200px square. Images show as 100px square, but 200px will kick in for retina). Also, should we specify PNG-8 and run through something like ImageOptim? |
Right now the README (correctly) addresses the two most pressing concerns: how to get Hugo up and running, and how to set up a new event within the framework. Could we not just add some bullet points outlining the salient details surrounding the logos (i.e. size, format, no border)?
I don't world wide web that well. What sorcery is required to have images upscale to retina automagically? :) |
Retina is wonderful because it's lazy magic: You don't need to do anything other than send an image that's double the dimensions. Right now we're specifying logos as 95px wide in the html.
|
Ah, lovely! Proposals:
|
@jyee This appears to come in two flavours: OS X and a beta Web API, the former of which we can safely discard as a possibility. Are you familiar with the Web API - what's the user story look like there? |
I agree with the proposed README updates, @phrawzty. Make it so :) Regarding the ImageOptim thing, I would say let's add using something similar to the docs, but there really is no way we can "enforce" this. Personally, I do my optimizations with CodeKit2, but that's a Mac only story. I think that simply requesting folks use their own judgement on this one is fine, but it's a really good idea to put in some links to some good options for doing it. |
What is (or should be?) the canonical method for actually doing these two things? |
Those things are done in the core code of the site - events cannot actually do it themselves. So those two items don't need to be in the docs (other than as reference maybe?) |
Fair enough. I'll modify the documentation appropriately; that said, where should we be making these changes in the core code of the site? I'm not at all up to speed on Hugo or our implementation of it. |
This is where it would happen (at least this is where the sponsor images get drawn): This is where the CSS can be fixed: |
I can't help but notice that those links point to the "legacy" theme - are we using this theme throughout, or? Sorry if these are dumb questions. 😕 |
Yes, the "legacy" theme is the one that matches the "current" devopsdays website look and feel. The For reference: https://github.com/devopsdays/devopsdays-web/blob/master/config.toml#L1 https://github.com/devopsdays/devopsdays-web/blob/master/wercker.yml#L6 This commit is when it got merged |
Hi, @phrawzty - is this issue done? I ask because I don't see the CSS borders when building locally, although I do see them on github. |
@bridgetkromhout do you still not see the borders? I see them on http://devopsdays.github.io If you do correctly see the borders, we can close this issue as complete. |
@bridgetkromhout @mattstratton Yes, I see the CSS borders when building locally. |
Okay this seems to be working. |
Need to clarify a few things, and then update the code and the README to reflect.
Please discuss :)
The text was updated successfully, but these errors were encountered: