Skip to content

Commit 446de4b

Browse files
committed
Putting the new logo to use
1 parent 52c7e71 commit 446de4b

File tree

10 files changed

+50
-11
lines changed

10 files changed

+50
-11
lines changed

css/style.css

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

images/Angular_logo.png

9.99 KB
Loading
34.5 KB
Loading

images/NativeScript_logo.png

17.4 KB
Loading

images/banner.png

-40.3 KB
Binary file not shown.

index.html

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,26 @@ <h1>Building Apps with NativeScript and Angular 2</h1>
2828
<div id="book">
2929
<div class="chapter">
3030
<h2 id="building-apps-with-nativescript-and-angular-2">Building Apps with NativeScript and Angular 2</h2>
31-
<p><img src="images/banner.png" class="banner-image plain" alt="NativeScript and Angular 2 logos"></p>
3231
<p>Welcome to the NativeScript &amp; Angular 2 getting started guide 📚. In this hands-on tutorial, you’ll build a cross-platform iOS and Android app from scratch.</p>
3332
<blockquote>
3433
<p><strong>WARNING 🚧</strong>: This guide is being actively written and is not complete. If you find an error in the guide please report the problem at <a href="https://github.com/tjvantoll/nativescript-angular-guide">https://github.com/tjvantoll/nativescript-angular-guide</a>. Pull requests are also welcome 😀.</p>
3534
</blockquote>
3635
<h3 id="what-is-nativescript-what-is-angular-2-">What is NativeScript? What is Angular 2?</h3>
37-
<p><a href="https://www.nativescript.org/">NativeScript</a> is a framework for building native iOS and Android apps using JavaScript and CSS. NativeScript renders UIs with the native platform’s rendering engine—no <a href="http://developer.telerik.com/featured/what-is-a-webview/">WebViews</a>—resulting in native-like performance and UX. <a href="https://angularjs.org/">Angular JS</a> is one of the most popular open source JavaScript frameworks for application development.</p>
38-
<p>The latest version of Angular, <a href="https://angular.io/">Angular 2</a>, makes it possible to use Angular outside of a web browser, and developers at <a href="http://www.telerik.com/">Telerik</a> (the company that created and maintains NativeScript) <a href="https://docs.google.com/document/d/1J6fZcVbVa6uONVCJIox2A3Jn5TWgspLufmryfA1OXGk/edit#heading=h.trgonlvb0z3j">have been working closely with developers at Google</a> to make Angular 2 in NativeScript a reality.</p>
39-
<p>The result is a software architecture that allows you to build mobile apps using the same framework—and in some cases the same code—that you use to build Angular 2 web apps, with the performance you’d expect from native code. Let’s look at how it all works by building an app.</p>
36+
<div class="intro-box">
37+
<img src="images/NativeScript_logo.png" class="plain" alt="NativeScript logo">
38+
<p><a href="https://www.nativescript.org/">NativeScript</a> is a framework for building native iOS and Android apps using JavaScript and CSS. NativeScript renders UIs with the native platform’s rendering engine—no <a href="http://developer.telerik.com/featured/what-is-a-webview/">WebViews</a>—resulting in native-like performance and UX. <a href="https://angularjs.org/">Angular JS</a> is one of the most popular open source JavaScript frameworks for application development.</p>
39+
</div>
40+
41+
<div class="intro-box">
42+
<img src="images/Angular_logo.png" class="plain" alt="Angular logo">
43+
<p>The latest version of Angular, <a href="https://angular.io/">Angular 2</a>, makes it possible to use Angular outside of a web browser, and developers at <a href="http://www.telerik.com/">Telerik</a> (the company that created and maintains NativeScript) <a href="https://docs.google.com/document/d/1J6fZcVbVa6uONVCJIox2A3Jn5TWgspLufmryfA1OXGk/edit#heading=h.trgonlvb0z3j">have been working closely with developers at Google</a> to make Angular 2 in NativeScript a reality.</p>
44+
</div>
45+
46+
<div class="intro-box">
47+
<img src="images/NativeScript_Angular_logo.png" class="plain" alt="Angular logo">
48+
<p>The result is a software architecture that allows you to build mobile apps using the same framework—and in some cases the same code—that you use to build Angular 2 web apps, with the performance you’d expect from native code. Let’s look at how it all works by building an app.</p>
49+
</div>
50+
4051
<blockquote>
4152
<p><strong>WARNING</strong>: Although NativeScript itself is a production-ready framework that drives <a href="https://www.nativescript.org/showcases">many apps in the app stores today</a>, NativeScript’s Angular integration is still in an alpha stage. If you run into issues when using the Angular integration, please report them on <a href="https://github.com/NativeScript/nativescript-angular">https://github.com/NativeScript/nativescript-angular</a>. If you’re looking for a guide on using the production-ready flavor of NativeScript, head to the <a href="http://docs.nativescript.org/start/getting-started">official Getting Started Guide</a>.</p>
4253
</blockquote>

