-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from mrmihi/dev
Chore: Added new dev environment
- Loading branch information
Showing
27 changed files
with
227 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: CI dev deploy | ||
|
||
on: | ||
push: | ||
branches: | ||
- none | ||
jobs: | ||
deploy: | ||
name: Deploy to staging | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository 🛎️ | ||
uses: actions/checkout@v3 | ||
|
||
- name: Build 🏗️ | ||
uses: ./.github/actions/build | ||
env: | ||
build_configuration: production | ||
|
||
- name: Deploy 🚀 | ||
uses: JamesIves/github-pages-deploy-action@v4 | ||
with: | ||
folder: ./dist/hon/browser | ||
branch: gh-pages-dev | ||
clean-exclude: preview |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
<app-header></app-header> | ||
<app-header (selectedRoute)="onNavigate($event)"></app-header> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-md-12"> | ||
<app-books></app-books> | ||
<app-shopping-list></app-shopping-list> | ||
<app-books *ngIf="currentRoute === 'books'"></app-books> | ||
<app-wish-list *ngIf="currentRoute !== 'books'"></app-wish-list> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 14 additions & 3 deletions
17
src/app/books/book-list/book-item/book-item.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,14 @@ | ||
<p> | ||
book-item works! | ||
</p> | ||
<div | ||
class="list-group-item clearfix" | ||
(click) = "onSelect()"> | ||
<p-card header="{{book.name}}" class="m-1"> | ||
<p class="m-0"> | ||
{{book.description}} | ||
<img | ||
[src]="book.imagePath" | ||
alt="{{ book.name }}" | ||
class="img-responsive" | ||
style="max-height: 50px;"> | ||
</p> | ||
</p-card> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,16 @@ | ||
<div class="flex flex-row flex-wrap justify-content-center"> | ||
<div class="flex flex-row flex-wrap"> | ||
<div class="w-4 m-4"> | ||
<app-book-list></app-book-list> | ||
<app-book-list (onSelection)="selectedBookFromList = $event"></app-book-list> | ||
</div> | ||
<div class="w-4 m-4"> | ||
<app-book-detail></app-book-detail> | ||
<app-book-detail *ngIf="selectedBookFromList; else noBookPrompt" | ||
[selectedBook]="selectedBookFromList" | ||
></app-book-detail> | ||
</div> | ||
</div> | ||
|
||
<ng-template #noBookPrompt> | ||
<div class="alert alert-info"> | ||
Please select a book. | ||
</div> | ||
</ng-template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.