Skip to content
This repository was archived by the owner on Oct 29, 2020. It is now read-only.

Commit c3dd4cc

Browse files
committed
add a deprecation banner
1 parent 019ad97 commit c3dd4cc

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

_layouts/default.html

+7
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,13 @@ <h1><a href="/"><img src="/assets/images/ember-cli-logo-small-dark.png" alt="Emb
4646
<span class="glyphicon glyphicon-pencil"></span>
4747
</a>
4848
<h1>{{guide.title}}</h1>
49+
<div class="deprecation-banner row">
50+
The Ember CLI Guides have moved! Please visit
51+
<a href="https://cli.emberjs.com">
52+
cli.emberjs.com
53+
</a>
54+
instead for the most up-to-date content.
55+
</div>
4956
<p>{{guide.content}}</p>
5057
</div>
5158
{% endif %}

assets/main.scss

+8
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,14 @@ body {
368368

369369
}
370370

371+
.deprecation-banner.row {
372+
margin-top: 15px;
373+
margin-bottom: 15px;
374+
font-size: 1.5em;
375+
background-color: #ffefcc;
376+
padding: 20px;
377+
}
378+
371379
.highlight .lineno {
372380
display: none;
373381
}

0 commit comments

Comments
 (0)