-
-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
64d95a8
commit 65fc1d7
Showing
1 changed file
with
11 additions
and
14 deletions.
There are no files selected for viewing
25 changes: 11 additions & 14 deletions
25
app/Plugins/Topic/resources/views/ShortCode/tag.blade.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,16 @@ | ||
<div class="row row-cards justify-content-center"> | ||
<div class="col-md-6"> | ||
<div class="card"> | ||
<div class="card-status-top" style="{{ Core_Ui()->Css()->bg_color($value->color) }}"></div> | ||
<div class="card-body"> | ||
<div class="row"> | ||
<div class="col-auto"> | ||
<span class="avatar" style="background-image: url({{ $value->icon }})"></span> | ||
</div> | ||
<div class="col"> | ||
<a href="/tags/{{ $value->id }}.html" | ||
class="card-title text-h2">{{ $value->name }}</a> | ||
{{ \Hyperf\Utils\Str::limit(core_default($value->description, __("app.no description")), 32) }} | ||
</div> | ||
<div class="col-md-10"> | ||
<a href="/tags/{{$value->id}}.html" class="card card-link text-primary-fg" style="background-color: {{$value->color}}!important;"> | ||
<div class="card-stamp"> | ||
<div class="card-stamp-icon bg-yellow"> | ||
<!-- Download SVG icon from http://tabler-icons.io/i/star --> | ||
{!! $value->icon !!} | ||
</div> | ||
</div> | ||
</div> | ||
<div class="card-body"> | ||
<h3 class="card-title">{{$value->name}}</h3> | ||
<p>{{ \Hyperf\Utils\Str::limit(core_default($value->description, __("app.no description")), 32) }}</p> | ||
</div> | ||
</a> | ||
</div> | ||
</div> |