Skip to content

Commit b325001

Browse files
author
Shawn McCool
committed
Merge pull request #65 from jeroengerits/master
some structure to the contributors page
2 parents 8fcb101 + 2e4915b commit b325001

File tree

4 files changed

+9
-27
lines changed

4 files changed

+9
-27
lines changed
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<div class="contributor member">
22
<h2>{{ $contributor->name }}</h2>
3-
<img src="{{ $contributor->user->image_url }}" alt="{{ $contributor->name }}">
4-
<p>Count: {{ $contributor->contribution_count }}</p>
3+
<p class="avatar">
4+
<img src="{{ $contributor->user->image_url }}" alt="{{ $contributor->name }}">
5+
</p>
6+
<p class="count">Count: {{ $contributor->contribution_count }}</p>
57
</div>
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
<div class="contributor nonMember">
22
<h2>{{ $contributor->name }}</h2>
3-
<img src="{{ $contributor->avatar_url }}" alt="{{ $contributor->name }}">
4-
<p>Count: {{ $contributor->contribution_count }}</p>
3+
<p class="avatar">
4+
<img src="{{ $contributor->avatar_url }}" alt="{{ $contributor->name }}">
5+
</p>
6+
<p class="count">Count: {{ $contributor->contribution_count }}</p>
57
</div>
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
<div class="contributors">
2-
32
<h1>Contributors</h1>
4-
53
<ul>
64
@foreach($contributors as $contributor)
7-
<li>
5+
<li class="small-6 large-3 columns">
86
@if($contributor->user)
97
@include('contributors._member_card')
108
@else
@@ -13,5 +11,4 @@
1311
</li>
1412
@endforeach
1513
</ul>
16-
1714
</div>

public/scss/modules/_contributors.scss

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,5 @@
44

55
.contributors {
66

7-
h1 {
8-
9-
}
10-
11-
ul {
12-
13-
}
14-
15-
ul > li {
16-
17-
}
18-
19-
ul > li > .contributor.member {
20-
21-
}
22-
23-
ul > li > .contributor.nonMember {
24-
25-
}
267

278
}

0 commit comments

Comments
 (0)