Skip to content
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

Add image to readme #694

Merged
merged 2 commits into from
Dec 9, 2016
Merged

Add image to readme #694

merged 2 commits into from
Dec 9, 2016

Conversation

MaxLeiter
Copy link
Member

@MaxLeiter MaxLeiter commented Oct 15, 2016

@@ -6,6 +6,9 @@
[![devDependency Status](https://david-dm.org/thelounge/lounge/dev-status.svg)](https://david-dm.org/thelounge/lounge?type=dev)

# The Lounge
<p align="center">
<img src="https://sr.ht/s8rn.png" width="728" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can use a screenshot from our website instead of using third party, https://github.com/thelounge/thelounge.github.io/tree/master/img/screenshots

@astorije
Copy link
Member

I think it's way too big on our README. Since it's clickable, can you make it 400px at most please?

@MaxLeiter
Copy link
Member Author

@astorije 400px height and current width?

@astorije
Copy link
Member

Ah, sorry I didn't pay attention. 400px width, don't specify height so HTML applies the height while keeping source ratio.

@@ -6,6 +6,9 @@
[![devDependency Status](https://david-dm.org/thelounge/lounge/dev-status.svg)](https://david-dm.org/thelounge/lounge?type=dev)

# The Lounge
<p align="center">
<img src="https://raw.githubusercontent.com/thelounge/thelounge.github.io/master/img/screenshots/example_css.png" width="550" />
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not directly https://thelounge.github.io/img/screenshots/example_css.png?
Also, <nitpick>there is no trailing slash on img elements in HTML5 :D</nitpick>.

Finally, add a new line between # The Lounge and the p element, some Markdown parsers (like npm's one at one point, not sure if still true) don't like that too much.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, there is no trailing slash on img elements in HTML5 :D.

The spec doesn't say anything about the usage of self-closing tags for void elements though afaik. <img /> and <img> are both valid and are equal.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's valid, yes, but validity of the self-closing version has only been kept because of how widespread it is right now. Also, old habits die hard :)
I'd still argue <img> is the more correct way to write it of both, but that's definitely a nitpick. (Surprisingly, while Chrome converts them all to <br> in its dev console, Firefox uses <br></br> which is probably the least human-readable form for it lol...)

@astorije astorije added Type: Feature Tickets that describe a desired feature or PRs that add them to the project. Type: Documentation Lack of documentation, improvement suggestion, or PRs that address these. labels Oct 17, 2016
@astorije astorije added this to the 2.2.0 milestone Oct 17, 2016
@astorije astorije self-assigned this Oct 17, 2016
@astorije
Copy link
Member

Ping?

@maxpoulin64
Copy link
Member

Hmm, shouldn't we use a not so outdated screenshot? It's even got the old Shout square buttons, the old nick colors and no room topic!

I also think it could be a good idea to avoid showing nicks and IRC networks to avoid unexpectedly bring traffic to those servers/channels from people coming in and saying "Came here from Lounge!" and disrupting the usual conversations there.

A quick idea to make it not be so empty and not so big could be to have a screenshot in kind of a banner format, a bit like this, maybe even less tall:

capture d ecran_2016-10-22_18-49-23

@MaxLeiter
Copy link
Member Author

Do you think I should use that specific screenshot, @maxpoulin64?

@maxpoulin64
Copy link
Member

@MaxLeiter: I guess we can. Maybe cut the window borders and add a bit of a shadow/gradient but I'm fine with it as-is

@astorije
Copy link
Member

Let's go for it as is. We'll change it later if needs be.
@MaxLeiter, you can use https://cloud.githubusercontent.com/assets/5481612/19623041/9bbaec40-9888-11e6-9961-8f3e0493ba30.png as the URL for this, at least for now.

@xPaw
Copy link
Member

xPaw commented Nov 19, 2016

Can you remove width attribute and squash it?

@astorije
Copy link
Member

Can you remove width attribute

Image width is 793px, don't you find it too wide without the width attribute?

@MaxLeiter
Copy link
Member Author

don't merge this - I have an idea for a better image (gif fading between themes)

@xPaw
Copy link
Member

xPaw commented Dec 2, 2016 via email

@MaxLeiter
Copy link
Member Author

MaxLeiter commented Dec 2, 2016

Something like this @xPaw ? (Rough draft, will be slower and smaller)

https://sr.ht/CfGf.gif

@xPaw
Copy link
Member

xPaw commented Dec 2, 2016 via email

@MaxLeiter
Copy link
Member Author

Is there a nice way to show multiple themes? We ship with default but I know a lot of people like Morning.

@xPaw
Copy link
Member

xPaw commented Dec 2, 2016 via email

@williamboman
Copy link
Member

I like the gif

Copy link
Member

@astorije astorije left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Honestly, this is good enough. We can go crazy later :)

@astorije
Copy link
Member

astorije commented Dec 9, 2016

Alright, @MaxLeiter is OK with this, we can make it all fancy later :)
Merging.

@astorije astorije merged commit 085ede4 into thelounge:master Dec 9, 2016
matburnham pushed a commit to matburnham/lounge that referenced this pull request Sep 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Documentation Lack of documentation, improvement suggestion, or PRs that address these. Type: Feature Tickets that describe a desired feature or PRs that add them to the project.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants