Skip to content

Commit aa38161

Browse files
committed
restructure files/folders in js folder
1 parent 15c8305 commit aa38161

File tree

184 files changed

+5124
-127
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

184 files changed

+5124
-127
lines changed

app/Http/Controllers/Auth/AuthenticatedSessionController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class AuthenticatedSessionController extends Controller
1818
*/
1919
public function create(): Response
2020
{
21-
return Inertia::render('Auth/Login', [
21+
return Inertia::render('auth/Login', [
2222
'canResetPassword' => Route::has('password.request'),
2323
'status' => session('status'),
2424
]);

app/Http/Controllers/Auth/ConfirmablePasswordController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class ConfirmablePasswordController extends Controller
1717
*/
1818
public function show(): Response
1919
{
20-
return Inertia::render('Auth/ConfirmPassword');
20+
return Inertia::render('auth/ConfirmPassword');
2121
}
2222

2323
/**

app/Http/Controllers/Auth/EmailVerificationPromptController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ public function __invoke(Request $request): RedirectResponse|Response
1717
{
1818
return $request->user()->hasVerifiedEmail()
1919
? redirect()->intended(route('dashboard', absolute: false))
20-
: Inertia::render('Auth/VerifyEmail', ['status' => session('status')]);
20+
: Inertia::render('auth/VerifyEmail', ['status' => session('status')]);
2121
}
2222
}

app/Http/Controllers/Auth/NewPasswordController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class NewPasswordController extends Controller
2121
*/
2222
public function create(Request $request): Response
2323
{
24-
return Inertia::render('Auth/ResetPassword', [
24+
return Inertia::render('auth/ResetPassword', [
2525
'email' => $request->email,
2626
'token' => $request->route('token'),
2727
]);

app/Http/Controllers/Auth/PasswordResetLinkController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class PasswordResetLinkController extends Controller
1717
*/
1818
public function create(): Response
1919
{
20-
return Inertia::render('Auth/ForgotPassword', [
20+
return Inertia::render('auth/ForgotPassword', [
2121
'status' => session('status'),
2222
]);
2323
}

app/Http/Controllers/Auth/RegisteredUserController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class RegisteredUserController extends Controller
2020
*/
2121
public function create(): Response
2222
{
23-
return Inertia::render('Auth/Register');
23+
return Inertia::render('auth/Register');
2424
}
2525

2626
/**

app/Http/Controllers/Settings/PasswordController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class PasswordController extends Controller
1818
*/
1919
public function edit(Request $request): Response
2020
{
21-
return Inertia::render('Settings/Password', [
21+
return Inertia::render('settings/Password', [
2222
'mustVerifyEmail' => $request->user() instanceof MustVerifyEmail,
2323
'status' => session('status'),
2424
]);

app/Http/Controllers/Settings/ProfileController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ class ProfileController extends Controller
1919
*/
2020
public function edit(Request $request): Response
2121
{
22-
return Inertia::render('Settings/Profile', [
22+
return Inertia::render('settings/Profile', [
2323
'mustVerifyEmail' => $request->user() instanceof MustVerifyEmail,
2424
'status' => session('status'),
2525
]);

resources/js/Components/AppSidebar.vue

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<script setup lang="ts">
22
import { Github, BookOpenText } from 'lucide-vue-next';
3-
import NavMain from '@/Components/NavMain.vue';
4-
import NavFooter from '@/Components/NavFooter.vue';
5-
import NavUser from '@/Components/NavUser.vue';
3+
import NavMain from '@/components/NavMain.vue';
4+
import NavFooter from '@/components/NavFooter.vue';
5+
import NavUser from '@/components/NavUser.vue';
66
import {
77
Sidebar,
88
SidebarContent,
@@ -11,7 +11,7 @@ import {
1111
SidebarMenu,
1212
SidebarMenuButton,
1313
SidebarMenuItem,
14-
} from '@/Components/ui/sidebar';
14+
} from '@/components/ui/sidebar';
1515
import ApplicationLogo from './ApplicationLogo.vue';
1616
1717
interface NavItem {

resources/js/Components/Heading.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="ts">
2-
import { Separator } from '@/Components/ui/separator'
2+
import { Separator } from '@/components/ui/separator'
33
44
interface Props {
55
title: string

resources/js/Components/NavFooter.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
SidebarMenuButton,
88
SidebarMenuItem,
99
SidebarMenuAction
10-
} from '@/Components/ui/sidebar';
10+
} from '@/components/ui/sidebar';
1111
1212
interface NavItem {
1313
title: string;

resources/js/Components/NavMain.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
SidebarMenu,
77
SidebarMenuButton,
88
SidebarMenuItem,
9-
} from '@/Components/ui/sidebar';
9+
} from '@/components/ui/sidebar';
1010
1111
interface NavItem {
1212
title: string;

resources/js/Components/NavUser.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
Avatar,
77
AvatarFallback,
88
AvatarImage,
9-
} from '@/Components/ui/avatar';
9+
} from '@/components/ui/avatar';
1010
import {
1111
DropdownMenu,
1212
DropdownMenuContent,
@@ -15,12 +15,12 @@ import {
1515
DropdownMenuLabel,
1616
DropdownMenuSeparator,
1717
DropdownMenuTrigger,
18-
} from '@/Components/ui/dropdown-menu';
18+
} from '@/components/ui/dropdown-menu';
1919
import {
2020
SidebarMenu,
2121
SidebarMenuButton,
2222
SidebarMenuItem,
23-
} from '@/Components/ui/sidebar';
23+
} from '@/components/ui/sidebar';
2424
2525
interface User {
2626
name: string;

resources/js/Components/Settings/DeleteUser.vue

+6-6
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ import { useForm } from '@inertiajs/vue3'
44
import { router } from '@inertiajs/vue3'
55
66
// Components
7-
import InputError from '@/Components/InputError.vue'
8-
import { Button } from '@/Components/ui/button'
9-
import { Input } from '@/Components/ui/input'
10-
import { Label } from '@/Components/ui/label'
11-
import SettingsHeading from '@/Components/Settings/Heading.vue'
7+
import InputError from '@/components/InputError.vue'
8+
import { Button } from '@/components/ui/button'
9+
import { Input } from '@/components/ui/input'
10+
import { Label } from '@/components/ui/label'
11+
import SettingsHeading from '@/components/settings/Heading.vue'
1212
import {
1313
Dialog,
1414
DialogContent,
@@ -18,7 +18,7 @@ import {
1818
DialogTrigger,
1919
DialogFooter,
2020
DialogClose,
21-
} from '@/Components/ui/dialog'
21+
} from '@/components/ui/dialog'
2222
2323
const passwordInput = ref<HTMLInputElement | null>(null)
2424
const form = useForm({

resources/js/Components/Settings/Heading.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="ts">
2-
import { Separator } from '@/Components/ui/separator'
2+
import { Separator } from '@/components/ui/separator'
33
44
interface Props {
55
title: string

resources/js/Components/sidebar/NavMain.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
Collapsible,
66
CollapsibleContent,
77
CollapsibleTrigger,
8-
} from '@/Components/ui/collapsible'
8+
} from '@/components/ui/collapsible'
99
import {
1010
SidebarGroup,
1111
SidebarGroupLabel,
@@ -16,7 +16,7 @@
1616
SidebarMenuSub,
1717
SidebarMenuSubButton,
1818
SidebarMenuSubItem,
19-
} from '@/Components/ui/sidebar'
19+
} from '@/components/ui/sidebar'
2020
2121
interface SubItem {
2222
title: string

resources/js/Components/sidebar/NavProjects.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
DropdownMenuItem,
1313
DropdownMenuSeparator,
1414
DropdownMenuTrigger,
15-
} from '@/Components/ui/dropdown-menu'
15+
} from '@/components/ui/dropdown-menu'
1616
import {
1717
SidebarGroup,
1818
SidebarGroupLabel,
@@ -21,7 +21,7 @@
2121
SidebarMenuButton,
2222
SidebarMenuItem,
2323
useSidebar,
24-
} from '@/Components/ui/sidebar'
24+
} from '@/components/ui/sidebar'
2525
2626
interface Project {
2727
name: string

resources/js/Components/sidebar/NavSecondary.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
SidebarMenu,
77
SidebarMenuButton,
88
SidebarMenuItem,
9-
} from '@/Components/ui/sidebar'
9+
} from '@/components/ui/sidebar'
1010
1111
interface NavItem {
1212
title: string

resources/js/Components/sidebar/NavUser.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {
1212
Avatar,
1313
AvatarFallback,
1414
AvatarImage,
15-
} from '@/Components/ui/avatar'
15+
} from '@/components/ui/avatar'
1616
import {
1717
DropdownMenu,
1818
DropdownMenuContent,
@@ -21,13 +21,13 @@ import {
2121
DropdownMenuLabel,
2222
DropdownMenuSeparator,
2323
DropdownMenuTrigger,
24-
} from '@/Components/ui/dropdown-menu'
24+
} from '@/components/ui/dropdown-menu'
2525
import {
2626
SidebarMenu,
2727
SidebarMenuButton,
2828
SidebarMenuItem,
2929
useSidebar,
30-
} from '@/Components/ui/sidebar'
30+
} from '@/components/ui/sidebar'
3131
3232
interface User {
3333
name: string

resources/js/Components/sidebar/Sidebar.vue

+6-6
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ const props = defineProps(['name'])
1313
SquareTerminal,
1414
} from 'lucide-vue-next'
1515
16-
import ApplicationLogo from '@/Components/ApplicationLogo.vue';
17-
import NavMain from '@/Components/sidebar/NavMain.vue'
18-
import NavProjects from '@/Components/sidebar/NavProjects.vue'
19-
import NavSecondary from '@/Components/sidebar/NavSecondary.vue'
20-
import NavUser from '@/Components/sidebar/NavUser.vue'
16+
import ApplicationLogo from '@/components/ApplicationLogo.vue';
17+
import NavMain from '@/components/sidebar/NavMain.vue'
18+
import NavProjects from '@/components/sidebar/NavProjects.vue'
19+
import NavSecondary from '@/components/sidebar/NavSecondary.vue'
20+
import NavUser from '@/components/sidebar/NavUser.vue'
2121
import {
2222
Sidebar,
2323
SidebarContent,
@@ -26,7 +26,7 @@ const props = defineProps(['name'])
2626
SidebarMenu,
2727
SidebarMenuButton,
2828
SidebarMenuItem,
29-
} from '@/Components/ui/sidebar'
29+
} from '@/components/ui/sidebar'
3030
3131
interface NavItem {
3232
title: string

resources/js/Components/ui/sidebar/Sidebar.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script setup lang="ts">
22
import type { HTMLAttributes } from 'vue'
3-
import Sheet from '@/Components/ui/sheet/Sheet.vue'
4-
import SheetContent from '@/Components/ui/sheet/SheetContent.vue'
3+
import Sheet from '@/components/ui/sheet/Sheet.vue'
4+
import SheetContent from '@/components/ui/sheet/SheetContent.vue'
55
import { cn } from '@/lib/utils'
66
import { SIDEBAR_WIDTH_MOBILE, useSidebar } from './utils'
77

resources/js/Components/ui/sidebar/SidebarInput.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup lang="ts">
22
import type { HTMLAttributes } from 'vue'
3-
import Input from '@/Components/ui/input/Input.vue'
3+
import Input from '@/components/ui/input/Input.vue'
44
import { cn } from '@/lib/utils'
55
66
const props = defineProps<{

resources/js/Components/ui/sidebar/SidebarMenuButton.vue

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script setup lang="ts">
2-
import Tooltip from '@/Components/ui/tooltip/Tooltip.vue'
3-
import TooltipContent from '@/Components/ui/tooltip/TooltipContent.vue'
4-
import TooltipTrigger from '@/Components/ui/tooltip/TooltipTrigger.vue'
2+
import Tooltip from '@/components/ui/tooltip/Tooltip.vue'
3+
import TooltipContent from '@/components/ui/tooltip/TooltipContent.vue'
4+
import TooltipTrigger from '@/components/ui/tooltip/TooltipTrigger.vue'
55
import { type Component, computed } from 'vue'
66
import SidebarMenuButtonChild, { type SidebarMenuButtonProps } from './SidebarMenuButtonChild.vue'
77
import { useSidebar } from './utils'

resources/js/Components/ui/sidebar/SidebarMenuSkeleton.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="ts">
2-
import Skeleton from '@/Components/ui/skeleton/Skeleton.vue'
2+
import Skeleton from '@/components/ui/skeleton/Skeleton.vue'
33
import { cn } from '@/lib/utils'
44
import { computed, type HTMLAttributes } from 'vue'
55

resources/js/Components/ui/sidebar/SidebarSeparator.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup lang="ts">
22
import type { HTMLAttributes } from 'vue'
3-
import Separator from '@/Components/ui/separator/Separator.vue'
3+
import Separator from '@/components/ui/separator/Separator.vue'
44
import { cn } from '@/lib/utils'
55
66
const props = defineProps<{

resources/js/Components/ui/sidebar/SidebarTrigger.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup lang="ts">
22
import type { HTMLAttributes } from 'vue'
3-
import Button from '@/Components/ui/button/Button.vue'
3+
import Button from '@/components/ui/button/Button.vue'
44
import { cn } from '@/lib/utils'
55
import { PanelLeft } from 'lucide-vue-next'
66
import { useSidebar } from './utils'

resources/js/Layouts/AppLayout.vue

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
<script setup lang="ts">
22
import { ref } from 'vue';
3-
import AppSidebar from '@/Components/AppSidebar.vue';
3+
import AppSidebar from '@/components/AppSidebar.vue';
44
import {
55
Breadcrumb,
66
BreadcrumbItem,
77
BreadcrumbLink,
88
BreadcrumbList,
99
BreadcrumbPage,
1010
BreadcrumbSeparator,
11-
} from '@/Components/ui/breadcrumb';
12-
import { Separator } from '@/Components/ui/separator';
11+
} from '@/components/ui/breadcrumb';
12+
import { Separator } from '@/components/ui/separator';
1313
import {
1414
SidebarInset,
1515
SidebarProvider,
1616
SidebarTrigger,
17-
} from '@/Components/ui/sidebar';
17+
} from '@/components/ui/sidebar';
1818
1919
interface BreadcrumbItem {
2020
title: string;

resources/js/Layouts/Auth/AuthBase.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!-- AuthBase.vue -->
22
<script setup lang="ts">
33
import { defineProps } from 'vue';
4-
import AuthLayout from '@/Layouts/Auth/AuthSplitLayout.vue';
4+
import AuthLayout from '@/@/components/settings/AuthSplitLayout.vue';
55

66
interface Props {
77
title?: string;

resources/js/Layouts/Auth/AuthCardLayout.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
<script setup lang="ts">
33
import { Link } from '@inertiajs/vue3';
44
import { usePage } from '@inertiajs/vue3';
5-
import ApplicationLogo from '@/Components/ApplicationLogo.vue';
6-
import { Card, CardHeader, CardTitle, CardDescription, CardContent } from '@/Components/ui/card';
5+
import ApplicationLogo from '@/components/ApplicationLogo.vue';
6+
import { Card, CardHeader, CardTitle, CardDescription, CardContent } from '@/components/ui/card';
77

88
interface Props {
99
title?: string;

resources/js/Layouts/Auth/AuthSimpleLayout.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<script setup lang="ts">
33
import { Link } from '@inertiajs/vue3';
44
import { usePage } from '@inertiajs/vue3';
5-
import ApplicationLogo from '@/Components/ApplicationLogo.vue';
5+
import ApplicationLogo from '@/components/ApplicationLogo.vue';
66

77
interface Props {
88
title?: string;

resources/js/Layouts/Auth/AuthSplitLayout.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<script setup lang="ts">
33
import { Link } from '@inertiajs/vue3';
44
import { usePage } from '@inertiajs/vue3';
5-
import ApplicationLogo from '@/Components/ApplicationLogo.vue';
5+
import ApplicationLogo from '@/components/ApplicationLogo.vue';
66

77
interface Props {
88
title?: string;

0 commit comments

Comments
 (0)