サイトからのお知らせを左カラムに追いやった
This commit is contained in:
parent
7337f60491
commit
eef0eac887
6
public/css/tissue.css
vendored
6
public/css/tissue.css
vendored
@ -37,3 +37,9 @@
|
||||
.timeline-action-item {
|
||||
margin-left: 16px;
|
||||
}
|
||||
|
||||
@media (min-width: 992px) {
|
||||
.tis-sidebar-info {
|
||||
font-size: small;
|
||||
}
|
||||
}
|
@ -27,22 +27,22 @@
|
||||
@endcomponent
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-8">
|
||||
<div class="card mb-4">
|
||||
<div class="card-header">サイトからのお知らせ</div>
|
||||
<div class="list-group list-group-flush">
|
||||
<div class="list-group list-group-flush tis-sidebar-info">
|
||||
@foreach($informations as $info)
|
||||
<a class="list-group-item" href="{{ route('info.show', ['id' => $info->id]) }}">
|
||||
@if ($info->pinned)
|
||||
<span class="badge badge-secondary"><span class="oi oi-pin"></span>ピン留め</span>
|
||||
@endif
|
||||
@if ($info->pinned)
|
||||
<span class="badge badge-secondary"><span class="oi oi-pin"></span>ピン留め</span>
|
||||
@endif
|
||||
<span class="badge {{ $categories[$info->category]['class'] }}">{{ $categories[$info->category]['label'] }}</span> {{ $info->title }} <small class="text-secondary">- {{ $info->created_at->format('n月j日') }}</small>
|
||||
</a>
|
||||
@endforeach
|
||||
<a href="{{ route('info') }}" class="list-group-item text-right">お知らせ一覧 »</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-8">
|
||||
@if (!empty($publicLinkedEjaculations))
|
||||
<div class="card mb-4">
|
||||
<div class="card-header">お惣菜コーナー</div>
|
||||
|
Loading…
Reference in New Issue
Block a user