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

Commit f1bfa9e

Browse files
authored
Merge pull request #220 from jenweber/deprecation-banner
Deprecation banner
2 parents bae1407 + c3dd4cc commit f1bfa9e

File tree

3 files changed

+22
-1
lines changed

3 files changed

+22
-1
lines changed

Diff for: README.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
## EmberCLI's official website <a href="https://ember-community-slackin.herokuapp.com" target="_blank"><img src="https://ember-community-slackin.herokuapp.com/badge.svg"></a>
1+
## EmberCLI's official website
2+
3+
### Visit the new Ember CLI Guides!
4+
5+
This project is deprecated in favor of [cli-guides](https://github.com/ember-learn/cli-guides), which is an Ember app that hosts most of the content found here in the past. You can see the new site at [cli.emberjs.com](https://cli.emberjs.com).
6+
7+
In the upcoming months, this site will remain up while the redirects and content migrations are being finished.
28

39
### Running with Docker (recommended)
410

Diff for: _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 %}

Diff for: 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)