Skip to content

Commit e9ce8df

Browse files
committed
making copy and structure updates
1 parent 3d92862 commit e9ce8df

File tree

15 files changed

+82
-53
lines changed

15 files changed

+82
-53
lines changed

resources/css/app.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
--muted-foreground: 0 0% 63.9%;
5555
--accent: 0 0% 14.9%;
5656
--accent-foreground: 0 0% 98%;
57-
--destructive: 0 62.8% 30.6%;
57+
--destructive: 0 84% 60%;
5858
--destructive-foreground: 0 0% 98%;
5959
--border: 0 0% 14.9%;
6060
--input: 0 0% 14.9%;
@@ -66,7 +66,7 @@
6666
--chart-5: 340 75% 55%;
6767
--sidebar-background: 0 0% 7%;
6868
--sidebar-foreground: 0 0% 95.9%;
69-
--sidebar-primary: 6, 72%, 55%;
69+
--sidebar-primary: 360, 100%, 100%;
7070
--sidebar-primary-foreground: 0 0% 100%;
7171
--sidebar-accent: 0 0% 15.9%;
7272
--sidebar-accent-foreground: 240 4.8% 95.9%;
@@ -83,4 +83,4 @@
8383
body {
8484
@apply bg-background text-foreground;
8585
}
86-
}
86+
}

