-
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
Showing
8 changed files
with
78 additions
and
63 deletions.
There are no files selected for viewing
14 changes: 4 additions & 10 deletions
14
projects/doc/src/app/pages/buttons-page/buttons-page.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,17 +1,11 @@ | ||
|
||
<div> | ||
Square 3d button | ||
|
||
<wtd-presentation-container title="Square 3d button"> | ||
<wtd-code-snippet source="buttons/square3d-button-example" [files]="['html']"> | ||
<wtd-square3d-button-example/> | ||
</wtd-code-snippet> | ||
</wtd-presentation-container> | ||
|
||
</div> | ||
|
||
<div> | ||
Among us button<br> | ||
<wtd-presentation-container title="Among us button"> | ||
<wtd-code-snippet source="buttons/among-us-button-example" [files]="['html']"> | ||
<wtd-among-us-button-example/> | ||
</wtd-code-snippet> | ||
|
||
</div> | ||
</wtd-presentation-container> |
70 changes: 30 additions & 40 deletions
70
projects/doc/src/app/pages/loaders-page/loaders-page.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,46 +1,36 @@ | ||
<wtd-presentation-container title="Double dots"> | ||
<wtd-code-snippet source="loaders/double-dots-loader-example" [files]="['html']"> | ||
<wtd-double-dots-loader-example/> | ||
</wtd-code-snippet> | ||
</wtd-presentation-container> | ||
<wtd-presentation-container title="DVD"> | ||
|
||
<div> | ||
Loaders | ||
<div> | ||
Double dots | ||
<wtd-code-snippet source="loaders/dvd-loader-example" [files]="['html']"> | ||
<wtd-dvd-loader-example/> | ||
</wtd-code-snippet> | ||
</wtd-presentation-container> | ||
|
||
<wtd-code-snippet source="loaders/double-dots-loader-example" [files]="['html']"> | ||
<wtd-double-dots-loader-example/> | ||
</wtd-code-snippet> | ||
</div> | ||
<div> | ||
DVD | ||
<wtd-presentation-container title="Camp"> | ||
<wtd-code-snippet source="loaders/camp-loader-example" [files]="['html']"> | ||
<wtd-camp-loader-example/> | ||
</wtd-code-snippet> | ||
</wtd-presentation-container> | ||
|
||
<wtd-code-snippet source="loaders/dvd-loader-example" [files]="['html']"> | ||
<wtd-dvd-loader-example/> | ||
</wtd-code-snippet> | ||
</div> | ||
<div> | ||
Camp | ||
|
||
<wtd-code-snippet source="loaders/camp-loader-example" [files]="['html']"> | ||
<wtd-camp-loader-example/> | ||
</wtd-code-snippet> | ||
</div> | ||
<div> | ||
Hourglass | ||
<wtd-presentation-container title="Hourglass"> | ||
<wtd-code-snippet source="loaders/hourglass-loader-example" [files]="['html']"> | ||
<wtd-hourglass-loader-example/> | ||
</wtd-code-snippet> | ||
</wtd-presentation-container> | ||
<wtd-presentation-container title="Fire"> | ||
<wtd-code-snippet source="loaders/fire-loader-example" [files]="['html']"> | ||
<wtd-fire-loader-example/> | ||
</wtd-code-snippet> | ||
</wtd-presentation-container> | ||
|
||
<wtd-code-snippet source="loaders/hourglass-loader-example" [files]="['html']"> | ||
<wtd-hourglass-loader-example/> | ||
</wtd-code-snippet> | ||
</div> | ||
<div> | ||
Fire | ||
<wtd-presentation-container title="Rotating cube"> | ||
|
||
<wtd-code-snippet source="loaders/fire-loader-example" [files]="['html']"> | ||
<wtd-fire-loader-example/> | ||
</wtd-code-snippet> | ||
</div> | ||
<div> | ||
Rotating cube | ||
|
||
<wtd-code-snippet source="loaders/rotating-cube-loader-example" [files]="['html']"> | ||
<wtd-rotating-cube-loader-example/> | ||
</wtd-code-snippet> | ||
</div> | ||
</div> | ||
<wtd-code-snippet source="loaders/rotating-cube-loader-example" [files]="['html']"> | ||
<wtd-rotating-cube-loader-example/> | ||
</wtd-code-snippet> | ||
</wtd-presentation-container> |
16 changes: 5 additions & 11 deletions
16
projects/doc/src/app/pages/switches-page/switches-page.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,11 +1,5 @@ | ||
|
||
<div> | ||
Switches | ||
<div> | ||
Rocker switch | ||
|
||
<wtd-code-snippet source="buttons/square3d-button-example" [files]="['html','ts']"> | ||
<wtd-rocker-switch-example/> | ||
</wtd-code-snippet> | ||
</div> | ||
</div> | ||
<wtd-presentation-container title="Rocker switch"> | ||
<wtd-code-snippet source="buttons/square3d-button-example" [files]="['html','ts']"> | ||
<wtd-rocker-switch-example/> | ||
</wtd-code-snippet> | ||
</wtd-presentation-container> |
3 changes: 3 additions & 0 deletions
3
...src/app/shared-doc/container/presentation-container/presentation-container.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,3 @@ | ||
<h2>{{title}}</h2> | ||
|
||
<ng-content></ng-content> |
Empty file.
21 changes: 21 additions & 0 deletions
21
.../app/shared-doc/container/presentation-container/presentation-container.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 { PresentationContainerComponent } from './presentation-container.component'; | ||
|
||
describe('PresentationContainerComponent', () => { | ||
let component: PresentationContainerComponent; | ||
let fixture: ComponentFixture<PresentationContainerComponent>; | ||
|
||
beforeEach(() => { | ||
TestBed.configureTestingModule({ | ||
declarations: [PresentationContainerComponent] | ||
}); | ||
fixture = TestBed.createComponent(PresentationContainerComponent); | ||
component = fixture.componentInstance; | ||
fixture.detectChanges(); | ||
}); | ||
|
||
it('should create', () => { | ||
expect(component).toBeTruthy(); | ||
}); | ||
}); |
10 changes: 10 additions & 0 deletions
10
...c/src/app/shared-doc/container/presentation-container/presentation-container.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, Input} from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'wtd-presentation-container', | ||
templateUrl: './presentation-container.component.html', | ||
styleUrls: ['./presentation-container.component.scss'] | ||
}) | ||
export class PresentationContainerComponent { | ||
@Input() title!: string; | ||
} |
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