feat: add new flake profiles and update app component
This commit is contained in:
parent
270782cb78
commit
cecb4c94b7
@ -1 +1 @@
|
||||
flake-profile-2-link
|
||||
flake-profile-4-link
|
1
.direnv/flake-profile-3-link
Symbolic link
1
.direnv/flake-profile-3-link
Symbolic link
@ -0,0 +1 @@
|
||||
/nix/store/rsadgr5y0wa25gvk7j7zcml5pf9ym3h5-nix-shell-env
|
1
.direnv/flake-profile-4-link
Symbolic link
1
.direnv/flake-profile-4-link
Symbolic link
@ -0,0 +1 @@
|
||||
/nix/store/amb6zvwfmy0l7yfdhrfaclcy4997fy03-nix-shell-env
|
23
devenv.nix
Normal file
23
devenv.nix
Normal file
@ -0,0 +1,23 @@
|
||||
{
|
||||
name = "hotel-manager";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
||||
};
|
||||
|
||||
packages = [
|
||||
pkgs.nodePackages."@angular/cli"
|
||||
pkgs.git
|
||||
pkgs.bun
|
||||
];
|
||||
|
||||
services.ng-serve = {
|
||||
description = "Angular Development Server";
|
||||
start = ''
|
||||
echo "Starting Angular server..."
|
||||
ng serve --host 0.0.0.0 --port 4200
|
||||
'';
|
||||
restartIfChanged = true;
|
||||
after = [ "network-online.target" ];
|
||||
};
|
||||
}
|
@ -1,4 +1,6 @@
|
||||
<app-search [(input)]="search"></app-search>
|
||||
<div *ngFor="let hotel of hotels">
|
||||
<app-hotel-item *ngIf="hotel.hotelName.includes(search)" [hotel]="hotel"></app-hotel-item>
|
||||
@if (hotel.hotelName.includes(search)) {
|
||||
<app-hotel-item [hotel]="hotel"></app-hotel-item>
|
||||
}
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user