Squashed commit of the following:

commit 7b73d1f1b677ac33e03f3dead77fcb4495372883
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Thu Nov 3 23:37:00 2016 +0000

    output of gulp compress

commit 7acbd37c0941474d8981fe671c5865488711e726
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Thu Nov 3 23:36:05 2016 +0000

    Use an icon for replies

commit a01cf13b3ad149cefff8eca3d328c60721b7cda0
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Thu Nov 3 23:35:14 2016 +0000

    Get gulp sass working with updated node

commit d7b08067d2f0a85abd51b9e58eb3f86ba63d8c15
Author: Jonny Barnes <jonny@jonnybarnes.uk>
Date:   Thu Nov 3 23:18:54 2016 +0000

    We don’t need to fill the svg icons all the same colour
This commit is contained in:
Jonny Barnes 2016-11-03 23:38:01 +00:00
parent 6fcbce92dd
commit a546f90314
23 changed files with 116 additions and 141 deletions

View file

@ -71,7 +71,6 @@ nav {
.icon {
width: auto;
height: 1em;
fill: $blue;
}
.coordinates {

View file

@ -18,7 +18,7 @@
<a class="u-url" href="/notes/{{ $note->nb60id }}"><time class="dt-published" datetime="{{ $note->iso8601_time }}">{{ $note->human_time }}</time></a>@if($note->client_name) via <a class="client" href="{{ $note->client_id }}">{{ $note->client_name }}</a>@endif
@if($note->placeLink)in <span class="p-location h-card"><a class="p-name u-url" href="{{ $note->placeLink }}">{{ $note->address }}</a><data class="p-latitude" value="{{ $note->latitude }}"></data><data class="p-longitude" value="{{ $note->longitude }}"></data></span>
@elseif($note->address)in <span class="p-location h-adr">{!! $note->address !!}<data class="p-latitude" value="{{ $note->latitude }}"></data><data class="p-longitude" value="{{ $note->longitude }}"></data></span>@endif
@if($note->replies > 0)Replies: {{ $note->replies }}@endif
@if($note->replies > 0) @include('templates.replies-icon'): {{ $note->replies }}@endif
@if($note->tweet_id || $note->facebook_url)@include('templates.social-links', ['tweet_id' => $note->tweet_id, 'facebook_url' => $note->facebook_url])@endif
@if ($note->placeLink)
<div class="map" data-latitude="{{ $note->latitude }}" data-longitude="{{ $note->longitude }}"></div>

View file

@ -0,0 +1,12 @@
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" class="icon">
<path d="M440.704,391.771C454.312,375.362,462,354.216,462,332.679c0-35.26-19.864-65.01-49.435-83.766
c4.186-13.053,6.395-26.594,6.395-40.27c0-90.207-87.645-155.312-184.479-155.312C137.037,53.331,50,118.929,50,208.644
c0,31.822,11.358,63.066,31.465,87.309c0.849,28.41-15.719,69.156-30.643,98.842c39.998-7.295,96.866-23.416,122.654-39.357
c15.134,3.717,29.826,6.027,44.007,7.1c17.877,50.588,80.211,89.32,160.944,69.494c17.455,10.789,55.943,21.699,83.016,26.639
C451.342,438.577,440.129,410.999,440.704,391.771z M172.431,318.04c-34.595,20.203-65.042,28.264-65.042,28.264
s10.299-27.762,14.588-59.699c-21.101-21.508-36.05-43.32-36.05-77.961c0-65.83,66.641-119.387,148.554-119.387
c81.912,0,148.554,53.557,148.554,119.387C383.034,276.784,304.718,353.12,172.431,318.04z M418.856,421.499
c0,0-19.577-5.182-41.82-18.172c-65.705,17.422-110.659-7.877-127.746-40.469c70.42-4.076,124.766-40.012,151.465-87.078
c19.564,14.066,31.901,34.5,31.901,57.207c0,22.273-9.612,36.297-23.179,50.127C412.234,403.649,418.856,421.499,418.856,421.499"
/>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB