Skip to content

Commit d5d9790

Browse files
Ansimorphhansl
authored andcommitted
docs: convert console image to css
1 parent 1cd4ce8 commit d5d9790

File tree

4 files changed

+24
-337
lines changed

4 files changed

+24
-337
lines changed

etc/cli.angular.io/cli-logo.svg

Lines changed: 0 additions & 326 deletions
This file was deleted.

etc/cli.angular.io/index.html

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<!-- Material Design icons -->
1212
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
1313
<link href='https://fonts.googleapis.com/css?family=Roboto:400,300,500,700' rel='stylesheet' type='text/css'>
14+
<link href="https://fonts.googleapis.com/css?family=Source+Code+Pro:300" rel="stylesheet">
1415
<link rel="stylesheet" href="material.min.css">
1516
<link rel="stylesheet" href="main.css">
1617
<link rel="stylesheet" href="theme.css">
@@ -31,11 +32,11 @@
3132
<div class="top-nav-wrapper">
3233
<label for="site-nav-checkbox">SITE MENU</label>
3334
<nav class="mdl-navigation">
34-
35+
3536
<a class="mdl-navigation__link" href="https://github.com/angular/angular-cli/wiki">Documentation</a>
36-
37+
3738
<a class="mdl-navigation__link" href="https://github.com/angular/angular-cli">GitHub</a>
38-
39+
3940
</nav>
4041
<div class="mdl-layout-spacer"></div>
4142
<nav class="mdl-navigation">
@@ -54,7 +55,19 @@
5455
<header class="hero-background">
5556
<section class="hero-container section--center mdl-grid mdl-grid--no-spacing">
5657
<div class="logo-container mdl-cell mdl-cell--6-col-desktop mdl-cell--12-col-tablet mdl-cell--12-col-phone">
57-
<img class="hero-image" src="cli-logo.svg" alt="Mobile Toolkit">
58+
<div class="console mdl-shadow--4dp">
59+
<div class="console__head">
60+
<div class="console__dot console__dot--red"></div>
61+
<div class="console__dot console__dot--yellow"></div>
62+
<div class="console__dot console__dot--green"></div>
63+
</div>
64+
<div class="console__body">
65+
<kbd class="console__prompt">npm install -g @angular/cli</kbd>
66+
<kbd class="console__prompt">ng new my-dream-app</kbd>
67+
<kbd class="console__prompt">cd my-dream-app</kbd>
68+
<kbd class="console__prompt">ng serve</kbd>
69+
</div>
70+
</div>
5871
</div>
5972
<div class="mdl-cell mdl-cell--6-col-desktop mdl-cell--12-col-tablet mdl-cell--12-col-phone">
6073
<h4 class="">Angular CLI</h4>
@@ -71,27 +84,27 @@ <h5 class="tagline">A command line interface for Angular</h5>
7184

7285
<!-- Add as many features as needed -->
7386
<section class="features-container section--center mdl-grid mdl-grid--no-spacing">
74-
87+
7588
<div class="features-list">
7689
<h4>ng new</h4>
7790
<p>The Angular CLI makes it easy to create an application that already works, right out of the box. It already follows our best practices!</p>
7891
</div>
79-
92+
8093
<div class="features-list">
8194
<h4>ng generate</h4>
8295
<p>Generate components, routes, services and pipes with a simple command. The CLI will also create simple test shells for all of these.</p>
8396
</div>
84-
97+
8598
<div class="features-list">
8699
<h4>ng serve</h4>
87100
<p>Easily test your app locally while developing.</p>
88101
</div>
89-
102+
90103
<div class="features-list">
91104
<h4>Test, Lint, Format</h4>
92105
<p>Make your code really shine. Run your unittests or your end-to-end tests with the breeze of a command. Execute the official Angular linter and run clang format.</p>
93106
</div>
94-
107+
95108

96109
<div class="button-container mdl-cell mdl-cell--12-col-desktop center">
97110
<a href="https://github.com/angular/angular-cli/wiki" class="cta-button mdl-typography--font-regular mdl-button mdl-button--raised mdl-button--accent">

etc/cli.angular.io/main.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

etc/cli.angular.io/theme.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)