Summary block

Summaries in the form of text, headlines and often imagery for a list of like content, including: articles, jobs, news and people profiles.

github location npm version



Usage

Publications summary

The vf-summary--publication can be nested inside a vf-box where it takes the vf-box colours.

If the vf-summary__author list is truncated to a certain number of authors you will need to add vf-u-text--et-al to the <p> - <p class="vf-summary__author | vf-u-text--et-al"> - for it to add "et al" to the end of the list.

At times you might want to use an image for purely decorative reasons. For example an abstract graphic to go alongside the text then you should label, if using nunjucks and yaml, summary__image_alt: decorative. This will make sure the image alt text is empty (alt="") and add role="presentation" to the img element.

Profile summary

The vf-summary--profile variant has been deprecated. Please use the vf-profile component.

Variants

What is Cancer?

Cancer is a group of diseases involving abnormal cell growth with the potential to invade or spread to other parts of the body.

Nunjucks syntax

Depending on your environment you'll want to use render or include. As a rule of thumb: server-side use include, precompiled browser use render. If you're using vf-eleventy you should use include.

Using include

You'll need to pass a context object from your code or Yaml file (example), as well as the path to the Nunjucks template. Nunjucks' include is an abstraction of render and provides some additional portability.


{% set context fromYourYamlFile %}
- or -
{% set context = {
  "component-type": "block",
  "summary__title": "What is Cancer?",
  "summary__text": "Cancer is a group of diseases involving abnormal cell growth with the potential to invade or spread to other parts of the body.",
  "image": "/assets/vf-summary/assets/vf-icon--avatar.svg",
  "name": "FirstName Surname",
  "summary__href": "JavaScript:Void(0);"
}
 %}
{% include "../path_to/vf-summary/vf-summary.njk" %}
                

Using render

This approach is best for bare-bones Nunjucks environments, such as precompiled templates with the Nunjucks slim runtime where include is not be available.

{% render '@vf-summary', {
  "component-type": "block",
  "summary__title": "What is Cancer?",
  "summary__text": "Cancer is a group of diseases involving abnormal cell growth with the potential to invade or spread to other parts of the body.",
  "image": "/assets/vf-summary/assets/vf-icon--avatar.svg",
  "name": "FirstName Surname",
  "summary__href": "JavaScript:Void(0);"
} %}
                
HTML
<article class="vf-summary">
  <h3 class="vf-summary__title">
    <a href="JavaScript:Void(0);" class="vf-summary__link">What is Cancer?</a>
  </h3>
  <p class="vf-summary__text">Cancer is a group of diseases involving abnormal cell growth with the potential to invade or spread to other parts of the body.</p>
</article>
              

Article variant

EMBL's top social media posts of 2017 and what we learned from them

Laura Howes

06th February 2018

I want to take a look back at my first full year as EMBL's social media manager. So what worked best over 2017 and what can I learn from this? My basic goals for VF’s social media are to build community and develop a shared understanding of who we as an organisation are. Consequently, I care about what resonates on the different social sites much more than driving traffic back to Visual Framework websites, although traffic is obviously a by-product.

Nunjucks syntax

Depending on your environment you'll want to use render or include. As a rule of thumb: server-side use include, precompiled browser use render. If you're using vf-eleventy you should use include.

Using include

You'll need to pass a context object from your code or Yaml file (example), as well as the path to the Nunjucks template. Nunjucks' include is an abstraction of render and provides some additional portability.


{% set context fromYourYamlFile %}
- or -
{% set context = {
  "component-type": "block",
  "summary__title": "EMBL's top social media posts of 2017 and what we learned from them",
  "summary__text": "I want to take a look back at my first full year as EMBL's social media manager. So what worked best over 2017 and what can I learn from this? My basic goals for VF’s social media are to build community and develop a shared understanding of who we as an organisation are. Consequently, I care about what resonates on the different social sites much more than driving traffic back to Visual Framework websites, although traffic is obviously a by-product.",
  "image": "/assets/vf-summary/assets/vf-icon--avatar.svg",
  "name": "FirstName Surname",
  "summary__href": "JavaScript:Void(0);",
  "summary__date": "06th February 2018",
  "summary__author": "Laura Howes",
  "summary__author_href": "JavaScript:Void(0);"
}
 %}
{% include "../path_to/vf-summary/vf-summary.njk" %}
                

