-
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
1 parent
1e245c5
commit cfeff8b
Showing
61 changed files
with
2,334 additions
and
44 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
5 changes: 4 additions & 1 deletion
5
src/app/components/events/event-filter-modal/event-filter-modal.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 +1,4 @@ | ||
<app-event-filter (hideFilterIfNeeded)="activeModal.dismiss('filter applied')"></app-event-filter> | ||
<app-event-filter (hideFilterIfNeeded)="activeModal.dismiss('filter applied')" | ||
*ngIf="type === 'events'"></app-event-filter> | ||
<app-notices-filter (hideFilterIfNeeded)="activeModal.dismiss('filter applied')" | ||
*ngIf="type === 'notices'"></app-notices-filter> |
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
7 changes: 7 additions & 0 deletions
7
src/app/components/notices/no-notices/no-notices.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,7 @@ | ||
<div class="description"> | ||
Nagins resultats per questa tschertga. | ||
</div> | ||
|
||
<button class="clndr accent" (click)="resetFilters()"> | ||
stizzar il filter | ||
</button> |
23 changes: 23 additions & 0 deletions
23
src/app/components/notices/no-notices/no-notices.component.scss
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 'node_modules/bootstrap/scss/functions'; | ||
@import 'node_modules/bootstrap/scss/variables'; | ||
@import 'node_modules/bootstrap/scss/mixins'; | ||
|
||
:host { | ||
display: flex; | ||
padding-top: 80px; | ||
flex-direction: column; | ||
align-items: center; | ||
|
||
@include media-breakpoint-up(lg) { | ||
padding-top: 150px; | ||
} | ||
|
||
.description { | ||
padding: 0.5rem; | ||
} | ||
|
||
button { | ||
margin-top: 20px; | ||
margin-right: 0; | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
src/app/components/notices/no-notices/no-notices.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,21 @@ | ||
import { ComponentFixture, TestBed } from '@angular/core/testing'; | ||
|
||
import { NoNoticesComponent } from './no-notices.component'; | ||
|
||
describe('NoNoticesComponent', () => { | ||
let component: NoNoticesComponent; | ||
let fixture: ComponentFixture<NoNoticesComponent>; | ||
|
||
beforeEach(() => { | ||
TestBed.configureTestingModule({ | ||
declarations: [NoNoticesComponent] | ||
}); | ||
fixture = TestBed.createComponent(NoNoticesComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); |
19 changes: 19 additions & 0 deletions
19
src/app/components/notices/no-notices/no-notices.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,19 @@ | ||
import { Component } from '@angular/core'; | ||
import { NoticesFilterService } from '../../../shared/services/notices-filter.service'; | ||
|
||
@Component({ | ||
selector: 'app-no-notices', | ||
templateUrl: './no-notices.component.html', | ||
styleUrls: ['./no-notices.component.scss'] | ||
}) | ||
export class NoNoticesComponent { | ||
|
||
constructor( | ||
private noticesFilterService: NoticesFilterService, | ||
) { | ||
} | ||
|
||
resetFilters() { | ||
this.noticesFilterService.resetFilters(); | ||
} | ||
} |
21 changes: 21 additions & 0 deletions
21
src/app/components/notices/notice-card/notice-card.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,21 @@ | ||
<a *ngIf="notice" class="evt" [routerLink]="'/notices/' + notice.id" [class.first]="isFirst"> | ||
<div class="image"> | ||
<div class="img-holder"> | ||
<img src="{{ imgUrl }}" alt="{{ notice.title }}" *ngIf="notice.images.length > 0" style="width: 100%"> | ||
</div> | ||
</div> | ||
<div class="description"> | ||
<h3>{{ notice.title }}</h3> | ||
|
||
<div class="details"> | ||
<div class="arrow"> | ||
<svg xmlns="http://www.w3.org/2000/svg" width="30" height="16" viewBox="0 0 30 16" fill="none"> | ||
<path d="M1 8L29 8" stroke="#3CBFA4" stroke-width="2" stroke-linecap="round" | ||
stroke-linejoin="round"></path> | ||
<path d="M22 1L29 8L22 15" stroke="#3CBFA4" stroke-width="2" stroke-linecap="round" | ||
stroke-linejoin="round"></path> | ||
</svg> | ||
</div> | ||
</div> | ||
</div> | ||
</a> |
Oops, something went wrong.