You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 6, 2021. It is now read-only.
We'd like to add a carousel showcasing our supporting organisations just before the footer (I'd say on the homepage only, maybe) If we don't have the logo for a supporter we should fallback to text
Then, of course, us that to generate the list in acknowledgements.md as well as the new carousel.
You can look at how this is done in templates/footer.yml
Possibly make the acknowledgements.md page a grid or use the carousel there too.
Then I'd be interested in doing this with only css if possible using things like scroll-snap-type, but with that auto-scroll might be difficult so it might make more sense to make an animation with keyframes, or give in and do the scrolling with js
CSS Tricks has god articles on both these approaches
We'd like to add a carousel showcasing our supporting organisations just before the footer (I'd say on the homepage only, maybe) If we don't have the logo for a supporter we should fallback to text
I would envision doing it as follows:
extract
content/pages/acknowledgements.md
into a YAML file sayconfig/supporters.yml
looking something like thisinclude that in
config.yml
Then, of course, us that to generate the list in
acknowledgements.md
as well as the new carousel.You can look at how this is done in
templates/footer.yml
Possibly make the
acknowledgements.md
page a grid or use the carousel there too.Then I'd be interested in doing this with only css if possible using things like
scroll-snap-type
, but with that auto-scroll might be difficult so it might make more sense to make an animation with keyframes, or give in and do the scrolling with jsCSS Tricks has god articles on both these approaches
Things to consider
@media (prefers-reduced-motion: reduce)
needs to be respected<img loading=lazy>
The text was updated successfully, but these errors were encountered: