Skip to content

Commit 426f012

Browse files
committed
chore(demo): add sponsor (Omniboard)
1 parent 56385b2 commit 426f012

File tree

7 files changed

+150
-2
lines changed

7 files changed

+150
-2
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,3 +120,17 @@ or submit a [pull request](https://github.com/angular-extensions/elements/pulls)
120120
<!-- prettier-ignore-end -->
121121

122122
<!-- ALL-CONTRIBUTORS-LIST:END -->
123+
124+
## Sponsors
125+
126+
> Are you currently working in an enterprise environment with many applications and found yourself thinking you could provide so much more value only if you had better overview to plan, track progress and just get things done?
127+
128+
Try _[Omniboard](https://omniboard.dev), the best tool for lead software engineers and architects_
129+
that helps them to get an overview to drive change by querying and tracking all their code bases!
130+
131+
The free plan let's you get a full overview of all your projects with your first dashboard, tracking up to 3 different things!
132+
133+
<a href="http://www.youtube.com/watch?feature=player_embedded&v=uDnNE9FuLwc" target="_blank">
134+
<img src="https://app.omniboard.dev/assets/videos/omniboard-getting-started.png"
135+
alt="Omniboard.dev - getting started in less than 5 minutes" width="100%" />
136+
</a>

projects/elements-demo/src/app/app.component.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
</mat-sidenav>
1616
<mat-sidenav-content>
1717
<router-outlet></router-outlet>
18+
<demo-sponsor></demo-sponsor>
1819
</mat-sidenav-content>
1920
</mat-sidenav-container>
2021
<demo-footer></demo-footer>

projects/elements-demo/src/app/core/core.module.ts

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,16 @@ import { SharedModule } from '../shared/shared.module';
66

77
import { ToolbarComponent } from './layout/toolbar/toolbar.component';
88
import { NavigationComponent } from './layout/navigation/navigation.component';
9+
import { SponsorComponent } from './sponsor/sponsor.component';
910
import { FooterComponent } from './layout/footer/footer.component';
1011

1112
@NgModule({
12-
declarations: [ToolbarComponent, NavigationComponent, FooterComponent],
13+
declarations: [
14+
ToolbarComponent,
15+
NavigationComponent,
16+
SponsorComponent,
17+
FooterComponent,
18+
],
1319
imports: [
1420
// vendor
1521
RouterModule,
@@ -30,6 +36,11 @@ import { FooterComponent } from './layout/footer/footer.component';
3036
},
3137
},
3238
],
33-
exports: [ToolbarComponent, NavigationComponent, FooterComponent],
39+
exports: [
40+
ToolbarComponent,
41+
NavigationComponent,
42+
SponsorComponent,
43+
FooterComponent,
44+
],
3445
})
3546
export class CoreModule {}
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<h2>Sponsors</h2>
2+
<blockquote>
3+
Are you currently working in an
4+
<strong>enterprise environment with many applications</strong> and found
5+
yourself thinking you could provide so much more value only if you had better
6+
overview to plan, track progress and just get things done?
7+
</blockquote>
8+
9+
<div class="wrapper">
10+
<div class="description">
11+
<p class="main">
12+
Try
13+
<strong>
14+
<a href="https://omniboard.dev" target="_blank" rel="noopener"
15+
>Omniboard</a
16+
>, the best tool for lead software engineers and architects</strong
17+
>
18+
that helps them to get an overview to drive change by querying and
19+
tracking all their code bases!
20+
</p>
21+
<p>
22+
The free plan let's you get a full overview of all your projects with your
23+
first dashboard, tracking up to 3 different things!
24+
</p>
25+
</div>
26+
<video
27+
controls
28+
poster="https://app.omniboard.dev/assets/videos/omniboard-getting-started.png"
29+
>
30+
<source
31+
src="https://app.omniboard.dev/assets/videos/omniboard-getting-started.mp4"
32+
type="video/mp4"
33+
/>
34+
</video>
35+
</div>
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
:host {
2+
display: block;
3+
padding: 40px;
4+
}
5+
6+
h2 {
7+
font-weight: bold;
8+
}
9+
10+
blockquote {
11+
font-size: 24px;
12+
line-height: 48px;
13+
margin: 40px 100px;
14+
font-style: normal;
15+
}
16+
17+
.wrapper {
18+
display: flex;
19+
> * {
20+
width: 50%;
21+
padding: 20px;
22+
}
23+
video {
24+
border-radius: 10px;
25+
}
26+
27+
.description {
28+
display: flex;
29+
flex-direction: column;
30+
justify-content: center;
31+
32+
.main {
33+
font-size: 18px;
34+
}
35+
}
36+
}
37+
38+
:host-context(.responsive) {
39+
blockquote {
40+
font-size: 16px;
41+
line-height: 32px;
42+
margin: 0 0 20px 0;
43+
}
44+
45+
.wrapper {
46+
flex-direction: column;
47+
> * {
48+
width: 100%;
49+
}
50+
}
51+
}
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
import { ComponentFixture, TestBed } from '@angular/core/testing';
2+
3+
import { SponsorComponent } from './sponsor.component';
4+
5+
describe('SponsorComponent', () => {
6+
let component: SponsorComponent;
7+
let fixture: ComponentFixture<SponsorComponent>;
8+
9+
beforeEach(async () => {
10+
await TestBed.configureTestingModule({
11+
declarations: [SponsorComponent],
12+
}).compileComponents();
13+
});
14+
15+
beforeEach(() => {
16+
fixture = TestBed.createComponent(SponsorComponent);
17+
component = fixture.componentInstance;
18+
fixture.detectChanges();
19+
});
20+
21+
it('should create', () => {
22+
expect(component).toBeTruthy();
23+
});
24+
});
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import { Component, OnInit } from '@angular/core';
2+
3+
@Component({
4+
selector: 'demo-sponsor',
5+
templateUrl: './sponsor.component.html',
6+
styleUrls: ['./sponsor.component.scss'],
7+
})
8+
export class SponsorComponent implements OnInit {
9+
constructor() {}
10+
11+
ngOnInit(): void {}
12+
}

0 commit comments

Comments
 (0)