|
@ -1,23 +1,27 @@ |
|
|
<div class="tweet"> |
|
|
|
|
|
|
|
|
<div class="tweet h-entry"> |
|
|
|
|
|
|
|
|
<div class="profile"> |
|
|
|
|
|
<img src="{{ $tweet->player->photo }}" style="border-color: {{ '#'.$tweet->team->color }}"> |
|
|
|
|
|
<span><a href="'https://twitter.com/'+tweet.player_username">{{ '@'.$tweet->player->twitter }}</a></span> |
|
|
|
|
|
|
|
|
<div class="profile u-author h-card"> |
|
|
|
|
|
<img src="{{ $tweet->player->photo }}" style="border-color: {{ '#'.$tweet->team->color }}" class="u-photo"> |
|
|
|
|
|
<span><a href="https://twitter.com/{{ $tweet->player->twitter }}" class="u-url p-name">{{ '@'.$tweet->player->twitter }}</a></span> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="text">{!! Twitter::linkify($tweet->text) !!}</div> |
|
|
|
|
|
|
|
|
<div class="text e-content p-name">{!! Twitter::linkify($tweet->text) !!}</div> |
|
|
|
|
|
|
|
|
@if($tweet->photos()) |
|
|
@if($tweet->photos()) |
|
|
<div class="multi-photo photos-{{ count($tweet->photos()) }}"> |
|
|
<div class="multi-photo photos-{{ count($tweet->photos()) }}"> |
|
|
@foreach($tweet->photos() as $photo) |
|
|
@foreach($tweet->photos() as $photo) |
|
|
<a class="photo" style="background-image:url({{ $photo }})" href="{{ $tweet->twitter_permalink() }}"> |
|
|
<a class="photo" style="background-image:url({{ $photo }})" href="{{ $tweet->twitter_permalink() }}"> |
|
|
<img src="{{ $photo }}"> |
|
|
|
|
|
|
|
|
<img src="{{ $photo }}" class="u-photo"> |
|
|
</a> |
|
|
</a> |
|
|
@endforeach |
|
|
@endforeach |
|
|
</div> |
|
|
</div> |
|
|
<div class="multi-photo-clear"></div> |
|
|
<div class="multi-photo-clear"></div> |
|
|
@endif |
|
|
@endif |
|
|
|
|
|
|
|
|
<a href="{{ $tweet->twitter_permalink() }}">{{ $tweet->localtime()->format('F j, g:ia') }}</a> |
|
|
|
|
|
|
|
|
<a href="{{ $tweet->twitter_permalink() }}" class="u-url"> |
|
|
|
|
|
<time datetime="{{ $tweet->localtime()->format('c') }}" class="dt-published"> |
|
|
|
|
|
{{ $tweet->localtime()->format('F j, g:ia') }} |
|
|
|
|
|
</time> |
|
|
|
|
|
</a> |
|
|
|
|
|
|
|
|
</div> |
|
|
</div> |