Skip to content

Commit 086d6f2

Browse files
committed
cleaning up a few more styles
1 parent d3d6e14 commit 086d6f2

File tree

4 files changed

+14
-14
lines changed

4 files changed

+14
-14
lines changed

resources/js/components/AppHeader.vue

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import UserMenuContent from '@/components/UserMenuContent.vue';
1717
import { getInitials } from '@/composables/useInitials';
1818
import type { BreadcrumbItem, NavItem } from '@/types';
1919
import { Link, usePage } from '@inertiajs/vue3';
20-
import { BookOpen, Folder, ChevronDown, LayoutGrid, Menu, Search } from 'lucide-vue-next';
20+
import { BookOpen, Folder, LayoutGrid, Menu, Search } from 'lucide-vue-next';
2121
import { computed } from 'vue';
2222
2323
interface Props {
@@ -161,14 +161,13 @@ const rightNavItems: NavItem[] = [
161161

162162
<DropdownMenu>
163163
<DropdownMenuTrigger :as-child="true">
164-
<Button variant="ghost" size="icon" class="relative size-10 w-auto rounded-full p-1">
165-
<Avatar className="size-8 overflow-hidden rounded-full">
164+
<Button variant="ghost" size="icon" class="relative size-10 w-auto rounded-full p-1 focus-within:ring-primary focus-within:ring-2">
165+
<Avatar class="size-8 overflow-hidden rounded-full">
166166
<AvatarImage :src="auth.user.avatar" :alt="auth.user.name" />
167-
<AvatarFallback class="rounded-lg bg-neutral-200 text-black dark:bg-neutral-700 dark:text-white">
167+
<AvatarFallback class="rounded-lg bg-neutral-200 text-black font-semibold dark:bg-neutral-700 dark:text-white">
168168
{{ getInitials(auth.user?.name) }}
169169
</AvatarFallback>
170170
</Avatar>
171-
<ChevronDown class="ml-auto mr-1 size-4" />
172171
</Button>
173172
</DropdownMenuTrigger>
174173
<DropdownMenuContent align="end" class="w-56">

resources/js/components/AppLogoIcon.vue

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,12 @@ defineProps<Props>();
1313
</script>
1414

1515
<template>
16-
<svg viewBox="0 0 40 42" xmlns="http://www.w3.org/2000/svg" :class="className" v-bind="$attrs">
17-
<path
18-
fillRule="evenodd"
19-
clipRule="evenodd"
20-
d="M17.2 5.63325L8.6 0.855469L0 5.63325V32.1434L16.2 41.1434L32.4 32.1434V23.699L40 19.4767V9.85547L31.4 5.07769L22.8 9.85547V18.2999L17.2 21.411V5.63325ZM38 18.2999L32.4 21.411V15.2545L38 12.1434V18.2999ZM36.9409 10.4439L31.4 13.5221L25.8591 10.4439L31.4 7.36561L36.9409 10.4439ZM24.8 18.2999V12.1434L30.4 15.2545V21.411L24.8 18.2999ZM23.8 20.0323L29.3409 23.1105L16.2 30.411L10.6591 27.3328L23.8 20.0323ZM7.6 27.9212L15.2 32.1434V38.2999L2 30.9666V7.92116L7.6 11.0323V27.9212ZM8.6 9.29991L3.05913 6.22165L8.6 3.14339L14.1409 6.22165L8.6 9.29991ZM30.4 24.8101L17.2 32.1434V38.2999L30.4 30.9666V24.8101ZM9.6 11.0323L15.2 7.92117V22.5221L9.6 25.6333V11.0323Z"
16+
<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"
20+
clip-rule="evenodd"
21+
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"
2122
/>
2223
</svg>
2324
</template>

resources/js/layouts/auth/AuthCardLayout.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ defineProps<{
1313
<div class="flex min-h-svh flex-col items-center justify-center gap-6 bg-muted p-6 md:p-10">
1414
<div class="flex w-full max-w-md flex-col gap-6">
1515
<Link :href="route('home')" class="flex items-center gap-2 self-center font-medium">
16-
<div class="flex h-10 w-10 items-center justify-center">
17-
<AppLogoIcon class="size-10 fill-current text-black" />
16+
<div class="flex h-9 w-9 items-center justify-center">
17+
<AppLogoIcon class="size-9 fill-current text-black" />
1818
</div>
1919
</Link>
2020

resources/js/layouts/auth/AuthSimpleLayout.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ 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-10 w-10 items-center justify-center rounded-md">
18-
<AppLogoIcon class="size-10 fill-current text-[var(--foreground)] dark:text-white" />
17+
<div class="flex h-9 w-9 items-center justify-center rounded-md">
18+
<AppLogoIcon class="size-9 fill-current text-[var(--foreground)] dark:text-white" />
1919
</div>
2020
<span class="sr-only">{{ title }}</span>
2121
</Link>

0 commit comments

Comments
 (0)