Skip to content

Commit dbc40b2

Browse files
committed
chore: cleanup
1 parent 236bc73 commit dbc40b2

File tree

4 files changed

+19
-62
lines changed

4 files changed

+19
-62
lines changed

build/_includes/footer.html

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ <h5 class="-allcaps">Developers</h5>
3636
<h5 class="-allcaps">Tools</h5>
3737
<ul class="List0 HighlightList -ff-prim">
3838
<li><a href="https://www.npmjs.com/package/nativescript" target="_blank">CLI</a></li>
39-
<li><a href="{{site.headerbaseurl}}/nativescript-sidekick">Sidekick</a></li>
39+
<!-- <li><a href="{{site.headerbaseurl}}/nativescript-sidekick">Sidekick</a></li> -->
4040
<li><a href="{{site.headerbaseurl}}/nativescript-for-visual-studio-code">VS Code Plugin</a></li>
4141
<li><a href="https://market.nativescript.org">Plugins</a></li>
4242
<li><a href="{{site.headerbaseurl}}/ui-for-nativescript">NativeScript UI</a></li>
@@ -48,11 +48,12 @@ <h5 class="-allcaps">Support</h5>
4848
<li><a href="https://stackoverflow.com/questions/tagged/nativescript" target="_blank">Stack Overflow</a></li>
4949
<li><a href="{{site.headerbaseurl}}/faq">FAQs</a></li>
5050
<li><a href="{{site.headerbaseurl}}/slack-invitation-form">Slack</a></li>
51-
<li><a href="{{site.headerbaseurl}}/support">Professional Support</a></li>
51+
<li><a href="{{site.headerbaseurl}}/preferred-partners">Preferred Partners</a></li>
52+
<!-- <li><a href="{{site.headerbaseurl}}/support">Professional Support</a></li> -->
5253
<li><a href="{{site.headerbaseurl}}/contact">Contact Us</a></li>
5354
</ul>
5455
</div>
55-
<div>
56+
<!-- <div>
5657
<h5 class="-allcaps">Enterprise</h5>
5758
<ul class="List0 HighlightList -ff-prim">
5859
<li><a href="{{site.headerbaseurl}}/enterprise">Enterprise Support</a></li>
@@ -61,9 +62,9 @@ <h5 class="-allcaps">Enterprise</h5>
6162
<li><a href="{{site.headerbaseurl}}/preferred-partners">Preferred Partners</a></li>
6263
<li><a href="https://www.progress.com/kinvey" target="_blank">Progress Kinvey</a></li>
6364
</ul>
64-
</div>
65+
</div> -->
6566
</div>
66-
<div class="footer__form">
67+
<!-- <div class="footer__form">
6768
<div>
6869
<h4>Stay connected with NativeScript</h4>
6970
<iframe width="500" height="36" class="footer__newsletter-frame"
@@ -101,7 +102,7 @@ <h5>Expect newsletter every 4-8 weeks.</h5>
101102
</div>
102103
</a>
103104
</div>
104-
</div>
105+
</div> -->
105106
<script>
106107
$(".slack-button").on("click", function (e) {
107108
e.preventDefault();
@@ -166,17 +167,17 @@ <h5>Expect newsletter every 4-8 weeks.</h5>
166167
}, 2000 / 3);
167168
</script>
168169
<div class="footer__last-row row">
169-
<div class="navigation__logo">Sponsored by </div>
170-
<div class="footer__copyright">
170+
<div>
171171
<span>
172172
<span>NativeScript is licensed under the </span>
173173
<span>
174174
<a href="https://github.com/NativeScript/nativescript-cli/blob/master/LICENSE">Apache 2.0 license</a>.
175175
</span>
176176
</span>
177+
</div>
178+
<div class="footer__copyright">
177179
<span>
178-
<span>© <script>document.write(new Date().getFullYear())</script> Progress Software Corporation. </span><span>All Rights Reserved.
179-
<a href="https://www.progress.com/legal/privacy-center" target="_blank" class="-dib -c-blue2 -xl-db">Privacy Center</a></span>
180+
<span>© <script>document.write(new Date().getFullYear())</script> </span><span>All Rights Reserved.</span>
180181
</span>
181182
</div>
182183
</div>

