-
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.
Added routes for property-related pages
- Loading branch information
Showing
11 changed files
with
98 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
<div class="container-fluid pt-5"> | ||
<div class="row centered-container"> | ||
<div class="col-sm img-btn-card mrc-1"> | ||
<a [routerLink]="['/properties']" class="col-sm img-btn-card mrc-1"> | ||
<img [src]="'assets/list-offers-icon.png'" class="img-fluid m-3" width="112" height="112" alt="show-properties-icon"> | ||
</div> | ||
<div class="col-sm img-btn-card"> | ||
<img [src]="'assets/add-announce-icon.png'" class="img-fluid m-3" width="112" height="112" alt="Add Property"> | ||
</div> | ||
</a> | ||
<a [routerLink]="['/properties/new']" class="col-sm img-btn-card mrc-1"> | ||
<img [src]="'ass ets/my-properties-icon.png'" class="img-fluid m-3" width="112" height="112" alt="my-properties-icon"> | ||
</a> | ||
<a [routerLink]="['/properties/new']" class="col-sm img-btn-card"> | ||
<img [src]="'assets/add-announce-icon.png'" class="img-fluid m-3" width="112" height="112" alt="add-property-icon"> | ||
</a> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
import { Component } from '@angular/core'; | ||
import {NgOptimizedImage} from "@angular/common"; | ||
import {Router, RouterLink, RouterModule} from "@angular/router"; | ||
|
||
@Component({ | ||
selector: 'app-home', | ||
standalone: true, | ||
imports: [ | ||
NgOptimizedImage | ||
NgOptimizedImage, | ||
RouterModule | ||
], | ||
templateUrl: './home.component.html', | ||
styleUrl: './home.component.css' | ||
}) | ||
export class HomeComponent { | ||
|
||
} | ||
export class HomeComponent {} |
Empty file.
1 change: 1 addition & 0 deletions
1
frontend/src/app/properties/list-properties/list-properties.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 |
---|---|---|
@@ -0,0 +1 @@ | ||
<p>list-properties works!</p> |
23 changes: 23 additions & 0 deletions
23
frontend/src/app/properties/list-properties/list-properties.component.spec.ts
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,23 @@ | ||
import { ComponentFixture, TestBed } from '@angular/core/testing'; | ||
|
||
import { ListPropertiesComponent } from './list-properties.component'; | ||
|
||
describe('ListPropertiesComponent', () => { | ||
let component: ListPropertiesComponent; | ||
let fixture: ComponentFixture<ListPropertiesComponent>; | ||
|
||
beforeEach(async () => { | ||
await TestBed.configureTestingModule({ | ||
imports: [ListPropertiesComponent] | ||
}) | ||
.compileComponents(); | ||
|
||
fixture = TestBed.createComponent(ListPropertiesComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); |
12 changes: 12 additions & 0 deletions
12
frontend/src/app/properties/list-properties/list-properties.component.ts
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,12 @@ | ||
import { Component } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'list-properties-component', | ||
standalone: true, | ||
imports: [], | ||
templateUrl: './list-properties.component.html', | ||
styleUrl: './list-properties.component.css' | ||
}) | ||
export class ListPropertiesComponent { | ||
|
||
} |
Empty file.
1 change: 1 addition & 0 deletions
1
frontend/src/app/properties/new-property/new-property.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 |
---|---|---|
@@ -0,0 +1 @@ | ||
<p>new-property works!</p> |
23 changes: 23 additions & 0 deletions
23
frontend/src/app/properties/new-property/new-property.component.spec.ts
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,23 @@ | ||
import { ComponentFixture, TestBed } from '@angular/core/testing'; | ||
|
||
import { NewPropertyComponent } from './new-property.component'; | ||
|
||
describe('NewPropertyComponent', () => { | ||
let component: NewPropertyComponent; | ||
let fixture: ComponentFixture<NewPropertyComponent>; | ||
|
||
beforeEach(async () => { | ||
await TestBed.configureTestingModule({ | ||
imports: [NewPropertyComponent] | ||
}) | ||
.compileComponents(); | ||
|
||
fixture = TestBed.createComponent(NewPropertyComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); |
12 changes: 12 additions & 0 deletions
12
frontend/src/app/properties/new-property/new-property.component.ts
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,12 @@ | ||
import { Component } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'app-new-property', | ||
standalone: true, | ||
imports: [], | ||
templateUrl: './new-property.component.html', | ||
styleUrl: './new-property.component.css' | ||
}) | ||
export class NewPropertyComponent { | ||
|
||
} |