Using render

This approach is best for bare-bones Nunjucks environments, such as precompiled templates with the Nunjucks slim runtime where include is not be available.

{% render '@vf-summary', {
  "component-type": "block",
  "summary__title": "EMBL's top social media posts of 2017 and what we learned from them",
  "summary__text": "I want to take a look back at my first full year as EMBL's social media manager. So what worked best over 2017 and what can I learn from this? My basic goals for VF’s social media are to build community and develop a shared understanding of who we as an organisation are. Consequently, I care about what resonates on the different social sites much more than driving traffic back to Visual Framework websites, although traffic is obviously a by-product.",
  "image": "/assets/vf-summary/assets/vf-icon--avatar.svg",
  "name": "FirstName Surname",
  "summary__href": "JavaScript:Void(0);",
  "summary__date": "06th February 2018",
  "summary__author": "Laura Howes",
  "summary__author_href": "JavaScript:Void(0);"
} %}
                
HTML
<article class="vf-summary vf-summary--article">

  <h3 class="vf-summary__title">
    <a href="JavaScript:Void(0);" class="vf-summary__link">EMBL's top social media posts of 2017 and what we learned from them</a>
  </h3>

  <div class="vf-summary__meta">
    <a href="JavaScript:Void(0);" class="vf-summary__author vf-summary__link">Laura Howes</a>
    <p class="vf-summary__date">06th February 2018</p>
  </div>

  <p class="vf-summary__text">I want to take a look back at my first full year as EMBL's social media manager. So what worked best over 2017 and what can I learn from this? My basic goals for VF’s social media are to build community and develop a shared understanding of who we as an organisation are. Consequently, I care about what resonates on the different social sites much more than driving traffic back to Visual Framework websites, although traffic is obviously a by-product.</p>

</article>
              

04th September 2019

Executive Masters in Management of Research Infrastructures

This Masters development programme is aimed at current Research Infrastructures managers and leaders who wish to develop the competencies required to meet the needs of Research Infrastructures in the planning, construction and operation phases.

EMBO Workshop

Heidelberg

Nunjucks syntax

Depending on your environment you'll want to use render or include. As a rule of thumb: server-side use include, precompiled browser use render. If you're using vf-eleventy you should use include.

Using include

You'll need to pass a context object from your code or Yaml file (example), as well as the path to the Nunjucks template. Nunjucks' include is an abstraction of render and provides some additional portability.


{% set context fromYourYamlFile %}
- or -
{% set context = {
  "component-type": "block",
  "summary__title": "Executive Masters in Management of Research Infrastructures",
  "summary__text": "This Masters development programme is aimed at current Research Infrastructures managers and leaders who wish to develop the competencies required to meet the needs of Research Infrastructures in the planning, construction and operation phases.",
  "image": "/assets/vf-summary/assets/vf-icon--avatar.svg",
  "name": "FirstName Surname",
  "summary__href": "JavaScript:Void(0);",
  "summary__date": "04th September 2019",
  "summary__event_type": "EMBO Workshop",
  "summary__location": "Heidelberg"
}
 %}
{% include "../path_to/vf-summary/vf-summary.njk" %}
                

Using render

This approach is best for bare-bones Nunjucks environments, such as precompiled templates with the Nunjucks slim runtime where include is not be available.

{% render '@vf-summary', {
  "component-type": "block",
  "summary__title": "Executive Masters in Management of Research Infrastructures",
  "summary__text": "This Masters development programme is aimed at current Research Infrastructures managers and leaders who wish to develop the competencies required to meet the needs of Research Infrastructures in the planning, construction and operation phases.",
  "image": "/assets/vf-summary/assets/vf-icon--avatar.svg",
  "name": "FirstName Surname",
  "summary__href": "JavaScript:Void(0);",
  "summary__date": "04th September 2019",
  "summary__event_type": "EMBO Workshop",
  "summary__location": "Heidelberg"
} %}
                
