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

Replace home page banner image #989

Merged
merged 6 commits into from
Jul 23, 2024
Merged

Replace home page banner image #989

merged 6 commits into from
Jul 23, 2024

Conversation

gilgongo
Copy link
Member

@gilgongo gilgongo commented Jun 6, 2024

This was briefly suggested with mild agreement a while ago: to show a screenshot of Jamulus on the home page so as to give people a better idea of what to expect.

Does this need translation?

YES

(since the screenshot could be in other languages)


image

iPhone 12 Pro:

image
image

Checklist

  • I've verified that this Pull Request follows the general code principles
  • I waited some time after this Pull Request was opened and all GitHub checks completed without errors.
  • I'm sure that this Pull Request goes to the correct branch

@gilgongo gilgongo added this to the Release 3.11.0 milestone Jun 6, 2024
@gilgongo gilgongo self-assigned this Jun 6, 2024
@gilgongo gilgongo marked this pull request as ready for review June 6, 2024 17:09
@pljones
Copy link
Contributor

pljones commented Jun 21, 2024

Could you also post both landscape and portrait mobile browser screenshots, please?

@pljones
Copy link
Contributor

pljones commented Jul 13, 2024

@jamulussoftware/designers @jamulussoftware/translators @jamulussoftware/maindevelopers
Are we okay to merge this? If so, please approve.

@@ -81,3 +81,21 @@ body.is-os-other #quick_dl_container a.os-other {
transition: 0.4s;
opacity: 0.9;
}

figure {
Copy link
Member

Choose a reason for hiding this comment

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

I'd prefer a separate class for this image instead of styling the whole figure.

Copy link
Member Author

Choose a reason for hiding this comment

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

Note sure I know how to do that properly. Can you give an example?

Copy link
Member

Choose a reason for hiding this comment

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

For the figure in question add a class attribute: class="sth" then use the sth class in css

Copy link
Member Author

Choose a reason for hiding this comment

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

To have the style for the figure part of the class, you mean? Would we not do that for all figures though? I didn't want to change too much with this PR (there is also #673 BTW which may be related)

Copy link
Member

Choose a reason for hiding this comment

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

I mean if you think that it's for all figures put it into fw.css not home.css.

I'd just assume that you may not want the exact same styling for each figure?
Maybe the center alignment is different? If you're sure that you want to apply this for each figure element, then go for it. But not in home.css

Copy link
Member Author

Choose a reason for hiding this comment

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

I didn't intend this to be a global figure style change, but I'm also not sure why the figure isn't styled the same as the others unless I duplicate the the figure in home.css. Anyway, I'll change that so it just has a class to center the text.

Copy link
Member

Choose a reason for hiding this comment

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

Probably this has to do with the order in which the css files get loaded. home.css is strictly only for what happens on the home page while fw.css is integrated everywhere.

</a>
<figure>
<a href="wiki/Getting-Started" rel="canonical">
<img src="{% include img/en-screenshots/main-screen-medium.inc %}" style="border: 5px solid grey;" id="jamulusbanner" loading="lazy" alt="A screenshot of the main mixer window showing five people from different countries connected.">
Copy link
Member

Choose a reason for hiding this comment

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

Also add the solid gray border thing either in a separate class or add figure>img rule in the css

Copy link
Member

@ann0see ann0see left a comment

Choose a reason for hiding this comment

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

The naming should be a bit more expressive...

assets/css/home.css Outdated Show resolved Hide resolved
wiki/en/misc/1-index.md Outdated Show resolved Hide resolved
gilgongo and others added 2 commits July 21, 2024 23:23
Co-authored-by: ann0see <[email protected]>
Co-authored-by: ann0see <[email protected]>
Copy link
Member

@ann0see ann0see left a comment

Choose a reason for hiding this comment

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

Still the inline css is a bit questionable. Approving anyway.

@ann0see ann0see merged commit c270fd2 into next-release Jul 23, 2024
1 check passed
@ann0see ann0see deleted the homepage-img branch July 23, 2024 20:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants