Skip to content

Commit

Permalink
Remove hero (#914)
Browse files Browse the repository at this point in the history
* Remove hero (Fix #912)

* Update migration tips
  • Loading branch information
nathan-barrett authored Jan 9, 2024
1 parent 9943124 commit 799baab
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 373 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# HEAD

## Features
* **component:** Remove deprecated Hero component. (#912)
* **component:** Refactor and rename the Callout component (previously Call-out) (#787)
* **component:** Remove Compact Call-out as a separate component. It's now just a variant of the updated Callout.
* **js:** Update newsletter component to include JS to post directly to Basket (#839).
Expand All @@ -18,6 +19,7 @@
** e.g. `@use 'components/call-out';` should change to `@use 'components/callout';`
* The rebuilt Callout doesn't feature integrated brand logos. Use Logo and Wordmark components instead.
* The rebuilt Compact Callout lacks an integrated logo, so it no longer positions the logo at one end of the component. A Logo or Wordmark component should appear in the body instead.
* Convert any instances of the Hero component to either Split or Callout.

# 18.0.0
## Features
Expand Down
234 changes: 0 additions & 234 deletions assets/sass/protocol/components/_hero.scss

This file was deleted.

1 change: 0 additions & 1 deletion assets/sass/protocol/protocol-components.scss
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
@use 'components/forms/msg';
@use 'components/forms/set';
@use 'components/forms/status';
@use 'components/hero';
@use 'components/inline-list';
@use 'components/logos/logo';
@use 'components/logos/wordmark';
Expand Down
81 changes: 0 additions & 81 deletions components/hero/hero.config.yml

This file was deleted.

42 changes: 0 additions & 42 deletions components/hero/hero.html

This file was deleted.

15 changes: 0 additions & 15 deletions components/hero/readme.md

This file was deleted.

0 comments on commit 799baab

Please sign in to comment.