HTML
<article class="vf-summary vf-summary--event">
  <p class="vf-summary__date">04th September 2019</p>
  <h3 class="vf-summary__title">
    <a href="JavaScript:Void(0);" class="vf-summary__link">Executive Masters in Management of Research Infrastructures</a>
  </h3>
  <p class="vf-summary__text">This Masters development programme is aimed at current Research Infrastructures managers and leaders who wish to develop the competencies required to meet the needs of Research Infrastructures in the planning, construction and operation phases.</p>
  <p class="vf-summary__text">EMBO Workshop</p>
  <p class="vf-summary__location">Heidelberg</p>

</article>
              
BioSamples

BioSamples

A database describing biological samples and providing links to associated experimental data.

Nunjucks syntax

Depending on your environment you'll want to use render or include. As a rule of thumb: server-side use include, precompiled browser use render. If you're using vf-eleventy you should use include.

Using include

You'll need to pass a context object from your code or Yaml file (example), as well as the path to the Nunjucks template. Nunjucks' include is an abstraction of render and provides some additional portability.


{% set context fromYourYamlFile %}
- or -
{% set context = {
  "component-type": "block",
  "summary__title": "BioSamples",
  "summary__text": "A database describing biological samples and providing links to associated experimental data.",
  "image": "/assets/vf-summary/assets/vf-icon--avatar.svg",
  "name": "FirstName Surname",
  "summary__href": "JavaScript:Void(0);",
  "summary__image": "https://www.ebi.ac.uk/biosamples/images/logo_biosamples.png",
  "summary__image_alt": "BioSamples"
}
 %}
{% include "../path_to/vf-summary/vf-summary.njk" %}
                

Using render

This approach is best for bare-bones Nunjucks environments, such as precompiled templates with the Nunjucks slim runtime where include is not be available.

{% render '@vf-summary', {
  "component-type": "block",
  "summary__title": "BioSamples",
  "summary__text": "A database describing biological samples and providing links to associated experimental data.",
  "image": "/assets/vf-summary/assets/vf-icon--avatar.svg",
  "name": "FirstName Surname",
  "summary__href": "JavaScript:Void(0);",
  "summary__image": "https://www.ebi.ac.uk/biosamples/images/logo_biosamples.png",
  "summary__image_alt": "BioSamples"
} %}
                
HTML
<article class="vf-summary vf-summary--has-image">
  <a href="JavaScript:Void(0);" class="vf-summary__link">
    <img class="vf-summary__image vf-summary__image--thumbnail" src="https://www.ebi.ac.uk/biosamples/images/logo_biosamples.png" alt="BioSamples" loading="lazy">
  </a>
  <h3 class="vf-summary__title">
    <a href="JavaScript:Void(0);" class="vf-summary__link">
      BioSamples
    </a>
  </h3>
  <p class="vf-summary__text">A database describing biological samples and providing links to associated experimental data.</p>
</article>
              
Nunjucks syntax

Depending on your environment you'll want to use render or include. As a rule of thumb: server-side use include, precompiled browser use render. If you're using vf-eleventy you should use include.

Using include

You'll need to pass a context object from your code or Yaml file (example), as well as the path to the Nunjucks template. Nunjucks' include is an abstraction of render and provides some additional portability.


{% set context fromYourYamlFile %}
- or -
{% set context = {
  "component-type": "block",
  "summary__title": "Group Leader - Cell and Biophysics",
  "summary__text": "We are seeking to recruit outstanding group leaders who wish to carry out cutting-edge molecular cell biology research and/or technology development.",
  "image": "/assets/vf-summary/assets/vf-icon--avatar.svg",
  "name": "FirstName Surname",
  "summary__href": "JavaScript:Void(0);",
  "summary__meta": "<a href=\"#\" class=\"vf-summary__link\">Science Faculty</a> in <a href=\"#\" class=\"vf-summary__link\">Heidelberg</a>",
  "summary__date": "11th August 2018",
  "summary__date_meta": "Closes in 8 days."
}
 %}
{% include "../path_to/vf-summary/vf-summary.njk" %}
                

