File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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} )
2941export class AppComponent {
3042 plrs = [ "FOO" , null , null ]
You can’t perform that action at this time.
0 commit comments