-
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
1370d8c
commit f9d0d77
Showing
14 changed files
with
12,093 additions
and
1,676 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
6 changes: 6 additions & 0 deletions
6
frontend/src/app/shared/components/atoms/list/list.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,6 @@ | ||
<ol *ngIf="ordered"> | ||
<li *ngFor="let item of items">{{ item }}</li> | ||
</ol> | ||
<ul *ngIf="!ordered"> | ||
<li *ngFor="let item of items">{{ item }}</li> | ||
</ul> |
Empty file.
23 changes: 23 additions & 0 deletions
23
frontend/src/app/shared/components/atoms/list/list.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 { ListComponent } from './list.component'; | ||
|
||
describe('ListComponent', () => { | ||
let component: ListComponent; | ||
let fixture: ComponentFixture<ListComponent>; | ||
|
||
beforeEach(async () => { | ||
await TestBed.configureTestingModule({ | ||
declarations: [ListComponent] | ||
}) | ||
.compileComponents(); | ||
|
||
fixture = TestBed.createComponent(ListComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); |
11 changes: 11 additions & 0 deletions
11
frontend/src/app/shared/components/atoms/list/list.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,11 @@ | ||
import { Component } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'list-atom', | ||
templateUrl: './list.component.html', | ||
styleUrl: './list.component.scss' | ||
}) | ||
export class ListComponent { | ||
constructor(public ordered: bool, public items: Array<any>) {} | ||
|
||
} |
1 change: 1 addition & 0 deletions
1
frontend/src/app/shared/components/atoms/navigation/navigation.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>navigation works!</p> |
Empty file.
23 changes: 23 additions & 0 deletions
23
frontend/src/app/shared/components/atoms/navigation/navigation.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 { NavigationComponent } from './navigation.component'; | ||
|
||
describe('NavigationComponent', () => { | ||
let component: NavigationComponent; | ||
let fixture: ComponentFixture<NavigationComponent>; | ||
|
||
beforeEach(async () => { | ||
await TestBed.configureTestingModule({ | ||
declarations: [NavigationComponent] | ||
}) | ||
.compileComponents(); | ||
|
||
fixture = TestBed.createComponent(NavigationComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); |
10 changes: 10 additions & 0 deletions
10
frontend/src/app/shared/components/atoms/navigation/navigation.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,10 @@ | ||
import { Component } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'navigation-atom', | ||
templateUrl: './navigation.component.html', | ||
styleUrl: './navigation.component.scss' | ||
}) | ||
export class NavigationComponent { | ||
|
||
} |
Oops, something went wrong.