Using render

This approach is best for bare-bones Nunjucks environments, such as precompiled templates with the Nunjucks slim runtime where include is not be available.

{% render '@vf-summary', {
  "component-type": "block",
  "summary__title": "Group Leader - Cell and Biophysics",
  "summary__text": "We are seeking to recruit outstanding group leaders who wish to carry out cutting-edge molecular cell biology research and/or technology development.",
  "image": "/assets/vf-summary/assets/vf-icon--avatar.svg",
  "name": "FirstName Surname",
  "summary__href": "JavaScript:Void(0);",
  "summary__meta": "<a href=\"#\" class=\"vf-summary__link\">Science Faculty</a> in <a href=\"#\" class=\"vf-summary__link\">Heidelberg</a>",
  "summary__date": "11th August 2018",
  "summary__date_meta": "Closes in 8 days."
} %}
                
HTML
<article class="vf-summary vf-summary--job">
  <p class="vf-summary__meta"><a href="#" class="vf-summary__link">Science Faculty</a> in <a href="#" class="vf-summary__link">Heidelberg</a></p>

  <h3 class="vf-summary__title">

    <a href="JavaScript:Void(0);" class="vf-summary__link">
      Group Leader - Cell and Biophysics
    </a>

  </h3>

  <p class="vf-summary__text">We are seeking to recruit outstanding group leaders who wish to carry out cutting-edge molecular cell biology research and/or technology development.</p>

  <p class="vf-summary__date"> <span>Closes in 8 days.</span>
    Posted 11th August 2018</p>

</article>
              
04th September 2019

news article summary

General Combinations of cancer drugs can be quickly and cheaply tested using a novel microfluidic device.

Nunjucks syntax

Depending on your environment you'll want to use render or include. As a rule of thumb: server-side use include, precompiled browser use render. If you're using vf-eleventy you should use include.

Using include

You'll need to pass a context object from your code or Yaml file (example), as well as the path to the Nunjucks template. Nunjucks' include is an abstraction of render and provides some additional portability.


{% set context fromYourYamlFile %}
- or -
{% set context = {
  "component-type": "block",
  "summary__title": "news article summary",
  "summary__text": "Combinations of cancer drugs can be quickly and cheaply tested using a novel microfluidic device.",
  "image": "/assets/vf-summary/assets/vf-icon--avatar.svg",
  "name": "FirstName Surname",
  "summary__href": "JavaScript:Void(0);",
  "summary__category": "General",
  "summary__date": "04th September 2019"
}
 %}
{% include "../path_to/vf-summary/vf-summary.njk" %}
                

Using render

This approach is best for bare-bones Nunjucks environments, such as precompiled templates with the Nunjucks slim runtime where include is not be available.

{% render '@vf-summary', {
  "component-type": "block",
  "summary__title": "news article summary",
  "summary__text": "Combinations of cancer drugs can be quickly and cheaply tested using a novel microfluidic device.",
  "image": "/assets/vf-summary/assets/vf-icon--avatar.svg",
  "name": "FirstName Surname",
  "summary__href": "JavaScript:Void(0);",
  "summary__category": "General",
  "summary__date": "04th September 2019"
} %}
                
HTML
<article class="vf-summary vf-summary--news">
  <span class="vf-summary__date">04th September 2019</span>
  <h3 class="vf-summary__title">
    <a href="JavaScript:Void(0);" class="vf-summary__link">
      news article summary
    </a>
  </h3>
  <p class="vf-summary__text">
    <span class="vf-summary__category">
      General
    </span>
    Combinations of cancer drugs can be quickly and cheaply tested using a novel microfluidic device.
  </p>
</article>
              
04th September 2019 News image alt

news article summary

Combinations of cancer drugs can be quickly and cheaply tested using a novel microfluidic device.

Nunjucks syntax

Depending on your environment you'll want to use render or include. As a rule of thumb: server-side use include, precompiled browser use render. If you're using vf-eleventy you should use include.

