Skip to content

Commit cfb51c9

Browse files
committed
docs: add cli.angular.io microsite
These files were downloaded directly (using curl) from http://cli.angular.io/ and the links between them (css and images) were modified to work on a flat directory structure. The original content was kept on https://github.com/angular/microsites/tree/6c96f1048c2cd50d511d77ab9db44d43e1290453 but the old system was too hard to maintain. Maintaining static HTML and CSS is easier for us.
1 parent 07c73a1 commit cfb51c9

File tree

10 files changed

+553
-0
lines changed

10 files changed

+553
-0
lines changed
Lines changed: 32 additions & 0 deletions
Loading

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

Lines changed: 19 additions & 0 deletions
Loading

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

Lines changed: 326 additions & 0 deletions
Loading

etc/cli.angular.io/favicon.ico

5.47 KB
Binary file not shown.

etc/cli.angular.io/firebase.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"firebase": "cli-angular-io",
3+
"public": "www",
4+
"ignore": [
5+
"firebase.json",
6+
"**/.*"
7+
]
8+
}
9+

etc/cli.angular.io/index.html

Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
<!doctype html>
2+
<html lang="">
3+
<head>
4+
<meta charset="utf-8">
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6+
<meta name="description" content="">
7+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
8+
<link href="favicon.ico" rel="shortcut icon" type="image/ico">
9+
<title>Angular CLI</title>
10+
11+
<!-- Material Design icons -->
12+
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
13+
<link href='https://fonts.googleapis.com/css?family=Roboto:400,300,500,700' rel='stylesheet' type='text/css'>
14+
<link rel="stylesheet" href="material.min.css">
15+
<link rel="stylesheet" href="main.css">
16+
<link rel="stylesheet" href="theme.css">
17+
</head>
18+
<body class="mdl-demo mdl-base">
19+
<div class="mdl-layout mdl-js-layout mdl-layout--fixed-header">
20+
21+
<div class="mdl-demo mdl-layout mdl-js-layout mdl-layout--fixed-drawer mdl-layout--fixed-header">
22+
<header class="mdl-layout__header">
23+
<div class="mdl-layout__header-row">
24+
<span class="mdl-layout-title">
25+
<a class="site-header mdl-navigation__link--title" href="/">
26+
<img src="angular-logo-with-text.svg" alt="">
27+
<span class="microsite-name mdl-typography--font-light">CLI</span>
28+
</a>
29+
</span>
30+
<input type="checkbox" id="site-nav-checkbox" class="visuallyhidden">
31+
<div class="top-nav-wrapper">
32+
<label for="site-nav-checkbox">SITE MENU</label>
33+
<nav class="mdl-navigation">
34+
35+
<a class="mdl-navigation__link" href="https://github.com/angular/angular-cli/wiki">Documentation</a>
36+
37+
<a class="mdl-navigation__link" href="https://github.com/angular/angular-cli">GitHub</a>
38+
39+
</nav>
40+
<div class="mdl-layout-spacer"></div>
41+
<nav class="mdl-navigation">
42+
<a class="mdl-navigation__link" href="https://github.com/angular/angular-cli"> Get Started </a>
43+
</nav>
44+
</div>
45+
</div>
46+
</header>
47+
48+
49+
<main class="mdl-layout__content">
50+
<header class="hero-background">
51+
52+
<!-- Hero -->
53+
<header class="hero-background">
54+
<section class="hero-container section--center mdl-grid mdl-grid--no-spacing">
55+
<div class="logo-container mdl-cell mdl-cell--6-col-desktop mdl-cell--12-col-tablet mdl-cell--12-col-phone">
56+
<img class="hero-image" src="cli-logo.svg" alt="Mobile Toolkit">
57+
</div>
58+
<div class="mdl-cell mdl-cell--6-col-desktop mdl-cell--12-col-tablet mdl-cell--12-col-phone">
59+
<h4 class="">Angular CLI</h4>
60+
<h5 class="tagline">A command line interface for Angular</h5>
61+
<a href="https://github.com/angular/angular-cli" class="mdl-typography--font-regular cta mdl-button mdl-button--raised mdl-button--primary">
62+
Get Started
63+
</a>
64+
</div>
65+
</section>
66+
</header>
67+
68+
69+
</header>
70+
71+
<!-- Add as many features as needed -->
72+
<section class="features-container section--center mdl-grid mdl-grid--no-spacing">
73+
74+
<div class="features-list">
75+
<h4>ng new</h4>
76+
<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>
77+
</div>
78+
79+
<div class="features-list">
80+
<h4>ng generate</h4>
81+
<p>Generate components, routes, services and pipes with a simple command. The CLI will also create simple test shells for all of these.</p>
82+
</div>
83+
84+
<div class="features-list">
85+
<h4>ng serve</h4>
86+
<p>Easily test your app locally while developing.</p>
87+
</div>
88+
89+
<div class="features-list">
90+
<h4>Test, Lint, Format</h4>
91+
<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>
92+
</div>
93+
94+
95+
<div class="button-container mdl-cell mdl-cell--12-col-desktop center">
96+
<a href="https://github.com/angular/angular-cli" class="cta-button mdl-typography--font-regular mdl-button mdl-button--raised mdl-button--accent">
97+
Get Started
98+
</a>
99+
</div>
100+
</section>
101+
102+
103+
<footer>
104+
<div class="mdl-mega-footer--bottom-section">
105+
<div class="mdl-grid">
106+
<div class="mdl-cell mdl-cell--1-col mdl-cell--12-col-tablet mdl-typography--text-center">
107+
<img src="angular-logo.svg" alt="">
108+
</div>
109+
<div class="mdl-cell mdl-cell--2-col mdl-cell--12-col-tablet footer-links">
110+
<ul class="footer-links">
111+
<li> <a class="" href="https://wwww.angular.io">Learn Angular</a> </li>
112+
</ul>
113+
</div>
114+
<div class="mdl-cell mdl-cell--9-col">
115+
<p class="mdl-typography--font-light power-text"> Powered by Google ©2010-2016. Code licensed under an <a href="/license.html">MIT-style License</a>. Documentation licensed under <a href="http://creativecommons.org/licenses/by/4.0/">CC BY 4.0</a>.</p>
116+
</div>
117+
</div>
118+
</div>
119+
</footer>
120+
121+
</main>
122+
</div></div>
123+
124+
<script>
125+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
126+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
127+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
128+
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
129+
ga('create', 'UA-8594346-15', 'auto');
130+
ga('send', 'pageview');
131+
</script>
132+
</body>
133+
</html>

etc/cli.angular.io/license.html

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<pre style="word-wrap: break-word; white-space: pre-wrap;">The MIT License
2+
3+
Copyright (c) 2014-2016 Google, Inc.
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.
22+
</pre>
23+

etc/cli.angular.io/main.css

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

etc/cli.angular.io/material.min.css

Lines changed: 9 additions & 0 deletions
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 & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)