build/_includes/header.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,16 @@
1616
<span>Developers</span>
1717
<ul>
1818
<li><a href="https://play.nativescript.org">Playground</a></li>
19-
<li><a href="https://market.nativescript.org/?tab=samples&framework=all_frameworks&category=all_samples">Code Samples</a></li>
19+
<!-- <li><a href="https://market.nativescript.org/?tab=samples&framework=all_frameworks&category=all_samples">Code Samples</a></li> -->
2020
<li><a href="{{site.headerbaseurl}}/books-and-videos">Books &amp; Videos</a></li>
21-
<li><a href="https://market.nativescript.org/?tab=templates&category=all_templates">App Templates</a></li>
21+
<!-- <li><a href="https://market.nativescript.org/?tab=templates&category=all_templates">App Templates</a></li> -->
2222
</ul>
2323
</li>
2424
<li>
2525
<span>Tools</span>
2626
<ul>
2727
<li><a href="https://www.npmjs.com/package/nativescript" target="_blank">CLI</a></li>
28-
<li><a href="{{site.headerbaseurl}}/nativescript-sidekick">Sidekick</a></li>
28+
<!-- <li><a href="{{site.headerbaseurl}}/nativescript-sidekick">Sidekick</a></li> -->
2929
<li><a href="{{site.headerbaseurl}}/nativescript-for-visual-studio-code">VS Code Plugin</a></li>
3030
<li><a href="https://market.nativescript.org">Plugins</a></li>
3131
<li><a href="{{site.headerbaseurl}}/ui-for-nativescript">NativeScript UI</a></li>
@@ -37,11 +37,11 @@
3737
<li><a href="https://stackoverflow.com/questions/tagged/nativescript" target="_blank">Stack Overflow</a></li>
3838
<li><a href="{{site.headerbaseurl}}/faq">FAQs</a></li>
3939
<li><a href="{{site.headerbaseurl}}/slack-invitation-form">Slack</a></li>
40-
<li><a href="{{site.headerbaseurl}}/developer-support">Professional Support</a></li>
40+
<li><a href="{{site.headerbaseurl}}/preferred-partners">Preferred Partners</a></li>
4141
<li><a href="{{site.headerbaseurl}}/contact">Contact Us</a></li>
4242
</ul>
4343
</li>
44-
<li>
44+
<!-- <li>
4545
<span>Enterprise</span>
4646
<ul>
4747
<li><a href="{{site.headerbaseurl}}/enterprise">Enterprise Support</a></li>
@@ -50,7 +50,7 @@
5050
<li><a href="{{site.headerbaseurl}}/preferred-partners">Preferred Partners</a></li>
5151
<li><a href="https://www.progress.com/kinvey" target="_blank">Progress Kinvey</a></li>
5252
</ul>
53-
</li>
53+
</li> -->
5454
<li>
5555
<a href="{{site.headerbaseurl}}/blog">Blogs</a>
5656
</li>

build/_layouts/index.html

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,6 @@
55
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no" />
66
<meta name="google-site-verification" content="iwHdY_1KfeQbVLI-gtcAsI9pslqa2dLBsQD47d2E5To" />
77

