7
1
mirror of https://gitlab.com/ansol/web-ansol.org.git synced 2024-11-25 23:53:16 +00:00
web-ansol.org/content/home/hero.md
2020-06-11 17:00:17 +01:00

1.7 KiB

+++

Hero widget.

widget = "hero" # See https://sourcethemes.com/academic/docs/page-builder/ headless = true # This file represents a page section. active = true # Activate this widget? true/false weight = 10 # Order that this section will appear.

title = "ANSOL"

Hero image (optional). Enter filename of an image in the static/img/ folder.

hero_media = "hero-academic.png"

[design.background]

Apply a background color, gradient, or image.

Uncomment (by removing #) an option to apply it.

Choose a light or dark text color by setting text_color_light.

Any HTML color name or Hex value is valid.

Background color.

color = "navy"

Background gradient.

gradient_start = "#4bb4e3"

gradient_end = "#2b94c3"

Background image.

image = "hero-bg.jpg" # Name of image in static/img/. image_darken = 0.6 # Darken the image? Range 0-1 where 0 is transparent and 1 is opaque.

image_size = "contain" # Options are cover (default), contain, or actual size.

image_position = "right" # Options include left, center (default), or right.

image_parallax = true # Use a fun parallax-like fixed background effect? true/false

Text color (true=light or false=dark).

text_color_light = true

Call to action links (optional).

Display link(s) by specifying a URL and label below. Icon is optional for [cta].

Remove a link/note by deleting a cta/note block.

[cta] url = "#" label = "Faz-te sócio!" icon_pack = "fas" icon = "user-friends"

[cta_alt]

url = "https://sourcethemes.com/academic/"

label = "Saber mais"

Note. An optional note to show underneath the links.

[cta_note] label = 'mais pormenores' +++

Junta-te a nós!