Giter Site home page Giter Site logo

Page: News / Blog article about ceph.io HOT 4 CLOSED

ceph avatar ceph commented on August 17, 2024
Page: News / Blog article

from ceph.io.

Comments (4)

Pete-Robelou avatar Pete-Robelou commented on August 17, 2024

All done.

One thing I noticed was an aspect ratio descrepancy with some of the images on the currently populated blog posts. We've setup our hero image to be 16x9 so when it receives an image that's not 16x9 it will either be cropped if we use object-fit: cover or have borders top/bottom if we use object-fit: contain. It's not a deal breaker but something to keep in mind.

We need content for the Subscribe to Ceph Announcements panel at the bottom.

from ceph.io.

adamduncan avatar adamduncan commented on August 17, 2024

Good point re: aspect ratios. We'll have to see what we're working with across the blog posts that migrate over. We're bound to have a lot without images, and those that do could be varied in their ratios.

If it's unrealistic to shoehorn legacy content into the 16:9 container on the article pages, we might have to consider leaving those images free of their media-wrap constraints.

from ceph.io.

Pete-Robelou avatar Pete-Robelou commented on August 17, 2024

Good point re: aspect ratios. We'll have to see what we're working with across the blog posts that migrate over. We're bound to have a lot without images, and those that do could be varied in their ratios.

If it's unrealistic to shoehorn legacy content into the 16:9 container on the article pages, we might have to consider leaving those images free of their media-wrap constraints.

Agreed, let's see what assets comes through during content population. It'll be a shame to lose the lazy loading that comes with the media-wrap but it's not a deal breaker as the hero image is unlikely to need it and all the other assets will be within richtext so wouldn't be lazy loaded anyway.

We do need to keep in mind the images needed for the cards that appear on listing pages. We currently have a fallback placeholder built into the cards so if a blog post doesn't have an image we'll still see something in the card but this needs some consideration. This issue will apply to blog posts, case studies, events and press releases.

Will there be a pool of generic assets that we can use to populate cards when no image is supplied?

from ceph.io.

adamduncan avatar adamduncan commented on August 17, 2024

It'll be a shame to lose the lazy loading that comes with the media-wrap

I think even if we don't use the media-wrap, we can still apply loading="lazy" to the hero images as templated.

Will there be a pool of generic assets that we can use to populate cards when no image is supplied?

We need to discuss this in terms of design and production of these, but it's been flagged as a point to resolve, yep.

from ceph.io.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.