Skip to content

Commit 6cda841

Browse files
committed
moving host to netlify
1 parent d3d2f06 commit 6cda841

File tree

4 files changed

+40
-4
lines changed

4 files changed

+40
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
This is a configurable date-picker build for Angular applications.
33
Supports latest (Angular 14) version. For older versions please checkout the CHANGELOG.md file.
44

5-
[DEMO](https://vlio20.github.io/angular-datepicker/)
5+
[DEMO](https://wondrous-crostata-172891.netlify.app/)
66

77
[![npm version](https://badge.fury.io/js/ng2-date-picker.svg)](https://badge.fury.io/js/ng2-date-picker) [![Build Status](https://travis-ci.org/vlio20/angular-datepicker.svg?branch=master)](https://travis-ci.org/vlio20/angular-datepicker) [![Package Quality](http://npm.packagequality.com/shield/ng2-date-picker.svg)](http://packagequality.com/#?package=ng2-date-picker)
88

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,8 @@
1818
"e2e:quick": "ng e2e --dev-server-target --webdriverUpdate=false",
1919
"e2e:headless": "HEADLESS=true ng e2e",
2020
"build:index": "node build.js",
21-
"build:demo": "rm -rf dist/ && ng build ng2-date-picker-demo --configuration production --base-href /angular-datepicker/ && npm run build:index",
21+
"build:demo": "rm -rf dist/ && ng build ng2-date-picker-demo --configuration production && npm run build:index",
2222
"release": "npm run build:lib && cd dist/ng2-date-picker && npm publish",
23-
"release:demo": "npm run build:demo && git add -A && git commit -am \"demo\" && git subtree push --prefix dist origin demo",
24-
"fullrelease": "git checkout release && git merge master && npm run release:demo && npm run release && git checkout master",
2523
"pack": "cd bin && npm pack"
2624
},
2725
"repository": {

src/app/demo/demo.component.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,15 @@ <h3 class="dp-menu-header">Components</h3>
6262
</a>
6363
</li>
6464
</ul>
65+
<div class="rest-of-menu">
66+
<div class="host-link">
67+
<span>Hosted on:</span>
68+
<a href="https://netlifly.com/angular2-daytime-picker">
69+
<img src="https://www.netlify.com/v3/img/components/logomark.png" alt="netlify">
70+
<span>Netlify</span>
71+
</a>
72+
</div>
73+
</div>
6574
<div class="dp-place-holder"></div>
6675
</div>
6776

src/app/demo/demo.component.less

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,16 @@
1414
}
1515

1616
.dp-menu {
17+
display: flex;
18+
flex-direction: column;
1719
height: 100vh;
1820
width: @menuWidth;
1921
background: @c-primary;
2022
z-index: 100;
2123
overflow: auto;
2224

2325
.dp-menu-header {
26+
flex-direction: column;
2427
padding-left: 10px;
2528
padding-bottom: 10px;
2629
color: @c-white;
@@ -176,3 +179,29 @@
176179
box-shadow: 0px 2px 6px -4px black;
177180
}
178181
}
182+
183+
.rest-of-menu {
184+
flex: 1;
185+
display: flex;
186+
flex-direction: column;
187+
justify-content: end;
188+
color: white;
189+
190+
.host-link {
191+
display: flex;
192+
align-items: center;
193+
justify-content: space-around;
194+
195+
a {
196+
display: flex;
197+
align-items: center;
198+
color: white;
199+
text-decoration: none;
200+
201+
img {
202+
width: 30px;
203+
height: 30px;
204+
}
205+
}
206+
}
207+
}

0 commit comments

Comments
 (0)