Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #876 from uktrade/chore/revert-banner
Browse files Browse the repository at this point in the history
HOTFIX Remove mourning banner from homepage
  • Loading branch information
Miriam Forner authored Sep 20, 2022
2 parents 49e9827 + 0cb4be9 commit c0dcd21
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 57 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

## Pre-release

### Hotfix
- GLS-435 - Remove emergency banner

### Fixed bugs

### Implemented enhancements

## [3.9.0](https://github.com/uktrade/great-international-ui/releases/tag/3.9.0)
### Hotfix
- GLS-416 - Add emergency banner

Expand Down
44 changes: 0 additions & 44 deletions core/sass/atlas/components/_announcement.scss

This file was deleted.

4 changes: 2 additions & 2 deletions core/sass/atlas/components/_hero.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
}

@media (min-width: $breakpoint-xlarge) {
.atlas-hero+& {
.atlas-hero + & {
margin-top: -140px;
}
}
}
}
3 changes: 1 addition & 2 deletions core/sass/atlas/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,10 @@
@import 'components/pagination';
@import 'components/collapsible';
@import 'components/details';
@import 'components/announcement';

// Atlas-specific page styles
@import 'pages/home';
@import 'pages/landing-page';
@import 'pages/opportunity';
@import 'pages/region-listing';
@import 'pages/search';
@import 'pages/search';
2 changes: 1 addition & 1 deletion core/static/core/styles/atlas.css

Large diffs are not rendered by default.

8 changes: 0 additions & 8 deletions investment_atlas/templates/investment_atlas/homepage.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,6 @@
{% block css_layout_class %}{{ block.super }} atlas-homepage{% endblock css_layout_class %}

{% block content %}
<div class="atlas-announcement-banner-container">
<div class="atlas-container">
<div class="atlas-announcement-banner">
<h1 class="atlas-announcement-banner-heading">Her Majesty Queen Elizabeth II</h1>
<h3 class="atlas-announcement-banner-text"> 21 April 1926 to 8 September 2022</h3>
</div>
</div>
</div>
<div class="atlas-home">
<div class="atlas-home__hero">
<video class="atlas-home__hero-media"
Expand Down

0 comments on commit c0dcd21

Please sign in to comment.