Using include

You'll need to pass a context object from your code or Yaml file (example), as well as the path to the Nunjucks template. Nunjucks' include is an abstraction of render and provides some additional portability.


{% set context fromYourYamlFile %}
- or -
{% set context = {
  "component-type": "block",
  "summary__title": "news article summary",
  "summary__text": "Combinations of cancer drugs can be quickly and cheaply tested using a novel microfluidic device.",
  "image": "/assets/vf-summary/assets/vf-icon--avatar.svg",
  "name": "FirstName Surname",
  "summary__href": "JavaScript:Void(0);",
  "summary__image": "../../assets/vf-summary/assets/vf-summary--news-has-image.jpg",
  "summary__image_alt": "News image alt",
  "summary__date": "04th September 2019"
}
 %}
{% include "../path_to/vf-summary/vf-summary.njk" %}
                

Using render

This approach is best for bare-bones Nunjucks environments, such as precompiled templates with the Nunjucks slim runtime where include is not be available.

{% render '@vf-summary', {
  "component-type": "block",
  "summary__title": "news article summary",
  "summary__text": "Combinations of cancer drugs can be quickly and cheaply tested using a novel microfluidic device.",
  "image": "/assets/vf-summary/assets/vf-icon--avatar.svg",
  "name": "FirstName Surname",
  "summary__href": "JavaScript:Void(0);",
  "summary__image": "../../assets/vf-summary/assets/vf-summary--news-has-image.jpg",
  "summary__image_alt": "News image alt",
  "summary__date": "04th September 2019"
} %}
                
HTML
<article class="vf-summary vf-summary--news">
  <span class="vf-summary__date">04th September 2019</span>
  <img class="vf-summary__image" src="../../assets/vf-summary/assets/vf-summary--news-has-image.jpg" alt="News image alt" loading="lazy">
  <h3 class="vf-summary__title">
    <a href="JavaScript:Void(0);" class="vf-summary__link">
      news article summary
    </a>
  </h3>
  <p class="vf-summary__text">
    Combinations of cancer drugs can be quickly and cheaply tested using a novel microfluidic device.
  </p>
</article>
              
04th September 2019

news article summary

Combinations of cancer drugs can be quickly and cheaply tested using a novel microfluidic device.

Nunjucks syntax

Depending on your environment you'll want to use render or include. As a rule of thumb: server-side use include, precompiled browser use render. If you're using vf-eleventy you should use include.

Using include

You'll need to pass a context object from your code or Yaml file (example), as well as the path to the Nunjucks template. Nunjucks' include is an abstraction of render and provides some additional portability.


{% set context fromYourYamlFile %}
- or -
{% set context = {
  "component-type": "block",
  "summary__title": "news article summary",
  "summary__text": "Combinations of cancer drugs can be quickly and cheaply tested using a novel microfluidic device.",
  "image": "/assets/vf-summary/assets/vf-icon--avatar.svg",
  "name": "FirstName Surname",
  "summary__href": "JavaScript:Void(0);",
  "summary__image": "../../assets/vf-summary/assets/vf-summary--news-has-image.jpg",
  "summary__image_alt": "decorative",
  "summary__date": "04th September 2019"
}
 %}
{% include "../path_to/vf-summary/vf-summary.njk" %}
                

Using render

This approach is best for bare-bones Nunjucks environments, such as precompiled templates with the Nunjucks slim runtime where include is not be available.

{% render '@vf-summary', {
  "component-type": "block",
  "summary__title": "news article summary",
  "summary__text": "Combinations of cancer drugs can be quickly and cheaply tested using a novel microfluidic device.",
  "image": "/assets/vf-summary/assets/vf-icon--avatar.svg",
  "name": "FirstName Surname",
  "summary__href": "JavaScript:Void(0);",
  "summary__image": "../../assets/vf-summary/assets/vf-summary--news-has-image.jpg",
  "summary__image_alt": "decorative",
  "summary__date": "04th September 2019"
} %}
                
