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

New page design #192

Merged
merged 64 commits into from
Mar 20, 2024
Merged

New page design #192

merged 64 commits into from
Mar 20, 2024

Conversation

bedroesb
Copy link
Member

@bedroesb bedroesb commented Jul 27, 2023

This is a big pull request including following new features:

  • Collapsable items for "More information" including Training, rdmkit links, FAIRCookbook links, etc
  • New website configuration setting:
    theme_variables:
      headings:
        resource-table-all-collapse: true
    This setting allows you to also collapse the resource table under the "More information" section
  • New scss variables setting the Section navigation tiles and More information buttons. Set them in the _sass/_custom_variables.scss file
    /*-----Section navigation tiles-----*/
    $nav-card-bg: $light;
    $nav-card-color: $dark;
    $nav-card-bg-hover: $primary;
    $nav-card-color-hover: $white;
    
    /*-----More information tiles-----*/
    $info-card-bg: $light;
    $info-card-color: $dark;
    $info-card-bg-hover: $primary;
    $info-card-color-hover: $white;
  • Improved descriptions when linking to RDMkit, FAIRsharing, FAIRCookbook and DSW
  • New simpler design for section navigation tiles and related pages tiles, giving a coherent way of navigating the website.
  • Set Icons for pages so they are visualized in section navigation tiles and related pages tiles by using the new page attribute: type_img for example" :
    ---
    type_img: /assets/img/section-icons/dna-light.svg
    ---
  • Use the col parameter in the section navigation tiles and section navigation tiles simple to specify the number of columns
    {% include section-navigation-tiles.html type="example_pages" col=3 %}
    
    or
    {% include section-navigation-tiles-simple.html type="example_pages" col=3 %}
    

@bedroesb bedroesb changed the title Improved navigation tiles and related pages New page design Mar 4, 2024
@bedroesb bedroesb merged commit 731eb05 into main Mar 20, 2024
4 checks passed
@bedroesb bedroesb deleted the related-pages-cut branch March 20, 2024 09:17
@bedroesb bedroesb linked an issue Mar 20, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

National resources do not combine well with sorting of the table
1 participant