Skip to content

Commit 034fe88

Browse files
committed
run npm format
1 parent 1fbef39 commit 034fe88

File tree

16 files changed

+68
-42
lines changed

16 files changed

+68
-42
lines changed

resources/css/app.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,4 +88,4 @@ html {
8888
body {
8989
@apply bg-background text-foreground;
9090
}
91-
}
91+
}

resources/js/components/AppHeader.vue

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@ const isCurrentRoute = (url: string) => {
3535
return page.url === url;
3636
};
3737
38-
const activeItemStyles = computed(
39-
() => (url: string) => (isCurrentRoute(url) ? 'text-neutral-900 dark:bg-neutral-800 dark:text-neutral-100' : ''),
40-
);
38+
const activeItemStyles = computed(() => (url: string) => (isCurrentRoute(url) ? 'text-neutral-900 dark:bg-neutral-800 dark:text-neutral-100' : ''));
4139
4240
const mainNavItems: NavItem[] = [
4341
{
@@ -134,7 +132,7 @@ const rightNavItems: NavItem[] = [
134132

135133
<div class="ml-auto flex items-center space-x-2">
136134
<div class="relative flex items-center space-x-1">
137-
<Button variant="ghost" size="icon" class="h-9 w-9 cursor-pointer group">
135+
<Button variant="ghost" size="icon" class="group h-9 w-9 cursor-pointer">
138136
<Search class="size-5 opacity-80 group-hover:opacity-100" />
139137
</Button>
140138

@@ -143,7 +141,7 @@ const rightNavItems: NavItem[] = [
143141
<TooltipProvider :delay-duration="0">
144142
<Tooltip>
145143
<TooltipTrigger>
146-
<Button variant="ghost" size="icon" as-child class="h-9 w-9 group cursor-pointer">
144+
<Button variant="ghost" size="icon" as-child class="group h-9 w-9 cursor-pointer">
147145
<a :href="item.url" target="_blank" rel="noopener noreferrer">
148146
<span class="sr-only">{{ item.title }}</span>
149147
<component :is="item.icon" class="size-5 opacity-80 group-hover:opacity-100" />
@@ -161,10 +159,14 @@ const rightNavItems: NavItem[] = [
161159

162160
<DropdownMenu>
163161
<DropdownMenuTrigger :as-child="true">
164-
<Button variant="ghost" size="icon" class="relative size-10 w-auto rounded-full p-1 focus-within:ring-primary focus-within:ring-2">
162+
<Button
163+
variant="ghost"
164+
size="icon"
165+
class="relative size-10 w-auto rounded-full p-1 focus-within:ring-2 focus-within:ring-primary"
166+
>
165167
<Avatar class="size-8 overflow-hidden rounded-full">
166168
<AvatarImage :src="auth.user.avatar" :alt="auth.user.name" />
167-
<AvatarFallback class="rounded-lg bg-neutral-200 text-black font-semibold dark:bg-neutral-700 dark:text-white">
169+
<AvatarFallback class="rounded-lg bg-neutral-200 font-semibold text-black dark:bg-neutral-700 dark:text-white">
168170
{{ getInitials(auth.user?.name) }}
169171
</AvatarFallback>
170172
</Avatar>

resources/js/components/AppLogo.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ defineProps<Props>();
99
</script>
1010

1111
<template>
12-
<div class="bg-sidebar-primary text-sidebar-primary-foreground flex aspect-square size-8 items-center justify-center rounded-md">
12+
<div class="flex aspect-square size-8 items-center justify-center rounded-md bg-sidebar-primary text-sidebar-primary-foreground">
1313
<AppLogoIcon class="size-5 fill-current text-white dark:text-black" />
1414
</div>
1515
<div class="ml-1 grid flex-1 text-left text-sm">
16-
<span class="mb-0.5 truncate leading-none font-semibold">Laravel Starter Kit</span>
16+
<span class="mb-0.5 truncate font-semibold leading-none">Laravel Starter Kit</span>
1717
</div>
1818
</template>

resources/js/components/AppLogoIcon.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ defineProps<Props>();
1414

1515
<template>
1616
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 42" :class="className" v-bind="$attrs">
17-
<path
18-
fill="currentColor"
19-
fill-rule="evenodd"
17+
<path
18+
fill="currentColor"
19+
fill-rule="evenodd"
2020
clip-rule="evenodd"
2121
d="M17.2 5.633 8.6.855 0 5.633v26.51l16.2 9 16.2-9v-8.442l7.6-4.223V9.856l-8.6-4.777-8.6 4.777V18.3l-5.6 3.111V5.633ZM38 18.301l-5.6 3.11v-6.157l5.6-3.11V18.3Zm-1.06-7.856-5.54 3.078-5.54-3.079 5.54-3.078 5.54 3.079ZM24.8 18.3v-6.157l5.6 3.111v6.158L24.8 18.3Zm-1 1.732 5.54 3.078-13.14 7.302-5.54-3.078 13.14-7.3v-.002Zm-16.2 7.89 7.6 4.222V38.3L2 30.966V7.92l5.6 3.111v16.892ZM8.6 9.3 3.06 6.222 8.6 3.143l5.54 3.08L8.6 9.3Zm21.8 15.51-13.2 7.334V38.3l13.2-7.334v-6.156ZM9.6 11.034l5.6-3.11v14.6l-5.6 3.11v-14.6Z"
2222
/>

resources/js/components/AppSidebarHeader.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ defineProps<{
1010

1111
<template>
1212
<header
13-
class="flex h-16 shrink-0 items-center gap-2 border-b border-sidebar-border/70 px-6 md:px-4 transition-[width,height] ease-linear group-has-[[data-collapsible=icon]]/sidebar-wrapper:h-12"
13+
class="flex h-16 shrink-0 items-center gap-2 border-b border-sidebar-border/70 px-6 transition-[width,height] ease-linear group-has-[[data-collapsible=icon]]/sidebar-wrapper:h-12 md:px-4"
1414
>
1515
<div class="flex items-center gap-2">
1616
<SidebarTrigger class="-ml-1" />

resources/js/components/Heading.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ defineProps<Props>();
1212
<template>
1313
<div class="mb-8 space-y-0.5">
1414
<h2 class="text-xl font-semibold tracking-tight">{{ title }}</h2>
15-
<p v-if="description" class="text-muted-foreground text-sm">
15+
<p v-if="description" class="text-sm text-muted-foreground">
1616
{{ description }}
1717
</p>
1818
</div>

resources/js/components/PlaceholderPattern.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script setup lang="ts">
2-
import { computed } from 'vue'
2+
import { computed } from 'vue';
33
4-
const patternId = computed(() => `pattern-${Math.random().toString(36).substring(2, 9)}`)
4+
const patternId = computed(() => `pattern-${Math.random().toString(36).substring(2, 9)}`);
55
</script>
66

77
<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="text-foreground underline decoration-neutral-300 underline-offset-4 transition-colors duration-300 ease-out hover:decoration-current! 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/components/UserInfo.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ interface Props {
1010
}
1111
1212
const props = withDefaults(defineProps<Props>(), {
13-
showEmail: false
13+
showEmail: false,
1414
});
1515
1616
const { getInitials } = useInitials();

resources/js/layouts/auth/AuthSimpleLayout.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ defineProps<{
1414
<div class="flex flex-col gap-8">
1515
<div class="flex flex-col items-center gap-4">
1616
<Link :href="route('home')" class="flex flex-col items-center gap-2 font-medium">
17-
<div class="flex h-9 w-9 mb-1 items-center justify-center rounded-md">
17+
<div class="mb-1 flex h-9 w-9 items-center justify-center rounded-md">
1818
<AppLogoIcon class="size-9 fill-current text-[var(--foreground)] dark:text-white" />
1919
</div>
2020
<span class="sr-only">{{ title }}</span>
2121
</Link>
2222
<div class="space-y-2 text-center">
2323
<h1 class="text-xl font-medium">{{ title }}</h1>
24-
<p class="text-muted-foreground text-center text-sm">{{ description }}</p>
24+
<p class="text-center text-sm text-muted-foreground">{{ description }}</p>
2525
</div>
2626
</div>
2727
<slot />

0 commit comments

Comments
 (0)