HTML
<article class="vf-summary vf-summary--news">
  <span class="vf-summary__date">04th September 2019</span>
  <img class="vf-summary__image" src="../../assets/vf-summary/assets/vf-summary--news-has-image.jpg" alt="" role="presentation" loading="lazy">
  <h3 class="vf-summary__title">
    <a href="JavaScript:Void(0);" class="vf-summary__link">
      news article summary
    </a>
  </h3>
  <p class="vf-summary__text">
    Combinations of cancer drugs can be quickly and cheaply tested using a novel microfluidic device.
  </p>
</article>
              

Computer modeling in developmental biology: growing today, essential tomorrow.

Jimenez RC, Albar JP, Bhak J, Blatter MC, Blicher T, Brazas MD, Brooksbank C, Budd A, De Las Rivas J, Dreyer J, van Driel MA, Dunn MJ, Fernandes PL, van Gelder CW, Hermjakob H, Ioannidis V, Judge DP, Kahlem P, Korpelainen E, Kraus HJ, Loveland J, Mayer C, McDowall J, Moran F, Mulder N, Nyronen T, Rother K, Salazar GA, Schneider R, Via A, Villaveces JM, Yu P, Schneider MV, Attwood TK, Corpas M.

The Journal of cell biology 2019

144(23):4214-4225. doi: 10.1242/dev.151274. Europe PMC

Nunjucks syntax

Depending on your environment you'll want to use render or include. As a rule of thumb: server-side use include, precompiled browser use render. If you're using vf-eleventy you should use include.

Using include

You'll need to pass a context object from your code or Yaml file (example), as well as the path to the Nunjucks template. Nunjucks' include is an abstraction of render and provides some additional portability.


{% set context fromYourYamlFile %}
- or -
{% set context = {
  "component-type": "block",
  "summary__title": "Computer modeling in developmental biology: growing today, essential tomorrow.",
  "summary__text": "144(23):4214-4225. doi: 10.1242/dev.151274. <a class=\"vf-link\" href=\"#\">Europe</a> <a class=\"vf-link\" href=\"#\">PMC</a>",
  "image": "/assets/vf-summary/assets/vf-icon--avatar.svg",
  "name": "FirstName Surname",
  "summary__href": "JavaScript:Void(0);",
  "summary__author": "Jimenez RC, Albar JP, Bhak J, Blatter MC, Blicher T, Brazas MD, Brooksbank C, Budd A, De Las Rivas J, Dreyer J, van Driel MA, Dunn MJ, Fernandes PL, van Gelder CW, Hermjakob H, Ioannidis V, Judge DP, Kahlem P, Korpelainen E, Kraus HJ, Loveland J, Mayer C, McDowall J, Moran F, Mulder N, Nyronen T, Rother K, Salazar GA, Schneider R, Via A, Villaveces JM, Yu P, Schneider MV, Attwood TK, Corpas M.",
  "summary__date": 2019,
  "summary__source": "The Journal of cell biology"
}
 %}
{% include "../path_to/vf-summary/vf-summary.njk" %}
                

Using render

This approach is best for bare-bones Nunjucks environments, such as precompiled templates with the Nunjucks slim runtime where include is not be available.

{% render '@vf-summary', {
  "component-type": "block",
  "summary__title": "Computer modeling in developmental biology: growing today, essential tomorrow.",
  "summary__text": "144(23):4214-4225. doi: 10.1242/dev.151274. <a class=\"vf-link\" href=\"#\">Europe</a> <a class=\"vf-link\" href=\"#\">PMC</a>",
  "image": "/assets/vf-summary/assets/vf-icon--avatar.svg",
  "name": "FirstName Surname",
  "summary__href": "JavaScript:Void(0);",
  "summary__author": "Jimenez RC, Albar JP, Bhak J, Blatter MC, Blicher T, Brazas MD, Brooksbank C, Budd A, De Las Rivas J, Dreyer J, van Driel MA, Dunn MJ, Fernandes PL, van Gelder CW, Hermjakob H, Ioannidis V, Judge DP, Kahlem P, Korpelainen E, Kraus HJ, Loveland J, Mayer C, McDowall J, Moran F, Mulder N, Nyronen T, Rother K, Salazar GA, Schneider R, Via A, Villaveces JM, Yu P, Schneider MV, Attwood TK, Corpas M.",
  "summary__date": 2019,
  "summary__source": "The Journal of cell biology"
} %}
                
