Skip to content

Commit fdea26f

Browse files
committed
fix conflicts
2 parents 59084a2 + ca47e6e commit fdea26f

File tree

14 files changed

+57
-97
lines changed

14 files changed

+57
-97
lines changed

.github/workflows/tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,6 @@ jobs:
3434
- name: Install Node Dependencies
3535
run: npm ci
3636

37-
- name: Create SQLite Database
38-
run: touch database/database.sqlite
39-
4037
- name: Install Dependencies
4138
run: composer install --no-interaction --prefer-dist --optimize-autoloader
4239

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/.phpunit.cache
2+
/bootstrap/ssr
23
/node_modules
34
/public/build
45
/public/hot

components.json

Lines changed: 18 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,20 @@
11
{
2-
"$schema": "https://shadcn-vue.com/schema.json",
3-
"style": "default",
4-
"typescript": true,
5-
"tsConfigPath": "./tsconfig.json",
6-
"tailwind": {
7-
"config": "tailwind.config.js",
8-
"css": "resources/css/app.css",
9-
"baseColor": "neutral",
10-
"cssVariables": true,
11-
"prefix": ""
12-
},
13-
"framework": "laravel",
14-
"aliases": {
15-
"components": "resources/js/Components",
16-
"utils": "@/lib/utils",
17-
"ui": "resources/js/Components/ui",
18-
"lib": "@/lib",
19-
"hooks": "@/hooks"
20-
}
2+
"$schema": "https://shadcn-vue.com/schema.json",
3+
"style": "default",
4+
"typescript": true,
5+
"tailwind": {
6+
"config": "tailwind.config.js",
7+
"css": "resources/css/app.css",
8+
"baseColor": "neutral",
9+
"cssVariables": true,
10+
"prefix": ""
11+
},
12+
"aliases": {
13+
"components": "@/components",
14+
"composables": "@/composables",
15+
"utils": "@/lib/utils",
16+
"ui": "@/components/ui",
17+
"lib": "@/lib"
18+
},
19+
"iconLibrary": "lucide"
2120
}

package-lock.json

