Skip to content

Commit

Permalink
Added documentation
Browse files Browse the repository at this point in the history
Added information about using the two new .top-center and .bottom-center classes
  • Loading branch information
xentenza committed Oct 21, 2024
1 parent d1e56ff commit 998c1c8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions assets/components/organisms/hero/hero.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ title: Hero
notes: |
The hero component is used as intro to basic pages.
You can add the `.top-center` class to the `<img>` tag if you want the background picture to be centred from the top of the image, or the `bottom-center` class to the `<img>` tag if you want the background picture to be centred from the bottom of the image.
variants:
- name: legend
title: Hero with image legend

0 comments on commit 998c1c8

Please sign in to comment.