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

Support responsive Hero banner on top of page #504

Open
Metisweb opened this issue Sep 1, 2023 · 0 comments
Open

Support responsive Hero banner on top of page #504

Metisweb opened this issue Sep 1, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Metisweb
Copy link

Metisweb commented Sep 1, 2023

Is your feature request related to a problem? Please describe.
The requested feature is not related to a problem but more like an enhancement and a really nice to have.

Current default behaviour:
The thumbnail of a page will be displayed after the page title, description, tags, publication date and read time, and social icons. The default width of the thumbnail is col-8.

Describe the solution you'd like
Implementing an option in addition to the default behaviour where the thumbnail of a page can be displayed at the very top of a page immediately below the navigation bar. When this new option is active, the page title, description, tags, publication date and read time and social icons will be displayed below the thumbnail.

Options for the width of the thumbnail:

  1. stretch the thumbnail to the full page width e.g. col-12
  2. default width (col-8, as it is right now)

Adjustment for the aspect ratio of the thumbnail.

The described option should work on a page-by-page basis for flexibility.

This thumbnail display behaviour could be set in the frontmatter of a page, e.g.

thumbnail:
position: top (or when blank, default behaviour)
full-width: yes (yes=stretch thumbnail to full-width, no or blank = default behaviour)
aspect-ratio: 21x9 (and other aspect ratio friends)

A really super duper solution would be to also add full hero banner functionality. But this could be considered later.

@Metisweb Metisweb added the enhancement New feature or request label Sep 1, 2023
@markdumay markdumay self-assigned this May 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants