Skip to content

Commit 0ed24ee

Browse files
committed
edument plug
1 parent e80a75c commit 0ed24ee

1 file changed

Lines changed: 14 additions & 2 deletions

File tree

src/components/app.ts

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { AuthService } from '../services/authservice';
1212
@Component({
1313
selector: 'app',
1414
template: `
15-
<h2>Github battle</h2>
15+
<h2>Github battle <span>an Angular example app by <a href="https://edument.se">Edument</a></span></h2>
1616
<div *ngIf="!loginName">
1717
You have to <button (click)="logIn()">log in</button>, otherwise Github's API limits won't let us have enough fun!
1818
</div>
@@ -24,7 +24,19 @@ import { AuthService } from '../services/authservice';
2424
<hr/>
2525
<battle></battle>
2626
</div>
27-
`
27+
`,
28+
styles: [`
29+
h2 {
30+
display: flex;
31+
justify-content: space-between;
32+
align-items: flex-end;
33+
}
34+
h2 > span {
35+
font-size: 12px;
36+
font-weight: normal;
37+
color: #CBCBCB;
38+
}
39+
`]
2840
})
2941
export class AppComponent {
3042
plrs = ["FOO",null,null]

0 commit comments

Comments
 (0)