File tree 3 files changed +5
-2
lines changed
3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 5
5
@section (' content' )
6
6
<nav class =" mb-4" >
7
7
<a href =" {{ route (' tasks.create' ) } }"
8
- class =" font-medium text-gray-700 underline decoration-pink-500 " >Add Task</a >
8
+ class =" link " >Add Task</a >
9
9
</nav >
10
10
@forelse ($tasks as $task )
11
11
<div >
Original file line number Diff line number Diff line change 11
11
.btn {
12
12
@apply rounded-md px- 2 py- 1 text-center font-medium shadow-sm ring- 1 ring-slate- 700/10 hover :bg-slate-50 text-slate-700
13
13
}
14
+ .link {
15
+ @apply font-medium text-gray- 700 underline decoration-pink- 500
16
+ }
14
17
</style >
15
18
@yield (' styles' )
16
19
</head >
Original file line number Diff line number Diff line change 5
5
@section (' content' )
6
6
<div class =" mb-4" >
7
7
<a href =" {{ route (' tasks.index' ) } }"
8
- class =" font-medium text-gray-700 underline decoration-pink-500 " >← Go back to the task list!</a >
8
+ class =" link " >← Go back to the task list!</a >
9
9
</div >
10
10
11
11
<p class =" mb-4 text-slate-700" >{{ $task -> description } } </p >
You can’t perform that action at this time.
0 commit comments