senxor's avatar

senxor wrote a comment+100 XP

1mo ago

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's avatar

senxor wrote a comment+100 XP

2mos ago

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',

])