-
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.
- Loading branch information
Showing
21 changed files
with
243 additions
and
119 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,37 @@ | ||
<mat-card> | ||
<mat-card-header> | ||
<mat-card-title | ||
><a | ||
class="underline" | ||
routerLink="/search" | ||
[queryParams]="{ q: hero().homeTown }" | ||
>{{ hero().homeTown }}</a | ||
> | ||
><a | ||
class="underline" | ||
routerLink="/search" | ||
[queryParams]="{ q: hero().homeTown }" | ||
>{{ hero().homeTown }}</a | ||
> | ||
</mat-card-title> | ||
<mat-card-subtitle>{{ hero().squadName }}</mat-card-subtitle> | ||
</mat-card-header> | ||
<mat-card-content> | ||
<p>{{ hero().secretBase }}</p> | ||
<p>{{ hero().content }}</p> | ||
<mat-list> | ||
<mat-list-item *ngFor="let member of hero()?.members || []"> | ||
<p>{{ member.name }}</p> | ||
<p>{{ member.age }}</p> | ||
<p>{{ member.powers }}</p> | ||
<p>{{ member.secretIdentity }}</p> | ||
</mat-list-item> | ||
</mat-list> | ||
<div *ngFor="let member of hero()?.members || []" class="my-2 border-solid border-2"> | ||
<mat-list> | ||
<mat-list-item> | ||
<span matListItemTitle>member name</span> | ||
<span matListItemLine>{{ member.name }}</span> | ||
</mat-list-item> | ||
<mat-list-item> | ||
<span matListItemTitle>member age</span> | ||
<span matListItemLine>{{ member.age }}</span> | ||
</mat-list-item> | ||
<mat-list-item> | ||
<span matListItemTitle>member powers</span> | ||
<span matListItemLine>{{ member.powers }}</span> | ||
</mat-list-item> | ||
<mat-list-item> | ||
<span matListItemTitle>member secretIdentity</span> | ||
<span matListItemLine>{{ member.secretIdentity }}</span> | ||
</mat-list-item> | ||
</mat-list> | ||
</div> | ||
</mat-card-content> | ||
</mat-card> |
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
File renamed without changes.
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,14 +1,15 @@ | ||
@import "material-theme"; | ||
@import 'color'; | ||
|
||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; | ||
|
||
@import 'color'; | ||
|
||
html, | ||
body { | ||
margin: 0; | ||
} | ||
|
||
.active { | ||
background: $my-blue; | ||
background: $my-blue !important; | ||
} |
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
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 |
---|---|---|
|
@@ -2,3 +2,4 @@ ENV_NAME=development | |
DATABASE_PROTOCOL=mongodb:// | ||
DATABASE_HOST=localhost:27017/ | ||
DATABASE_NAME=test | ||
PORT=3000 |
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 |
---|---|---|
|
@@ -2,3 +2,4 @@ ENV_NAME=production | |
DATABASE_PROTOCOL=mongodb:// | ||
DATABASE_HOST=localhost:27017/ | ||
DATABASE_NAME=test | ||
PORT=3001 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
[ | ||
{ | ||
"squadName": "Super hero squad", | ||
"homeTown": "Metro City", | ||
"formed": 2016, | ||
"secretBase": "Super tower", | ||
"active": true, | ||
"members": [ | ||
{ | ||
"name": "Molecule Man", | ||
"age": 29, | ||
"secretIdentity": "Dan Jukes", | ||
"powers": [ | ||
"Radiation resistance", | ||
"Turning tiny", | ||
"Radiation blast" | ||
] | ||
}, | ||
{ | ||
"name": "Madame Uppercut", | ||
"age": 39, | ||
"secretIdentity": "Jane Wilson", | ||
"powers": [ | ||
"Million tonne punch", | ||
"Damage resistance", | ||
"Superhuman reflexes" | ||
] | ||
}, | ||
{ | ||
"name": "Eternal Flame", | ||
"age": 1000000, | ||
"secretIdentity": "Unknown", | ||
"powers": [ | ||
"Immortality", | ||
"Heat Immunity", | ||
"Inferno", | ||
"Teleportation", | ||
"Interdimensional travel" | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"squadName": "Lonely Super hero", | ||
"homeTown": "Lonely City", | ||
"formed": 2025, | ||
"secretBase": "Lonely tower", | ||
"active": false | ||
} | ||
] |
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,3 @@ | ||
{ | ||
"description": "this file is for testing nestJS build process, which should output this file to build/assets folder" | ||
} |
Oops, something went wrong.