defold / defold.github.io

www.defold.com
Other
11 stars 15 forks source link

Minor layout bug on the Showcase page #64

Open neonlifes opened 1 year ago

neonlifes commented 1 year ago

When viewing from a mobile device, in the second section of games with half width image, the image and text extend outside the right edge of the screen. Browser Firefox for Android, 1080x2400.

Screenshot_2023-03-20-16-33-0 5x

neonlifes commented 1 year ago

Also this is how it is displayed when the Platforms string is too long.

Screenshot_2023-03-20-18-33-0 5x

britzl commented 1 year ago

When viewing from a mobile device, in the second section of games with half width image, the image and text extend outside the right edge of the screen. Browser Firefox for Android, 1080x2400

Ah, yes, that doesn't look like a very responsive design... It does however render as expected in Chrome on Android. I haven't checked Safari yet.

when the Platforms string is too long

Hmm, I'll look into this.

neonlifes commented 1 year ago

when the Platforms string is too long

Hmm, I'll look into this.

Now displayed correctly. Thanks!

neonlifes commented 1 year ago

Hi @britzl Nice recent changes to the site, thanks for your work. I have a couple suggestions:

100%

80%

britzl commented 1 year ago

Thanks. Good feedback. The change was a bit rushed but we needed the change considering all of the new traffic coming to defold.com right now.

  • It might make sense to change the scale of some elements. For example I'm attaching screenshots. The first one is the default page, and as you can see, not all the information fits on the screen.

I wonder what the best approach is? Reduce the size always? Or use some kind of css media query?

  • Great idea to add the background from Void Scrappers. I think it would be nice to add some more backgrounds with good art that would alternate with each other.

I agree. We've already discussed this, but it will have to come as a second step. I'm thinking that the background image could be added to the game data (https://github.com/defold/awesome-defold/tree/master/games) and then we hand pick a number of games to alternate between.

neonlifes commented 1 year ago

I wonder what the best approach is? Reduce the size always? Or use some kind of css media query?

Oh, I guess my knowledge is not enough to suggest anything. Just reducing the size is probably not the best option, as you need to check on different resolutions and aspect ratios. I unfortunately only tested on 13'' 16:10 with 2560x1600.

I agree. We've already discussed this, but it will have to come as a second step. I'm thinking that the background image could be added to the game data (https://github.com/defold/awesome-defold/tree/master/games) and then we hand pick a number of games to alternate between.

Yeah, that's what I meant. The main thing is that there are beautiful games to choose from 😊

britzl commented 1 year ago

I've reduced the font size of the tag line and main links slightly.

neonlifes commented 1 year ago

I've reduced the font size of the tag line and main links slightly.

Thanks @britzl This looks closer to the desired result. mainpage

neonlifes commented 5 months ago

I'll add one more note to this topic. On the asset page, the "hero" image does not adapt well to the screen resolution. Here are two screenshots of the Def Video Ads asset for clarity. As you can see, in the mobile version the image is cropped and only a part in the center is visible. It would be nice to have the full image displayed at any resolution. As an example, on the Showcase page “full” images look the same in both desktop and mobile versions.

Asset page - desktop

asset-desktop

Asset page - mobile

asset-mobile

Showcase page - desktop

showcase-desktop

Showcase page - mobile

showcase-mobile