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

implement a modern footer #377

Closed
ghwood opened this issue Jan 5, 2024 · 7 comments · Fixed by #400 or #448
Closed

implement a modern footer #377

ghwood opened this issue Jan 5, 2024 · 7 comments · Fixed by #400 or #448
Labels
contractor Ask contractor to do it

Comments

@ghwood
Copy link
Collaborator

ghwood commented Jan 5, 2024

The footer currently contains a mix of links of different types, including links to affiliated sites, a link to a part of the main site, and a link to key legal information.

This mix of link types has no apparent organizational coherence, making expectations about what the viewer ought to find there or where the links will lead them. For example, it is unclear that “IRTF” leads to an entirely different website.

Also, the footer does not currently contain information and items that are commonly included in current webpage footer areas. Examples of these include copyright information, links to social media channels, and a summary version of a sitemap.

A modern approach to the footer section would allow for more of the commonly accepted links and information (social media and copyright), clearer organization of information and links, and greater context for links that would benefit from that.

A full specification for how this will be implemented is yet to be developed

@ghwood ghwood added the contractor Ask contractor to do it label Jan 23, 2024
@mgax
Copy link
Contributor

mgax commented Mar 12, 2024

We could implement a column-based footer, such as on the Cloudflare website, with a StreamField editor, that allows creating columns, and links within columns. The links could either be external or internal, like in the Megamenu (#367). @ghwood would that provide the right editorial flexibility to organise the footer properly?

@ghwood
Copy link
Collaborator Author

ghwood commented Mar 12, 2024

Yes, that would work to provide the footer navigation links. Would it also be possible to have the kind of elements below the stacked columns on the Cloudflare site?

@mgax
Copy link
Contributor

mgax commented Mar 12, 2024

Would it also be possible to have the kind of elements below the stacked columns on the Cloudflare site?

Yep, sure, we can set up a list of links for that too.

@ghwood
Copy link
Collaborator Author

ghwood commented Mar 13, 2024

The Cloudflare model is good. Would it be helpful to have a more detailed specification?

@mgax
Copy link
Contributor

mgax commented Mar 25, 2024

Would it be helpful to have a more detailed specification?

Here's a draft, based heavily on the Cloudflare website footer. Let me know if it matches your expectation and how you prefer to handle the optional bits.

Sections

Set up a content structure to edit footer sections. They will be displayed as columns.

Each section should have:

  • A title.
  • A list of links, with title, page (reference to internal page) and url fields. Exactly one of page or url may be set. Setting url requires a title; setting page will use the page's title, unless title is also specified.

For mobile viewports, the sections will be collapsed by default, and stacked vertically.

(optional) On mobile, the first section is always expanded, to make its contents more visible.

Bottom links

Set up an additional list of links (same structure as the links in a section). They will be displayed below the sections.

(optional) Move the social media links from the header to the footer, left-aligned, on the same line with the additional links. The various URLs can be configured at /admin/settings/utils/socialmediasettings/ but are currently not specified.

(optional) Add © {year} IETF Administration LLC at the start of the bottom links.

@ghwood
Copy link
Collaborator Author

ghwood commented Mar 28, 2024

@mgax Looking at the www.cloudflare.com footer as the example, this looks good to me.

On the (optional items), please do:

  • handle mobile as described, and
  • include the social media links on the same line as the bottom links.

However, do not add the © notice

Thank you!

@ghwood
Copy link
Collaborator Author

ghwood commented May 22, 2024

This works as expected on https://ws-modern-footer.dev.ietf.org, however the styling of footer column elements needs to be updated so that the line spacing between footer links that wrap and the footer links above/below are more clearly differentiated. Reducing the vertical spacing between wrapped lines would be my vote to try first. Rough mockup here to illustrate the idea.
image

This was referenced May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contractor Ask contractor to do it
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants