diff --git a/.direnv/flake-profile b/.direnv/flake-profile index c7ae5b7..e289079 120000 --- a/.direnv/flake-profile +++ b/.direnv/flake-profile @@ -1 +1 @@ -flake-profile-2-link \ No newline at end of file +flake-profile-4-link \ No newline at end of file diff --git a/.direnv/flake-profile-3-link b/.direnv/flake-profile-3-link new file mode 120000 index 0000000..327774e --- /dev/null +++ b/.direnv/flake-profile-3-link @@ -0,0 +1 @@ +/nix/store/rsadgr5y0wa25gvk7j7zcml5pf9ym3h5-nix-shell-env \ No newline at end of file diff --git a/.direnv/flake-profile-4-link b/.direnv/flake-profile-4-link new file mode 120000 index 0000000..4c0a204 --- /dev/null +++ b/.direnv/flake-profile-4-link @@ -0,0 +1 @@ +/nix/store/amb6zvwfmy0l7yfdhrfaclcy4997fy03-nix-shell-env \ No newline at end of file diff --git a/devenv.nix b/devenv.nix new file mode 100644 index 0000000..9474a74 --- /dev/null +++ b/devenv.nix @@ -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" ]; + }; +} diff --git a/src/app/app.component.html b/src/app/app.component.html index ccd0872..4d40811 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -1,4 +1,6 @@
- + @if (hotel.hotelName.includes(search)) { + + }