質問編集履歴
2
コードの追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -60,10 +60,22 @@
|
|
60
60
|
</div>
|
61
61
|
```
|
62
62
|
```index.blade.php
|
63
|
+
<body>
|
64
|
+
<x-header>
|
65
|
+
<x-slot name="user_id">{{ route('user.show', $user) }}</x-slot>
|
66
|
+
<x-slot name="user_name">{{ $user->name }}</x-slot>
|
67
|
+
</x-header>
|
63
68
|
<x-sidebar>
|
64
69
|
<x-slot name="user_id">{{ route('user.show', $user) }}</x-slot>
|
65
70
|
<x-slot name="user_name">{{ $user->name }}</x-slot>
|
66
71
|
</x-sidebar>
|
72
|
+
<div class="main_container">
|
73
|
+
<div class="eyecatch_container">
|
74
|
+
<a href="">
|
75
|
+
<div class="eyecatch" style="background-image: url(/images/83Snuq8.jpeg)">
|
76
|
+
</div>
|
77
|
+
</a>
|
78
|
+
</div>
|
67
79
|
```
|
68
80
|
|
69
81
|
### 試したこと
|
1
test
CHANGED
File without changes
|
test
CHANGED
@@ -27,7 +27,7 @@
|
|
27
27
|
}
|
28
28
|
|
29
29
|
```
|
30
|
-
```
|
30
|
+
```sidebar.blade.php
|
31
31
|
<div class="timeline_container">
|
32
32
|
@if ($comments->count())←この部分でエラー発生
|
33
33
|
@foreach ($comments as $comment)
|
@@ -59,6 +59,12 @@
|
|
59
59
|
@endif
|
60
60
|
</div>
|
61
61
|
```
|
62
|
+
```index.blade.php
|
63
|
+
<x-sidebar>
|
64
|
+
<x-slot name="user_id">{{ route('user.show', $user) }}</x-slot>
|
65
|
+
<x-slot name="user_name">{{ $user->name }}</x-slot>
|
66
|
+
</x-sidebar>
|
67
|
+
```
|
62
68
|
|
63
69
|
### 試したこと
|
64
70
|
|