Skip to content

Commit 01fe623

Browse files
committed
fix conflicts
2 parents 594c3e2 + 84be56f commit 01fe623

30 files changed

+7447
-126
lines changed

app/Http/Controllers/Auth/PasswordResetLinkController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ public function store(Request $request): RedirectResponse
3636
$request->only('email')
3737
);
3838

39-
return back()->with('status', __('If an account exists with that email, you’ll receive a reset link shortly.'));
39+
return back()->with('status', __('A reset link will be sent if the account exists.'));
4040
}
4141
}

package-lock.json

+7,308
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/css/app.css

+3-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
@custom-variant dark (&:is(.dark *));
88

99
@theme {
10-
--font-sans: "Instrument Sans", ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
10+
--font-sans:
11+
'Instrument Sans', ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
1112

1213
--radius-lg: var(--radius);
1314
--radius-md: calc(var(--radius) - 2px);
@@ -122,7 +123,7 @@
122123
--primary-foreground: hsl(0, 0%, 9%);
123124
--secondary: hsl(0, 0%, 14.9%);
124125
--secondary-foreground: hsl(0, 0%, 98%);
125-
--muted: hsl(0, 0%, 14.9%);
126+
--muted: hsl(0, 0%, 6.9%);
126127
--muted-foreground: hsl(0, 0%, 63.9%);
127128
--accent: hsl(0, 0%, 14.9%);
128129
--accent-foreground: hsl(0, 0%, 98%);

resources/js/components/app-header.tsx

+8-11
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { useInitials } from '@/hooks/use-initials';
1111
import { cn } from '@/lib/utils';
1212
import { type BreadcrumbItem, type NavItem, type SharedData } from '@/types';
1313
import { Link, usePage } from '@inertiajs/react';
14-
import { BookOpenText, ChevronDown, FolderGit2, LayoutGrid, Menu, Search } from 'lucide-react';
14+
import { BookOpen, Folder, LayoutGrid, Menu, Search } from 'lucide-react';
1515
import AppLogo from './app-logo';
1616
import AppLogoIcon from './app-logo-icon';
1717

@@ -27,16 +27,16 @@ const rightNavItems: NavItem[] = [
2727
{
2828
title: 'Repository',
2929
url: 'https://github.com/laravel/react-starter-kit',
30-
icon: FolderGit2,
30+
icon: Folder,
3131
},
3232
{
3333
title: 'Documentation',
3434
url: 'https://laravel.com/docs/starter-kits',
35-
icon: BookOpenText,
35+
icon: BookOpen,
3636
},
3737
];
3838

39-
const activeItemStyles = 'bg-neutral-100 text-neutral-900 dark:bg-neutral-800 dark:text-neutral-100';
39+
const activeItemStyles = 'text-neutral-900 dark:bg-neutral-800 dark:text-neutral-100';
4040

4141
interface AppHeaderProps {
4242
breadcrumbs?: BreadcrumbItem[];
@@ -127,7 +127,7 @@ export function AppHeader({ breadcrumbs = [] }: AppHeaderProps) {
127127
<div className="ml-auto flex items-center space-x-2">
128128
<div className="relative flex items-center space-x-1">
129129
<Button variant="ghost" size="icon" className="group h-9 w-9 cursor-pointer">
130-
<Search className="h-5 w-5 opacity-80 group-hover:opacity-100" />
130+
<Search className="!size-5 opacity-80 group-hover:opacity-100" />
131131
</Button>
132132
<div className="hidden lg:flex">
133133
{rightNavItems.map((item) => (
@@ -141,9 +141,7 @@ export function AppHeader({ breadcrumbs = [] }: AppHeaderProps) {
141141
className="group text-accent-foreground ring-offset-background hover:bg-accent hover:text-accent-foreground focus-visible:ring-ring ml-1 inline-flex h-9 w-9 items-center justify-center rounded-md bg-transparent p-0 text-sm font-medium transition-colors focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50"
142142
>
143143
<span className="sr-only">{item.title}</span>
144-
{item.icon && (
145-
<Icon iconNode={item.icon} className="h-4 w-4 opacity-80 group-hover:opacity-100" />
146-
)}
144+
{item.icon && <Icon iconNode={item.icon} className="size-5 opacity-80 group-hover:opacity-100" />}
147145
</a>
148146
</TooltipTrigger>
149147
<TooltipContent>
@@ -156,14 +154,13 @@ export function AppHeader({ breadcrumbs = [] }: AppHeaderProps) {
156154
</div>
157155
<DropdownMenu>
158156
<DropdownMenuTrigger asChild>
159-
<Button variant="ghost" className="h-9 px-1.5">
160-
<Avatar className="h-7 w-7 overflow-hidden rounded-lg">
157+
<Button variant="ghost" className="size-10 rounded-full p-1">
158+
<Avatar className="size-8 overflow-hidden rounded-full">
161159
<AvatarImage src={auth.user.avatar} alt={auth.user.name} />
162160
<AvatarFallback className="rounded-lg bg-neutral-200 text-black dark:bg-neutral-700 dark:text-white">
163161
{getInitials(auth.user.name)}
164162
</AvatarFallback>
165163
</Avatar>
166-
<ChevronDown className="hidden h-4 w-4 lg:block" />
167164
</Button>
168165
</DropdownMenuTrigger>
169166
<DropdownMenuContent className="w-56" align="end">

resources/js/components/app-logo-icon.tsx

+6-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@ import { SVGAttributes } from 'react';
22

33
export default function AppLogoIcon(props: SVGAttributes<SVGElement>) {
44
return (
5-
<svg {...props} viewBox="0 0 316 316" xmlns="http://www.w3.org/2000/svg">
6-
<path d="M305.8 81.125C305.77 80.995 305.69 80.885 305.65 80.755C305.56 80.525 305.49 80.285 305.37 80.075C305.29 79.935 305.17 79.815 305.07 79.685C304.94 79.515 304.83 79.325 304.68 79.175C304.55 79.045 304.39 78.955 304.25 78.845C304.09 78.715 303.95 78.575 303.77 78.475L251.32 48.275C249.97 47.495 248.31 47.495 246.96 48.275L194.51 78.475C194.33 78.575 194.19 78.725 194.03 78.845C193.89 78.955 193.73 79.045 193.6 79.175C193.45 79.325 193.34 79.515 193.21 79.685C193.11 79.815 192.99 79.935 192.91 80.075C192.79 80.285 192.71 80.525 192.63 80.755C192.58 80.875 192.51 80.995 192.48 81.125C192.38 81.495 192.33 81.875 192.33 82.265V139.625L148.62 164.795V52.575C148.62 52.185 148.57 51.805 148.47 51.435C148.44 51.305 148.36 51.195 148.32 51.065C148.23 50.835 148.16 50.595 148.04 50.385C147.96 50.245 147.84 50.125 147.74 49.995C147.61 49.825 147.5 49.635 147.35 49.485C147.22 49.355 147.06 49.265 146.92 49.155C146.76 49.025 146.62 48.885 146.44 48.785L93.99 18.585C92.64 17.805 90.98 17.805 89.63 18.585L37.18 48.785C37 48.885 36.86 49.035 36.7 49.155C36.56 49.265 36.4 49.355 36.27 49.485C36.12 49.635 36.01 49.825 35.88 49.995C35.78 50.125 35.66 50.245 35.58 50.385C35.46 50.595 35.38 50.835 35.3 51.065C35.25 51.185 35.18 51.305 35.15 51.435C35.05 51.805 35 52.185 35 52.575V232.235C35 233.795 35.84 235.245 37.19 236.025L142.1 296.425C142.33 296.555 142.58 296.635 142.82 296.725C142.93 296.765 143.04 296.835 143.16 296.865C143.53 296.965 143.9 297.015 144.28 297.015C144.66 297.015 145.03 296.965 145.4 296.865C145.5 296.835 145.59 296.775 145.69 296.745C145.95 296.655 146.21 296.565 146.45 296.435L251.36 236.035C252.72 235.255 253.55 233.815 253.55 232.245V174.885L303.81 145.945C305.17 145.165 306 143.725 306 142.155V82.265C305.95 81.875 305.89 81.495 305.8 81.125ZM144.2 227.205L100.57 202.515L146.39 176.135L196.66 147.195L240.33 172.335L208.29 190.625L144.2 227.205ZM244.75 114.995V164.795L226.39 154.225L201.03 139.625V89.825L219.39 100.395L244.75 114.995ZM249.12 57.105L292.81 82.265L249.12 107.425L205.43 82.265L249.12 57.105ZM114.49 184.425L96.13 194.995V85.305L121.49 70.705L139.85 60.135V169.815L114.49 184.425ZM91.76 27.425L135.45 52.585L91.76 77.745L48.07 52.585L91.76 27.425ZM43.67 60.135L62.03 70.705L87.39 85.305V202.545V202.555V202.565C87.39 202.735 87.44 202.895 87.46 203.055C87.49 203.265 87.49 203.485 87.55 203.695V203.705C87.6 203.875 87.69 204.035 87.76 204.195C87.84 204.375 87.89 204.575 87.99 204.745C87.99 204.745 87.99 204.755 88 204.755C88.09 204.905 88.22 205.035 88.33 205.175C88.45 205.335 88.55 205.495 88.69 205.635L88.7 205.645C88.82 205.765 88.98 205.855 89.12 205.965C89.28 206.085 89.42 206.225 89.59 206.325C89.6 206.325 89.6 206.325 89.61 206.335C89.62 206.335 89.62 206.345 89.63 206.345L139.87 234.775V285.065L43.67 229.705V60.135ZM244.75 229.705L148.58 285.075V234.775L219.8 194.115L244.75 179.875V229.705ZM297.2 139.625L253.49 164.795V114.995L278.85 100.395L297.21 89.825V139.625H297.2Z" />
5+
<svg {...props} viewBox="0 0 40 42" xmlns="http://www.w3.org/2000/svg">
6+
<path
7+
fillRule="evenodd"
8+
clipRule="evenodd"
9+
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"
10+
/>
711
</svg>
812
);
913
}

resources/js/components/app-logo.tsx

+2-3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@ export default function AppLogo() {
66
<div className="bg-sidebar-primary text-sidebar-primary-foreground flex aspect-square size-8 items-center justify-center rounded-md">
77
<AppLogoIcon className="size-5 fill-current text-white dark:text-black" />
88
</div>
9-
<div className="grid flex-1 text-left text-sm leading-tight">
10-
<span className="mb-0.5 truncate leading-none font-semibold">Laravel</span>
11-
<span className="truncate text-[11px] leading-none tracking-tight opacity-80">Starter Kit</span>
9+
<div className="ml-1 grid flex-1 text-left text-sm">
10+
<span className="mb-0.5 truncate leading-none font-semibold">Laravel Starter Kit</span>
1211
</div>
1312
</>
1413
);

resources/js/components/app-sidebar-header.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { type BreadcrumbItem as BreadcrumbItemType } from '@/types';
44

55
export function AppSidebarHeader({ breadcrumbs = [] }: { breadcrumbs?: BreadcrumbItemType[] }) {
66
return (
7-
<header className="border-sidebar-border/50 flex h-16 shrink-0 items-center gap-2 border-b px-4 transition-[width,height] ease-linear group-has-data-[collapsible=icon]/sidebar-wrapper:h-12">
7+
<header className="border-sidebar-border/50 flex h-16 shrink-0 items-center gap-2 border-b px-6 transition-[width,height] ease-linear group-has-data-[collapsible=icon]/sidebar-wrapper:h-12 md:px-4">
88
<div className="flex items-center gap-2">
99
<SidebarTrigger className="-ml-1" />
1010
<Breadcrumbs breadcrumbs={breadcrumbs} />

resources/js/components/app-sidebar.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { NavUser } from '@/components/nav-user';
44
import { Sidebar, SidebarContent, SidebarFooter, SidebarHeader, SidebarMenu, SidebarMenuButton, SidebarMenuItem } from '@/components/ui/sidebar';
55
import { type NavItem } from '@/types';
66
import { Link } from '@inertiajs/react';
7-
import { BookOpenText, FolderGit2, LayoutGrid } from 'lucide-react';
7+
import { BookOpen, Folder, LayoutGrid } from 'lucide-react';
88
import AppLogo from './app-logo';
99

1010
const mainNavItems: NavItem[] = [
@@ -19,12 +19,12 @@ const footerNavItems: NavItem[] = [
1919
{
2020
title: 'Repository',
2121
url: 'https://github.com/laravel/react-starter-kit',
22-
icon: FolderGit2,
22+
icon: Folder,
2323
},
2424
{
2525
title: 'Documentation',
2626
url: 'https://laravel.com/docs/starter-kits',
27-
icon: BookOpenText,
27+
icon: BookOpen,
2828
},
2929
];
3030

resources/js/components/delete-user.tsx

+6-5
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,12 @@ export default function DeleteUser() {
3434
return (
3535
<div className="space-y-6">
3636
<HeadingSmall title="Delete account" description="Delete your account and all of its resources" />
37-
<div className="flex items-center rounded-lg border border-red-100 bg-red-50 p-3 dark:border-red-950 dark:bg-red-700/10">
37+
<div className="space-y-4 rounded-lg border border-red-100 bg-red-50 p-4 dark:border-red-200/10 dark:bg-red-700/10">
38+
<div className="relative space-y-0.5 text-red-600 dark:text-red-100">
39+
<p className="font-medium">Warning</p>
40+
<p className="text-sm">Please proceed with caution, this cannot be undone.</p>
41+
</div>
42+
3843
<Dialog>
3944
<DialogTrigger asChild>
4045
<Button variant="destructive">Delete account</Button>
@@ -79,10 +84,6 @@ export default function DeleteUser() {
7984
</form>
8085
</DialogContent>
8186
</Dialog>
82-
<div className="relative ml-3 text-red-600 dark:text-red-100">
83-
<p className="mb-1 text-sm leading-none font-medium">Warning</p>
84-
<p className="text-xs leading-none">Please proceed with caution, this cannot be undone.</p>
85-
</div>
8687
</div>
8788
</div>
8889
);

resources/js/components/heading-small.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ export default function HeadingSmall({ title, description }: { title: string; de
22
return (
33
<header>
44
<h3 className="mb-0.5 text-base font-medium">{title}</h3>
5-
{description && <p className="text-muted-foreground text-xs">{description}</p>}
5+
{description && <p className="text-muted-foreground text-sm">{description}</p>}
66
</header>
77
);
88
}

resources/js/components/heading.tsx

+3-6
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
1-
import { Separator } from '@/components/ui/separator';
2-
31
export default function Heading({ title, description }: { title: string; description?: string }) {
42
return (
53
<>
6-
<div className="space-y-0.5">
7-
<h2 className="text-base font-semibold tracking-tight sm:text-lg lg:text-xl">{title}</h2>
8-
{description && <p className="text-muted-foreground text-xs md:text-sm">{description}</p>}
4+
<div className="mb-8 space-y-0.5">
5+
<h2 className="text-xl font-semibold tracking-tight">{title}</h2>
6+
{description && <p className="text-muted-foreground text-sm">{description}</p>}
97
</div>
10-
<Separator className="my-6" />
118
</>
129
);
1310
}

resources/js/components/text-link.tsx

+4-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ type LinkProps = ComponentProps<typeof Link>;
77
export default function TextLink({ className = '', children, ...props }: LinkProps) {
88
return (
99
<Link
10-
className={cn('underline decoration-neutral-400 underline-offset-2 duration-300 ease-out hover:decoration-neutral-700', className)}
10+
className={cn(
11+
'text-foreground underline decoration-neutral-300 underline-offset-4 transition-colors duration-300 ease-out hover:decoration-current! dark:decoration-neutral-500',
12+
className,
13+
)}
1114
{...props}
1215
>
1316
{children}

resources/js/components/ui/checkbox.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ const Checkbox = React.forwardRef<React.ElementRef<typeof CheckboxPrimitive.Root
99
<CheckboxPrimitive.Root
1010
ref={ref}
1111
className={cn(
12-
'peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground',
12+
'peer size-5 shrink-0 rounded-sm border border-input ring-offset-background focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground data-[state=checked]:border-accent-foreground',
1313
className,
1414
)}
1515
{...props}
1616
>
1717
<CheckboxPrimitive.Indicator className={cn('flex items-center justify-center text-current')}>
18-
<Check className="h-4 w-4" />
18+
<Check className="size-3.5 stroke-[3]" />
1919
</CheckboxPrimitive.Indicator>
2020
</CheckboxPrimitive.Root>
2121
),

resources/js/components/ui/placeholder-pattern.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ export function PlaceholderPattern({ className }: PlaceholderPatternProps) {
1010
return (
1111
<svg className={className} fill="none">
1212
<defs>
13-
<pattern id={patternId} x="0" y="0" width="10" height="10" patternUnits="userSpaceOnUse">
14-
<path d="M-3 13 15-5M-5 5l18-18M-1 21 17 3"></path>
13+
<pattern id={patternId} x="0" y="0" width="8" height="8" patternUnits="userSpaceOnUse">
14+
<path d="M-1 5L5 -1M3 9L8.5 3.5" stroke-width="0.5"></path>
1515
</pattern>
1616
</defs>
1717
<rect stroke="none" fill={`url(#${patternId})`} width="100%" height="100%"></rect>

resources/js/components/user-info.tsx

+4-4
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@ import { Avatar, AvatarFallback, AvatarImage } from '@/components/ui/avatar';
22
import { useInitials } from '@/hooks/use-initials';
33
import { type User } from '@/types';
44

5-
export function UserInfo({ user }: { user: User }) {
5+
export function UserInfo({ user, showEmail = false }: { user: User; showEmail?: boolean }) {
66
const getInitials = useInitials();
77

88
return (
99
<>
10-
<Avatar className="h-8 w-8 overflow-hidden rounded-lg">
10+
<Avatar className="h-8 w-8 overflow-hidden rounded-full">
1111
<AvatarImage src={user.avatar} alt={user.name} />
1212
<AvatarFallback className="rounded-lg bg-neutral-200 text-black dark:bg-neutral-700 dark:text-white">
1313
{getInitials(user.name)}
1414
</AvatarFallback>
1515
</Avatar>
1616
<div className="grid flex-1 text-left text-sm leading-tight">
17-
<span className="truncate font-semibold">{user.name}</span>
18-
<span className="truncate text-xs">{user.email}</span>
17+
<span className="truncate font-medium">{user.name}</span>
18+
{showEmail && <span className="text-muted-foreground truncate text-xs">{user.email}</span>}
1919
</div>
2020
</>
2121
);

resources/js/components/user-menu-content.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export function UserMenuContent({ user }: UserMenuContentProps) {
1616
<>
1717
<DropdownMenuLabel className="p-0 font-normal">
1818
<div className="flex items-center gap-2 px-1 py-1.5 text-left text-sm">
19-
<UserInfo user={user} />
19+
<UserInfo user={user} showEmail={true} />
2020
</div>
2121
</DropdownMenuLabel>
2222
<DropdownMenuSeparator />

resources/js/layouts/auth/auth-card-layout.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ export default function AuthCardLayout({
1515
<div className="bg-muted flex min-h-svh flex-col items-center justify-center gap-6 p-6 md:p-10">
1616
<div className="flex w-full max-w-md flex-col gap-6">
1717
<a href="#" className="flex items-center gap-2 self-center font-medium">
18-
<div className="flex h-10 w-10 items-center justify-center">
19-
<AppLogoIcon className="size-10 fill-current text-black" />
18+
<div className="flex h-9 w-9 items-center justify-center">
19+
<AppLogoIcon className="size-9 fill-current text-black dark:text-white" />
2020
</div>
2121
</a>
2222

0 commit comments

Comments
 (0)