Lines changed: 24 additions & 46 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
"dependencies": {
2626
"@headlessui/vue": "^1.7.23",
2727
"@inertiajs/vue3": "^2.0.0-beta.3",
28-
"@tailwindcss/forms": "^0.5.3",
2928
"@vitejs/plugin-vue": "^5.2.1",
3029
"@vueuse/core": "^12.0.0",
3130
"autoprefixer": "^10.4.20",

resources/js/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { createInertiaApp } from '@inertiajs/vue3';
44
import { resolvePageComponent } from 'laravel-vite-plugin/inertia-helpers';
55
import type { DefineComponent } from 'vue';
66
import { createApp, h } from 'vue';
7-
import { ZiggyVue } from '../../vendor/tightenco/ziggy';
7+
import { ZiggyVue } from 'ziggy-js';
88
import { initializeTheme } from './composables/useAppearance';
99

1010
// Extend ImportMeta interface for Vite...

resources/js/components/AppHeader.vue

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ const props = withDefaults(defineProps<Props>(), {
3232
const page = usePage();
3333
const auth = computed(() => page.props.auth);
3434
35-
const isCurrentRoute = (url: string) => {
36-
return page.url === url;
37-
};
35+
const isCurrentRoute = computed(() => (url: string) => page.url === url);
3836
39-
const activeItemStyles = computed(() => (url: string) => (isCurrentRoute(url) ? 'text-neutral-900 dark:bg-neutral-800 dark:text-neutral-100' : ''));
37+
const activeItemStyles = computed(
38+
() => (url: string) => (isCurrentRoute.value(url) ? 'text-neutral-900 dark:bg-neutral-800 dark:text-neutral-100' : ''),
39+
);
4040
4141
const mainNavItems: NavItem[] = [
4242
{
@@ -125,7 +125,10 @@ const rightNavItems: NavItem[] = [
125125
{{ item.title }}
126126
</NavigationMenuLink>
127127
</Link>
128-
<div class="absolute bottom-0 left-0 h-0.5 w-full translate-y-px bg-black dark:bg-white"></div>
128+
<div
129+
v-if="isCurrentRoute(item.href)"
130+
class="absolute bottom-0 left-0 h-0.5 w-full translate-y-px bg-black dark:bg-white"
131+
></div>
129132
</NavigationMenuItem>
130133
</NavigationMenuList>
131134
</NavigationMenu>

resources/js/components/AppLogo.vue

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,5 @@
11
<script setup lang="ts">
22
import AppLogoIcon from '@/components/AppLogoIcon.vue';
3-
4-
interface Props {
5-
class?: string;
6-
}
7-
8-
defineProps<Props>();
93
</script>
104

115
<template>

resources/js/components/Breadcrumbs.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ defineProps<{
2121
<BreadcrumbPage>{{ item.title }}</BreadcrumbPage>
2222
</template>
2323
<template v-else>
24-
<BreadcrumbLink>
24+
<BreadcrumbLink as-child>
2525
<Link :href="item.href ?? '#'">{{ item.title }}</Link>
2626
</BreadcrumbLink>
2727
</template>

resources/js/components/TextLink.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ defineProps<Props>();
1717
:tabindex="tabindex"
1818
:method="method"
1919
:as="as"
20-
class="hover:decoration-current! text-foreground underline decoration-neutral-300 underline-offset-4 transition-colors duration-300 ease-out dark:decoration-neutral-500"
20+
class="hover:!decoration-current text-foreground underline decoration-neutral-300 underline-offset-4 transition-colors duration-300 ease-out dark:decoration-neutral-500"
2121
>
2222
<slot />
2323
</Link>

resources/js/pages/Dashboard.vue

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ const breadcrumbs: BreadcrumbItem[] = [
1010
href: '/dashboard',
1111
},
1212
];
13-
14-
defineProps<{
15-
name?: string;
16-
}>();
1713
</script>
1814

1915
<template>

resources/js/pages/settings/Password.vue

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,6 @@ import { Input } from '@/components/ui/input';
1212
import { Label } from '@/components/ui/label';
1313
import { type BreadcrumbItem } from '@/types';
1414
15-
interface Props {
16-
className?: string;
17-
}
18-
19-
defineProps<Props>();
20-
2115
const breadcrumbItems: BreadcrumbItem[] = [
2216
{
2317
title: 'Password settings',
@@ -59,7 +53,7 @@ const updatePassword = () => {
5953

6054
<template>
6155
<AppLayout :breadcrumbs="breadcrumbItems">
62-
<Head title="Profile settings" />
56+
<Head title="Password settings" />
6357

6458
<SettingsLayout>
6559
<div class="space-y-6">

resources/js/pages/settings/Profile.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import { type BreadcrumbItem, type SharedData, type User } from '@/types';
1515
interface Props {
1616
mustVerifyEmail: boolean;
1717
status?: string;
18-
className?: string;
1918
}
2019
2120
defineProps<Props>();
@@ -78,7 +77,7 @@ const submit = () => {
7877
:href="route('verification.send')"
7978
method="post"
8079
as="button"
81-
class="hover:decoration-current! text-foreground underline decoration-neutral-300 underline-offset-4 transition-colors duration-300 ease-out dark:decoration-neutral-500"
80+
class="hover:!decoration-current text-foreground underline decoration-neutral-300 underline-offset-4 transition-colors duration-300 ease-out dark:decoration-neutral-500"
8281
>
8382
Click here to resend the verification email.
8483
</Link>

resources/js/types/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import type { LucideIcon } from 'lucide-vue-next';
21
import type { PageProps } from '@inertiajs/core';
2+
import type { LucideIcon } from 'lucide-vue-next';
33

44
export interface Auth {
55
user: User;

0 commit comments

Comments
 (0)