Skip to content

Commit

Permalink
feat(@angular/cli): updating landing page
Browse files Browse the repository at this point in the history
  • Loading branch information
sumitarora committed May 1, 2017
1 parent 4580088 commit 6bd0b7e
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,20 @@
<h1>
{{title}}
</h1><% if (routing) { %>
<div style="text-align:center">
<h1>
Welcome to {{title}}!!
</h1>
<img src="https://angular.io/resources/images/logos/angular/angular.png" />
</div>
<h2>Here are some links to help you start: </h2>
<ul>
<li>
<h2>Tour of Heros</h2>
</li>
<li>
<h2>CLI Documentation</h2>
</li>
<li>
<h2>Angular blog</h2>
</li>
</ul>
<% if (routing) { %>
<router-outlet></router-outlet><% } %>
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ describe('<%= htmlComponentName %> App', () => {

it('should display message saying app works', () => {
page.navigateTo();
expect(page.getParagraphText()).toEqual('<%= prefix %> works!');
expect(page.getParagraphText()).toEqual('Welcome to <%= prefix %> works!!!');
});
});

0 comments on commit 6bd0b7e

Please sign in to comment.