+ + {{ user.company }} +
++ + {{ user.location }} +
++ + {{ user.public_repos }} +
++ + {{ user.followers }} +
+{{ repo.description }}
+ + {{ repo.stargazers_count }} + diff --git a/src/app/repo/repo.component.scss b/src/app/repo/repo.component.scss new file mode 100644 index 00000000..7cc3bca3 --- /dev/null +++ b/src/app/repo/repo.component.scss @@ -0,0 +1,32 @@ +@import "~src/app/styles/variables"; + +:host { + display: block; + margin-bottom: 35px; +} + +a { + font-size: 35px; + color: $purple; + text-decoration: none; + margin-bottom: 10px; + display: block; +} + +p { + font-size: 20px; + margin: 0 0 15px; + font-weight: 300; +} + +span { + font-size: 20px; + color: $lightgray; + font-weight: 300; + display: flex; + + img { + margin-right: 8px; + width: 25px; + } +} diff --git a/src/app/repo/repo.component.spec.ts b/src/app/repo/repo.component.spec.ts new file mode 100644 index 00000000..ed6437d3 --- /dev/null +++ b/src/app/repo/repo.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { RepoComponent } from './repo.component'; + +describe('RepoComponent', () => { + let component: RepoComponent; + let fixture: ComponentFixture