scripts/built.js

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

src/chapters/chapter0.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,25 @@
11
## Building Apps with NativeScript and Angular 2
22

3-
<img src="images/banner.png" class="banner-image plain" alt="NativeScript and Angular 2 logos">
4-
53
Welcome to the NativeScript & Angular 2 getting started guide 📚. In this hands-on tutorial, you’ll build a cross-platform iOS and Android app from scratch.
64

75
> **WARNING 🚧**: This guide is being actively written and is not complete. If you find an error in the guide please report the problem at <https://github.com/tjvantoll/nativescript-angular-guide>. Pull requests are also welcome 😀.
86
97
### What is NativeScript? What is Angular 2?
108

11-
[NativeScript](https://www.nativescript.org/) is a framework for building native iOS and Android apps using JavaScript and CSS. NativeScript renders UIs with the native platform’s rendering engine—no [WebViews](http://developer.telerik.com/featured/what-is-a-webview/)—resulting in native-like performance and UX. [Angular JS](https://angularjs.org/) is one of the most popular open source JavaScript frameworks for application development.
9+
<div class="intro-box">
10+
<img src="images/NativeScript_logo.png" class="plain" alt="NativeScript logo">
11+
<p>[NativeScript](https://www.nativescript.org/) is a framework for building native iOS and Android apps using JavaScript and CSS. NativeScript renders UIs with the native platform’s rendering engine—no [WebViews](http://developer.telerik.com/featured/what-is-a-webview/)—resulting in native-like performance and UX. [Angular JS](https://angularjs.org/) is one of the most popular open source JavaScript frameworks for application development.</p>
12+
</div>
1213

13-
The latest version of Angular, [Angular 2](https://angular.io/), makes it possible to use Angular outside of a web browser, and developers at [Telerik](http://www.telerik.com/) (the company that created and maintains NativeScript) [have been working closely with developers at Google](https://docs.google.com/document/d/1J6fZcVbVa6uONVCJIox2A3Jn5TWgspLufmryfA1OXGk/edit#heading=h.trgonlvb0z3j) to make Angular 2 in NativeScript a reality.
14+
<div class="intro-box">
15+
<img src="images/Angular_logo.png" class="plain" alt="Angular logo">
16+
<p>The latest version of Angular, [Angular 2](https://angular.io/), makes it possible to use Angular outside of a web browser, and developers at [Telerik](http://www.telerik.com/) (the company that created and maintains NativeScript) [have been working closely with developers at Google](https://docs.google.com/document/d/1J6fZcVbVa6uONVCJIox2A3Jn5TWgspLufmryfA1OXGk/edit#heading=h.trgonlvb0z3j) to make Angular 2 in NativeScript a reality.</p>
17+
</div>
1418

15-
The result is a software architecture that allows you to build mobile apps using the same framework—and in some cases the same code—that you use to build Angular 2 web apps, with the performance you’d expect from native code. Let’s look at how it all works by building an app.
19+
<div class="intro-box">
20+
<img src="images/NativeScript_Angular_logo.png" class="plain" alt="Angular logo">
21+
<p>The result is a software architecture that allows you to build mobile apps using the same framework—and in some cases the same code—that you use to build Angular 2 web apps, with the performance you’d expect from native code. Let’s look at how it all works by building an app.</p>
22+
</div>
1623

1724
> **WARNING**: Although NativeScript itself is a production-ready framework that drives [many apps in the app stores today](https://www.nativescript.org/showcases), NativeScript’s Angular integration is still in an alpha stage. If you run into issues when using the Angular integration, please report them on https://github.com/NativeScript/nativescript-angular. If you’re looking for a guide on using the production-ready flavor of NativeScript, head to the [official Getting Started Guide](http://docs.nativescript.org/start/getting-started).
1825

src/scripts/app.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@
1616
var toc = $("#toc-padding");
1717
$(".chapter").each(function(chapterNumber) {
1818
$(this).find("h2").each(function() {
19+
var valueToPrepend = chapterNumber === 0 ? "" : "<strong>" + chapterNumber + ". </strong>";
1920
$(this)
2021
.attr("id", "chapter" + chapterNumber)
21-
.prepend("<strong>" + chapterNumber + ". </strong>");
22+
.prepend(valueToPrepend);
2223
toc.append("<h5><a href='#chapter" + chapterNumber + "'>" +
2324
$(this).html() + "</a></h5>");
2425
});

src/scss/style.scss

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,17 @@ a:hover {
4848
color: #333;
4949
background: #f8f8f8;
5050
}
51+
52+
.intro-box {
53+
display: flex;
54+
align-items: center;
55+
img {
56+
flex: 0 0 150px;
57+
height: 150px;
58+
margin-right: 1em;
59+
}
60+
}
61+
5162
strong{
5263
font-size:1.2em;
5364
}

0 commit comments

Comments
 (0)