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

Commit

Permalink
Merge pull request #314 from mozilla/MP-1216-mdn-banner
Browse files Browse the repository at this point in the history
chore(header): announce MDN HTTP Observatory
  • Loading branch information
caugner authored Jul 2, 2024
2 parents 0071f62 + 3574fc6 commit 93e2e8f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions src/css/httpobs.css
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,10 @@ sup, sub {
font-weight: bold;
}

#scoring-banner:before {
content: '📣\FE0E';
}

.alert-danger a, #scoring-banner a {
color: white;
font-weight: bold;
Expand Down
6 changes: 3 additions & 3 deletions src/templates/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
</head>
<body>
<header class="mb-0 mb-md-3">
<div class="alert alert-danger text-center" id="scoring-banner">
📣\uFE0E Heads up! New security scoring standards apply - Your website grade may have changed. MDN Observatory will launch soon.
<a href="https://developer.mozilla.org/en-US/blog/mdn-observatory/" target="_blank">Learn More</a>.
<div class="alert alert-success text-center" id="scoring-banner">
<a href="https://developer.mozilla.org/en-US/observatory" target="_blank">MDN HTTP Observatory</a> is launched, and Mozilla Observatory is now deprecated.
<a href="https://developer.mozilla.org/en-US/blog/mdn-http-observatory-launch/" target="_blank">Learn more</a>.
</div>
<div class="container">
<nav class="navbar navbar-expand-lg navbar-primary bg-white">
Expand Down

0 comments on commit 93e2e8f

Please sign in to comment.