-
Notifications
You must be signed in to change notification settings - Fork 0
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
maibaba
committed
Nov 10, 2022
1 parent
3109052
commit 1c65a25
Showing
3 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
@props([ | ||
'tweets' => [] | ||
]) | ||
<div class="bg-white rounded-md shadow-lg mt-5 md-5"> | ||
<ul> | ||
@foreach($tweets as $tweet) | ||
<li class="border-b list:broder-b-0 border-gray-200 p-4 flex items-start justify-detween"> | ||
<div> | ||
<span class="inline-block rounded-full text-gray-600 bg-gray-100 px-2 py-1 text-xs mb-2"> | ||
{{ $tweet->user->name }} | ||
</span> | ||
<p class="text-gray-600">{!! nl2br(e($tweet->content)) !!}</p> | ||
</div> | ||
<div> | ||
<!-- TODO 編集と削除 --> | ||
</div> | ||
</li> | ||
@endforeach | ||
</ul> | ||
</div> |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<div> | ||
<!-- Order your soul. Reduce your wants. - Augustine --> | ||
</div> |
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