resources/js/components/AppHeader.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<script setup lang="ts">
22
import { Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator } from '@/components/ui/breadcrumb';
3-
import { Separator } from '@/components/ui/separator';
43
import { SidebarTrigger } from '@/components/ui/sidebar';
54
import { type BreadcrumbItem as BreadcrumbItemType } from '@/types';
65
@@ -14,7 +13,9 @@ const props = withDefaults(defineProps<Props>(), {
1413
</script>
1514

1615
<template>
17-
<header class="flex h-16 w-full shrink-0 items-center justify-between gap-2 border-b px-4">
16+
<header
17+
class="flex h-16 shrink-0 items-center gap-2 px-4 transition-[width,height] ease-linear group-has-[[data-collapsible=icon]]/sidebar-wrapper:h-12"
18+
>
1819
<div class="flex items-center gap-2">
1920
<SidebarTrigger class="-ml-1" />
2021
<template v-if="breadcrumbs.length > 0">

resources/js/components/AppSidebar.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,11 @@ const handleSidebarChange = (open: boolean) => {
5656
<SidebarMenu>
5757
<SidebarMenuItem>
5858
<SidebarMenuButton size="lg" as-child>
59-
<a href="#" class="flex items-center gap-3">
59+
<a href="#">
6060
<div
6161
class="flex aspect-square size-8 items-center justify-center rounded-md bg-sidebar-primary text-sidebar-primary-foreground"
6262
>
63-
<ApplicationLogo class="size-5 fill-current text-white" />
63+
<ApplicationLogo class="size-5 fill-current text-white dark:text-black" />
6464
</div>
6565
<div class="grid flex-1 text-left text-sm leading-tight">
6666
<span class="truncate font-semibold">Laravel</span>

resources/js/components/DeleteUser.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,12 @@ const closeModal = () => {
4242
</script>
4343

4444
<template>
45-
<div>
46-
<HeadingSmall title="Delete Account" description="Delete your account and all of its resources" />
47-
<div className="border border-red-100 dark:border-red-950 p-3 rounded-lg flex items-center bg-red-50 dark:bg-red-500/20">
45+
<div class="space-y-6">
46+
<HeadingSmall title="Delete account" description="Delete your account and all of its resources" />
47+
<div className="border border-red-100 dark:border-red-950 p-3 rounded-lg flex items-center bg-red-50 dark:bg-red-700/10">
4848
<Dialog>
4949
<DialogTrigger as-child>
50-
<Button variant="destructive">Delete Account</Button>
50+
<Button variant="destructive">Delete account</Button>
5151
</DialogTrigger>
5252
<DialogContent>
5353
<form class="space-y-6" @submit="deleteUser">
@@ -72,7 +72,7 @@ const closeModal = () => {
7272
</DialogClose>
7373

7474
<Button variant="destructive" :disabled="form.processing">
75-
<button type="submit">Delete Account</button>
75+
<button type="submit">Delete account</button>
7676
</Button>
7777
</DialogFooter>
7878
</form>

resources/js/components/Heading.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ defineProps<Props>();
1111

1212
<template>
1313
<div class="space-y-0.5">
14-
<h2 class="text-lg font-bold tracking-tight sm:text-xl md:text-2xl">{{ title }}</h2>
15-
<p v-if="description" class="text-sm text-muted-foreground md:text-base">
14+
<h2 class="text-base font-semibold tracking-tight sm:text-lg lg:text-xl">{{ title }}</h2>
15+
<p v-if="description" class="text-xs text-muted-foreground md:text-sm">
1616
{{ description }}
1717
</p>
1818
</div>
Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
<script setup lang="ts">
2-
import { Separator } from '@/components/ui/separator';
3-
42
interface Props {
53
title: string;
64
description?: string;
@@ -10,13 +8,10 @@ defineProps<Props>();
108
</script>
119

1210
<template>
13-
<div>
14-
<header>
15-
<h3 class="mb-1 text-lg font-medium">{{ title }}</h3>
16-
<p v-if="description" class="text-sm text-muted-foreground">
17-
{{ description }}
18-
</p>
19-
</header>
20-
<Separator class="my-6" />
21-
</div>
11+
<header>
12+
<h3 class="mb-0.5 text-base font-medium">{{ title }}</h3>
13+
<p v-if="description" class="text-xs text-muted-foreground">
14+
{{ description }}
15+
</p>
16+
</header>
2217
</template>

resources/js/components/InputError.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
5
12
<script setup lang="ts">
23
defineProps<{
34
message?: string;
@@ -6,7 +7,7 @@ defineProps<{
67

78
<template>
89
<div v-show="message">
9-
<p class="text-sm text-red-600 dark:text-red-400">
10+
<p class="text-sm text-red-600 dark:text-red-500">
1011
{{ message }}
1112
</p>
1213
</div>

resources/js/components/NavFooter.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<script setup lang="ts">
2-
import { SidebarGroup, SidebarGroupContent, SidebarMenu, SidebarMenuAction, SidebarMenuButton, SidebarMenuItem } from '@/components/ui/sidebar';
2+
import { SidebarGroup, SidebarGroupContent, SidebarMenu, SidebarMenuButton, SidebarMenuItem } from '@/components/ui/sidebar';
33
import { type NavItem } from '@/types';
4-
import { ExternalLink } from 'lucide-vue-next';
54
65
interface Props {
76
items: NavItem[];

resources/js/components/NavMain.vue

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="ts">
2-
import { SidebarGroup, SidebarMenu, SidebarMenuButton, SidebarMenuItem } from '@/components/ui/sidebar';
2+
import { SidebarGroup, SidebarGroupLabel, SidebarMenu, SidebarMenuButton, SidebarMenuItem } from '@/components/ui/sidebar';
33
import { type NavItem, type SharedData } from '@/types';
44
import { Link, usePage } from '@inertiajs/vue3';
55
@@ -11,7 +11,8 @@ const page = usePage<SharedData>();
1111
</script>
1212

1313
<template>
14-
<SidebarGroup>
14+
<SidebarGroup class="px-2 py-0">
15+
<SidebarGroupLabel>Platform</SidebarGroupLabel>
1516
<SidebarMenu>
1617
<SidebarMenuItem v-for="item in items" :key="item.title">
1718
<SidebarMenuButton as-child :is-active="item.url === page.url">

resources/js/layouts/settings/Layout.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ const currentItem = sidebarNavItems.find((item) => currentPath === item.href);
2525
</script>
2626

2727
<template>
28-
<div class="p-5 sm:p-8 md:p-10">
28+
<div class="border-t border-sidebar-border/70 p-5 lg:p-7">
2929
<Heading title="Settings" description="Manage your profile and account settings" />
3030

3131
<div class="flex flex-col space-y-8 md:flex-row md:space-x-12 md:space-y-0">
@@ -35,7 +35,7 @@ const currentItem = sidebarNavItems.find((item) => currentPath === item.href);
3535
v-for="item in sidebarNavItems"
3636
:key="item.href"
3737
variant="ghost"
38-
:class="['w-full justify-start', currentPath === item.href ? 'bg-muted' : 'hover:underline']"
38+
:class="['w-full justify-start', { 'bg-muted': currentPath === item.href }]"
3939
as-child
4040
>
4141
<Link :href="item.href">

0 commit comments

Comments
 (0)