Skip to content

Commit

Permalink
Add icon to the collection widget
Browse files Browse the repository at this point in the history
  • Loading branch information
jackmcdade committed Mar 16, 2021
1 parent 8ea8b96 commit 28e2290
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion resources/views/widgets/collection.blade.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
<div class="card p-0 overflow-hidden">
<div class="flex justify-between items-center p-2">
<h2>{{ $title }}</h2>
<h2 class="flex items-center">
<div class="h-6 w-6 mr-1 text-grey-80">
@cp_svg('content-writing')
</div>
<span>{{ $title }}</span>
</h2>
<a href="{{ $collection->createEntryUrl() }}" class="text-blue hover:text-blue-dark text-sm">{{ $button }}</a>
</div>
<collection-widget
Expand Down

0 comments on commit 28e2290

Please sign in to comment.