ailyye's avatar

ailyye wrote a comment+100 XP

3w ago

why in the Laravel community when they mention FE frameworks they talk about React/Vue but never Angular?

ailyye's avatar

ailyye wrote a comment+100 XP

3w ago

@ldommer doesn't really matter in the context of learning Livewire

ailyye's avatar

ailyye wrote a comment+100 XP

4w ago

sick haircut

ailyye's avatar

ailyye wrote a comment+100 XP

4w ago

very cool!

ailyye's avatar

ailyye wrote a comment+100 XP

1mo ago

the CreateIdea constructor must be like this

public function __construct(#[CurrentUser()] protected User $user)
{
}

with parentheses after the attribute, without it wont work ( at least in my case)

ailyye's avatar

ailyye wrote a comment+100 XP

1mo ago

we got html, css, js, and php in the same file RIP SOC

ailyye's avatar

ailyye liked a comment+100 XP

1mo ago

Seems that Jeffery did not mention displaying flash data. We just need to add it from seesion as below:

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Idea</title>

    @vite(['resources/css/app.css'])
</head>

<body class="bg-background text-foreground">
    <x-layout.nav />

    {{-- Flash Data --}}
    @if (session('success'))
        <div class="fixed bottom-4 right-4 bg-primary text-primary-foreground px-6 py-3 rounded-xl shadow-lg">
            {{ session('success') }}</div>
    @endif

    <main class="max-w-7xl mx-auto px-6 pb-10">
        {{ $slot }}
    </main>
</body>

</html>
ailyye's avatar

ailyye liked a comment+100 XP

1mo ago

Color theme for those looking to copy:

    --color-background: oklch(0.12 0 0);
    --color-foreground: oklch(0.95 0 0);
    --color-card: oklch(0.16 0 0);
    --color-primary: oklch(0.65 0.15 160);
    --color-primary-foreground: oklch(0.12 0 0);
    --color-border: oklch(0.24 0 0);
    --color-input: oklch(0.24 0 0);
    --color-muted-foreground: oklch(0.6 0 0);
ailyye's avatar

ailyye liked a comment+100 XP

1mo ago

@nosthas

ailyye's avatar

ailyye wrote a comment+100 XP

2mos ago

fire

ailyye's avatar

ailyye wrote a comment+100 XP

2mos ago

noice

ailyye's avatar

ailyye wrote a comment+100 XP

3mos ago

nice

ailyye's avatar

ailyye liked a comment+100 XP

3mos ago

please share the github link

ailyye's avatar

ailyye wrote a comment+100 XP

3mos ago

prod quality so good

ailyye's avatar

ailyye wrote a comment+100 XP

3mos ago

good