senxor wrote a comment+100 XP
2mos ago
The Laracasts Snippet: Ep 10, I'm Done
Same feeling that those who started writing assembler programs had when new languages and libraries entered into scene. Here a guy worried about performance of my software being overpassed with quickly development of hardware. Sad times for warriors.
senxor wrote a comment+100 XP
2mos ago
Laravel From Scratch (2026 Edition): Ep 28, Idea Cards
It is possible to use in status-label @class directive:
@class([
'inline-block rounded-full border px-2 py-1 text-xs font-medium',
'bg-yellow-500/10 text-yellow-500 border-yellow-500/20' => $status === 'pending',
'bg-blue-500/10 text-blue-500 border-blue-500/20' => $status === 'in_progress',
'bg-primary/10 text-primary border-primary/20' => $status === 'completed',
])