HTML
<article class="vf-summary vf-summary--publication">
  <h3 class="vf-summary__title">
    <a href="JavaScript:Void(0);" class="vf-summary__link">
      Computer modeling in developmental biology: growing today, essential tomorrow.
    </a>
  </h3>
  <p class="vf-summary__author">Jimenez RC, Albar JP, Bhak J, Blatter MC, Blicher T, Brazas MD, Brooksbank C, Budd A, De Las Rivas J, Dreyer J, van Driel MA, Dunn MJ, Fernandes PL, van Gelder CW, Hermjakob H, Ioannidis V, Judge DP, Kahlem P, Korpelainen E, Kraus HJ, Loveland J, Mayer C, McDowall J, Moran F, Mulder N, Nyronen T, Rother K, Salazar GA, Schneider R, Via A, Villaveces JM, Yu P, Schneider MV, Attwood TK, Corpas M.</p>
  <p class="vf-summary__source">
    The Journal of cell biology
    <span class="vf-summary__date">2019</span>
  </p>

  <p class="vf-summary__text">
    144(23):4214-4225. doi: 10.1242/dev.151274. <a class="vf-link" href="#">Europe</a> <a class="vf-link" href="#">PMC</a>
  </p>
</article>
              

Examples

Installation info

This component is distributed with npm. After installing npm, you can install the vf-summary with this command.

$ yarn add --dev @visual-framework/vf-summary

Sass/CSS

The source files included are written in Sass(scss). You can point your Sass include-path at your node_modules directory and import it like this.

@import "@visual-framework/vf-summary/index.scss";

Make sure you import Sass requirements along with the modules. You can use a project boilerplate or the vf-sass-starter

Changelog

Changelog

1.1.13

  • Documentation updates
  • New release

1.1.12

  • Update milestones and roadmap.

1.1.11

  • Add ELIXIR banner to example EMBL-EBI page.
  • https://stable.visual-framework.dev/patterns/boilerplate-generic-embl-ebi/
  • https://github.com/visual-framework/vf-core/pull/1615

1.1.7

  • Fixed issue of overlapping menu on VF components site
  • https://github.com/visual-framework/vf-core/issues/1518

1.1.6

  • dependency bump

1.1.2

  • Implements updated vf-search markup.
  • Changes a few pages on how it works with nunjucks and markdown.

1.1.0

  • updates Design Tokens homepage.
  • adds neutral colour tokens
  • adds 'status banners' for components in the documentation page.
  • Adds the form options as their own set of components in the list.
  • https://github.com/visual-framework/vf-core/pull/1390/files
  • Updates to use 11ty 0.12.1
  • https://github.com/visual-framework/vf-core/pull/1435

1.0.24

  • changes the vf-intro so it's a white background, removes the padding.
  • changes the links in vf-intro to be the 'correct' buttons.

1.0.23

  • small change to cards on homepage

1.0.18

  • dependency bump

1.0.17

  • dependency bump

1.0.16

  • dependency bump

1.0.13

  • dependency bump
  • adds roamap and consultation docs

1.0.12

  • design token documenation now lives in the component libary

1.0.7

  • adds updates blog

1.0.6

  • begin to make more pattern/boilerplate guidance
  • minor templating updates

1.0.5

  • dependency bump

1.0.4

  • uses vf-favicon
  • adds meta attributes

1.0.3

  • run vf-component-assets:everything on local dev
  • remove reference to removed /css/app.css

1.0.2

  • Add 404
  • Fix component CSS generation

1.0.1

  • Also generate per-component CSS with vf-css:generate-component-css

1.0.0

  • Initial release to be used with vf-core 2.2.0

Assets



File system location: components/vf-summary

Find an issue on this page? Propose a change or discuss it.