Skip to content

Catch up #309

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 27, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
186 changes: 92 additions & 94 deletions resources/js/pages/Welcome.vue
Original file line number Diff line number Diff line change
Expand Up @@ -20,105 +20,103 @@ const page = usePage();
<InertiaHead title="Welcome" />

<Container fluid>
<div class="min-h-full">
<div class="h-screen flex items-center justify-center">
<Card pt:body:class="p-4 py-6 sm:p-12">
<template #content>
<div class="text-center md:text-left">
<span class="block text-6xl font-bold text-red-500 dark:text-red-400 mb-1">Laravel,</span>
<div class="text-6xl font-bold text-indigo-500 dark:text-indigo-400 mb-1">
Inertia.js,
</div>
<div class="text-6xl text-green-500 dark:text-green-400 text-emerald font-bold mb-4">
& PrimeVue
</div>
<p class="mt-0 mb-4 text-muted-color leading-normal">
A starter kit using
<div class="min-h-svh flex items-center justify-center">
<Card pt:body:class="p-4 py-6 sm:p-12">
<template #content>
<div class="text-center md:text-left">
<span class="block text-6xl font-bold text-red-500 dark:text-red-400 mb-1">Laravel,</span>
<div class="text-6xl font-bold text-indigo-500 dark:text-indigo-400 mb-1">
Inertia.js,
</div>
<div class="text-6xl text-green-500 dark:text-green-400 text-emerald font-bold mb-4">
& PrimeVue
</div>
<p class="mt-0 mb-4 text-muted-color leading-normal">
A starter kit using
<Button
class="p-0 no-underline"
variant="link"
as="a"
label="Laravel"
href="https://laravel.com/docs/master"
target="_blank"
rel="noopener"
/>,
<Button
class="p-0 no-underline"
variant="link"
as="a"
label="Inertia.js"
href="https://inertiajs.com/"
target="_blank"
rel="noopener"
/>, and
<Button
class="p-0 no-underline"
variant="link"
as="a"
label="PrimeVue"
href="https://primevue.org/"
target="_blank"
rel="noopener"
/>.
</p>
<template v-if="page.props.auth.user">
<InertiaLink :href="route('dashboard')">
<Button
label="Dashboard"
class="mr-4"
>
<template #icon>
<LayoutGrid />
</template>
</Button>
</InertiaLink>
<InertiaLink :href="route('profile.edit')">
<Button
class="p-0 no-underline"
variant="link"
as="a"
label="Laravel"
href="https://laravel.com/docs/master"
target="_blank"
rel="noopener"
/>,
outlined
label="Profile Settings"
class="mr-4"
>
<template #icon>
<Settings />
</template>
</Button>
</InertiaLink>
</template>
<template v-else>
<InertiaLink :href="route('login')">
<Button
class="p-0 no-underline"
variant="link"
as="a"
label="Inertia.js"
href="https://inertiajs.com/"
target="_blank"
rel="noopener"
/>, and
label="Login"
class="mr-4"
>
<template #icon>
<LogIn />
</template>
</Button>
</InertiaLink>
<InertiaLink :href="route('register')">
<Button
class="p-0 no-underline"
variant="link"
as="a"
label="PrimeVue"
href="https://primevue.org/"
target="_blank"
rel="noopener"
/>.
outlined
label="Register"
class="mr-4"
>
<template #icon>
<UserPlus />
</template>
</Button>
</InertiaLink>
</template>
<div class="mt-6">
<p class="m-0 text-sm text-muted-color">
Laravel v{{ laravelVersion }} (PHP v{{
phpVersion
}})
</p>
<template v-if="page.props.auth.user">
<InertiaLink :href="route('dashboard')">
<Button
label="Dashboard"
class="mr-4"
>
<template #icon>
<LayoutGrid />
</template>
</Button>
</InertiaLink>
<InertiaLink :href="route('profile.edit')">
<Button
outlined
label="Profile Settings"
class="mr-4"
>
<template #icon>
<Settings />
</template>
</Button>
</InertiaLink>
</template>
<template v-else>
<InertiaLink :href="route('login')">
<Button
label="Login"
class="mr-4"
>
<template #icon>
<LogIn />
</template>
</Button>
</InertiaLink>
<InertiaLink :href="route('register')">
<Button
outlined
label="Register"
class="mr-4"
>
<template #icon>
<UserPlus />
</template>
</Button>
</InertiaLink>
</template>
<div class="mt-6">
<p class="m-0 text-sm text-muted-color">
Laravel v{{ laravelVersion }} (PHP v{{
phpVersion
}})
</p>
</div>
</div>
</template>
</Card>
</div>
</div>
</template>
</Card>
</div>
</Container>
</template>