Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit c5309e9

Browse files
Eric Jimeneznaomiblack
Eric Jimenez
authored andcommitted
feat(features: update features section)
1 parent f96c0c7 commit c5309e9

File tree

3 files changed

+78
-131
lines changed

3 files changed

+78
-131
lines changed

public/features.jade

Lines changed: 51 additions & 130 deletions
Original file line numberDiff line numberDiff line change
@@ -1,132 +1,53 @@
1-
2-
<!-- Speed & Performance -->
3-
.grid-fluid.l-space-bottom-8
4-
.c3.text-center
5-
.sticker <span class="sticker-icon icon-av-timer"></span>
6-
.c7
7-
h3.text-headline.text-uppercase Speed &amp; Performance
8-
p.text-body.
9-
Angular 2 is dramatically faster than Angular 1 with support for fast initial loads through
10-
server-side pre-rendering, offline compile for fast startup, and ultrafast change detection
11-
and view caching for smooth virtual scrolling and snappy view transitions.
12-
13-
<!-- Simplicity -->
14-
.grid-fluid.l-space-bottom-8
15-
.c3.text-center
16-
.sticker <span class="sticker-icon is-small icon-embed2"></span>
17-
.c7
18-
h3.text-headline.text-uppercase Simple &amp; Expressive
19-
p.text-body.
20-
Make your intention clear using natural, easy-to-write syntax.
21-
Reduce complexity for your team: new, structure-rich templates are
22-
readable and easy to understand at a glance.
23-
24-
25-
<!-- Cross-Platform -->
26-
.grid-fluid.l-space-bottom-8
27-
.c3.text-center
28-
.sticker <span class="sticker-icon icon-stay-current-portrait"></span>
29-
.c7
30-
h3.text-headline.text-uppercase Cross Platform
31-
p.text-body.
32-
Learning Angular 2 gives you the tools you need to build apps for desktop, mobile web,
33-
Android, and iOS. Angular Universal provides for server-side rendering for fast initial
34-
views on mobile web. Ionic and NativeScript let you build hybrid and native UI mobile apps.
35-
Web worker support keeps your app UI fully responsive no matter how heavy the load.
36-
37-
38-
<!-- Seamless Upgrade -->
39-
.grid-fluid.l-space-bottom-8
40-
.c3.text-center
41-
.sticker <span class="sticker-icon icon-web"></span>
42-
.c7
43-
h3.text-headline.text-uppercase Seamless Upgrade from Angular 1
44-
p.text-body.
45-
Upgrade your Angular 1 application at your own pace by mixing in Angular 2 components,
46-
directives, pipes, services and more by using the ngUpgrade APIs.
47-
48-
49-
<!-- Flexible Development -->
50-
.grid-fluid.l-space-bottom-8
51-
.c3.text-center
52-
.sticker <span class="sticker-icon icon-favorite"></span>
53-
.c7
54-
h3.text-headline.text-uppercase Flexible Development
55-
p.text-body.
56-
The choice of language is up to you. In addition to full support for
57-
ES5, TypeScript, and Dart, Angular 2 works equally well with ES2015 and other languages
58-
that compile to JavaScript.
59-
60-
61-
<!-- Routing -->
62-
.grid-fluid.l-space-bottom-8
63-
.c3.text-center
64-
.sticker <span class="sticker-icon icon-call-split"></span>
65-
.c7
66-
h3.text-headline.text-uppercase Comprehensive Routing
67-
p.text-body.
68-
Design sophisticated views:
69-
map URL paths to application components,
70-
and use advanced features like nested and sibling routes.
71-
Angular 2 supports card stack navigation, animated transitions, and
72-
lazy loading for mobile users.
73-
If you already use routing from a prior version of Angular,
74-
you can easily migrate to Angular 2 routing.
75-
76-
77-
<!-- Dependency Injection -->
78-
.grid-fluid.l-space-bottom-8
79-
.c3.text-center
80-
.sticker <span class="sticker-icon icon-now-widgets"></span>
81-
.c7
82-
h3.text-headline.text-uppercase Dependency Injection
83-
p.text-body.
84-
Angular 2 ships with powerful, yet simple-to-use dependency injection,
85-
allowing you to maintain modular applications without writing tedious glue code.
86-
Dependency injection helps you write tests
87-
by making it easy to inject test doubles.
88-
89-
<!-- Legacy Browsers -->
90-
.grid-fluid.l-space-bottom-8
91-
.c3.text-center
92-
.sticker <span class="sticker-icon icon-fast-forward"></span>
93-
.c7
94-
h3.text-headline.text-uppercase Legacy Browser Support
95-
p.text-body.
96-
In addition to fully supporting latest versions of Chrome, Edge, Firefox, IE, and Safari,
97-
Angular 2 is also tested for older browsers including IE9+ and Android 4.1+.
98-
99-
100-
<!-- Animations -->
101-
.grid-fluid.l-space-bottom-8
102-
.c3.text-center
103-
.sticker <span class="sticker-icon icon-flip"></span>
104-
.c7
105-
h3.text-headline.text-uppercase Animations
106-
p.text-body.
107-
[Under development] Tap directly into low-level animation support on
108-
mobile and desktop environments with easy-to-use Angular events.
109-
You can use CSS, JavaScript, and the Web Animations API to
110-
intelligently handle changes to animations in response to user events.
111-
Plan complex animation flows by sequencing the behavior of
112-
an entire website on a timeline.
113-
114-
115-
<!-- Internationalization & Accessibility -->
116-
.grid-fluid.l-space-bottom-8
117-
.c3.text-center
118-
.sticker <span class="sticker-icon icon-accessibility"></span>
119-
.c7
120-
h3.text-headline.text-uppercase Internationalization (I18N) &amp; Accessibility
121-
p.text-body(ng-non-bindable).
122-
[Under development] Reach all your users.
123-
Use the familiar ICU message format in Angular interpolation syntax
124-
(<b>{{ }}</b>), including pluralization and gender rules.
125-
Automate message extraction, pseudo-localization, and translation updates.
126-
Generate static applications for each locale.
127-
Easily promote accessibility via screen readers and assistive devices by automatically
128-
generating appropriate ARIA attributes.
129-
130-
1+
div
2+
div
3+
h2(class="text-headline") Cross Platform
4+
div(class="feature-row")
5+
div(class="feature")
6+
h3 Progressive Web App
7+
p(class="text-body") Use modern web platform capabilities to deliver app-like experiences. High performance, offline and zero-step installation.
8+
9+
div(class="feature")
10+
h3 Native
11+
p(class="text-body") Build native mobile apps with strategies from Ionic Framework, NativeScript, and React Native.
12+
13+
div(class="feature")
14+
h3 Desktop
15+
p(class="text-body") Create desktop-installed apps across Mac, Windows, and Linux using the same Angular methods you've learned for the web plus ability to access native OS APIs.
16+
17+
h2(class="text-headline") Speed & Performance
18+
div(class="feature-row")
19+
div(class="feature")
20+
h3 Code generation
21+
p(class="text-body") Angular turns your templates into code that's highly optimized for today's JavaScript virtual machines giving you all the benefits of hand-written code with the productivity of a framework.
22+
div(class="feature")
23+
h3 Universal
24+
p(class="text-body") Serve the first view of your application on node.js, .NET, PHP and other servers for near-instant rendering in just HTML and CSS. Also paves the way for sites that optimize for SEO.
25+
div(class="feature")
26+
h3 Code Splitting
27+
p(class="text-body") Angular apps load quickly with the new Component Router that delivers automatic code-splitting so users only load code required to render the view they request.
28+
29+
h2(class="text-headline") Productivity
30+
div(class="feature-row")
31+
div(class="feature")
32+
h3 Templates
33+
p(class="text-body") Quickly create UI views with simple and powerful template syntax.
34+
div(class="feature")
35+
h3 Angular CLI
36+
p(class="text-body") Command line tools: start building fast, add components and tests, then instantly deploy.
37+
div(class="feature")
38+
h3 IDEs
39+
p(class="text-body") Get intelligent code completion, instant errors and other feedback in popular editors and IDEs.
40+
41+
h2(class="text-headline") Full Development Story
42+
div(class="feature-row")
43+
div(class="feature")
44+
h3 Testing
45+
p(class="text-body") With Karma for unit tests, you can know if you've broken things every time you save. And Protractor makes your scenario tests run faster and stably.
46+
div(class="feature")
47+
h3 Animation
48+
p(class="text-body") Create high performance complex choreographies and animation timelines with very little code through Angular's intuitive API.
49+
div(class="feature")
50+
h3 Accessibility
51+
p(class="text-body") Create accessible applications with ARIA-enabled components, developer guides, and built-in a11y test infrastructure.
13152

13253
!= partial("/_includes/_cta-bar")

public/resources/css/main.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,10 @@
4949
@import 'module/support';
5050
@import 'module/article-card';
5151
@import 'module/style-guide';
52-
@import 'module/_press-kit';
5352
@import 'module/resources';
5453
@import 'module/home-promos';
54+
@import 'module/press-kit';
55+
@import 'module/features';
5556

5657
/*
5758
* PRINT STYLES
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
.feature-row {
2+
display: flex;
3+
justify-content: space-between;
4+
flex-wrap: wrap;
5+
6+
@media (max-width: 600px) {
7+
flex-direction: column;
8+
}
9+
10+
h2.text-headline {
11+
font-size: 28px;
12+
margin-top: 10px;
13+
color: #37474F;
14+
}
15+
}
16+
17+
.features-desc {
18+
max-width: 920px;
19+
}
20+
21+
.feature {
22+
max-width: 350px;
23+
margin-bottom: $unit * 4;
24+
}
25+

0 commit comments

Comments
 (0)