8-
<!-- Google Tag Manager -->
9-
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
10-
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
11-
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
12-
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
13-
})(window,document,'script','dataLayer','GTM-W58JDD');</script>
14-
<!-- End Google Tag Manager -->
15-
<!-- Optimize Page Hiding Snippet -->
16-
<style>.async-hide { opacity: 0 !important} </style>
17-
<script>(function(a,s,y,n,c,h,i,d,e){s.className+=' '+y;h.start=1*new Date;
18-
h.end=i=function(){s.className=s.className.replace(RegExp(' ?'+y),'')};
19-
(a[n]=a[n]||[]).hide=h;setTimeout(function(){i();h.end=null},c);h.timeout=c;
20-
})(window,document.documentElement,'async-hide','dataLayer',4000,
21-
{'GTM-W58JDD':true});</script>
22-
<!-- end Optimize Page Hiding Snippet -->
238
<title>{% if page.titletag %}{{page.titletag}}{% else %}{{page.title}}{% endif %} - NativeScript Docs</title>
249
<link rel="preload" href="{{site.baseurl}}/{{page.category}}.json" as="script">
2510
<link rel="shortcut icon" href="{{site.headerbaseurl}}/favicon.ico"/>
@@ -34,18 +19,11 @@
3419
<script src="https://code.jquery.com/jquery-2.2.4.min.js"></script>
3520
<script src="https://kendo.cdn.telerik.com/2018.1.221/js/kendo.web.min.js"></script>
3621
<script src="https://da189i1jfloii.cloudfront.net/js/kinvey-html5-sdk-3.10.1.min.js"></script>
37-
<script src="https://cdn.cookielaw.org/consent/dc6bd370-357e-468e-916d-2c0b0f5fba8d.js"></script>
22+
<!-- <script src="https://cdn.cookielaw.org/consent/dc6bd370-357e-468e-916d-2c0b0f5fba8d.js"></script> -->
3823
{% javascript prism %}
3924
{% javascript app %}
4025
</head>
4126
<body {% if page.guide %}class="guide" {% endif %}>
42-
<!-- Google Tag Manager (noscript) -->
43-
<noscript>
44-
<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-W58JDD"
45-
height="0" width="0" style="display:none;visibility:hidden"></iframe>
46-
</noscript>
47-
<!-- End Google Tag Manager (noscript) -->
48-
4927
<header class="ns-navigation">
5028
{% include header.html %}
5129
</header>

build/_layouts/landing.html

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,6 @@
44
<meta charset="utf-8"/>
55
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no" />
66
<meta name="google-site-verification" content="iwHdY_1KfeQbVLI-gtcAsI9pslqa2dLBsQD47d2E5To" />
7-
<!-- Google Tag Manager -->
8-
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
9-
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
10-
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
11-
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
12-
})(window,document,'script','dataLayer','GTM-W58JDD');</script>
13-
<!-- End Google Tag Manager -->
14-
<!-- Optimize Page Hiding Snippet -->
15-
<style>.async-hide { opacity: 0 !important} </style>
16-
<script>(function(a,s,y,n,c,h,i,d,e){s.className+=' '+y;h.start=1*new Date;
17-
h.end=i=function(){s.className=s.className.replace(RegExp(' ?'+y),'')};
18-
(a[n]=a[n]||[]).hide=h;setTimeout(function(){i();h.end=null},c);h.timeout=c;
19-
})(window,document.documentElement,'async-hide','dataLayer',4000,
20-
{'GTM-W58JDD':true});</script>
21-
<!-- end Optimize Page Hiding Snippet -->
227
<title>{{page.title}}</title>
238
<link rel="preload" href="{{site.baseurl}}/{{page.category}}.json" as="script">
249
<link rel="shortcut icon" href="{{site.headerbaseurl}}/favicon.ico"/>
@@ -33,18 +18,11 @@
3318
<script src="https://code.jquery.com/jquery-2.2.4.min.js"></script>
3419
<script src="https://kendo.cdn.telerik.com/2018.1.221/js/kendo.web.min.js"></script>
3520
<script src="https://da189i1jfloii.cloudfront.net/js/kinvey-html5-sdk-3.10.1.min.js"></script>
36-
<script src="https://cdn.cookielaw.org/consent/dc6bd370-357e-468e-916d-2c0b0f5fba8d.js"></script>
21+
<!-- <script src="https://cdn.cookielaw.org/consent/dc6bd370-357e-468e-916d-2c0b0f5fba8d.js"></script> -->
3722
{% javascript prism %}
3823
{% javascript app %}
3924
</head>
4025
<body {% if page.guide %}class="guide" {% endif %} class="-landing">
41-
<!-- Google Tag Manager (noscript) -->
42-
<noscript>
43-
<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-W58JDD"
44-
height="0" width="0" style="display:none;visibility:hidden"></iframe>
45-
</noscript>
46-
<!-- End Google Tag Manager (noscript) -->
47-
4826
<header class="ns-navigation">
4927
{% include header.html %}
5028
</header>

0 commit comments

Comments
 (0)