File tree Expand file tree Collapse file tree 4 files changed +16
-28
lines changed
apps/dashboard/src/app/(app)/team/[team_slug]/(team)/~/settings Expand file tree Collapse file tree 4 files changed +16
-28
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ export function TeamMembersSettingsPage(props: {
2727 return (
2828 < div >
2929 < h2 className = "font-semibold text-2xl tracking-tight" > Members</ h2 >
30- < p className = "text-muted-foreground text-sm " >
30+ < p className = "text-muted-foreground" >
3131 Manage team members and invitations
3232 </ p >
3333
Original file line number Diff line number Diff line change @@ -37,14 +37,16 @@ export const Notifications: React.FC<NotificationsProps> = ({ account }) => {
3737 } ;
3838
3939 return (
40- < div >
40+ < div className = "p-4 bg-card border rounded-lg" >
4141 < SettingSwitch
4242 checked = { preferences ?. billing === "email" }
4343 description = "Approaching and exceeding usage credits"
4444 label = "Reminders"
4545 onCheckedChange = { ( v ) => handleChange ( "billing" , v ) }
4646 />
4747
48+ < div className = "border-t border-dashed my-4" />
49+
4850 < SettingSwitch
4951 checked = { preferences ?. updates === "email" }
5052 description = "New features and key product updates"
@@ -63,7 +65,7 @@ function SettingSwitch(props: {
6365} ) {
6466 const id = useId ( ) ;
6567 return (
66- < div className = "flex items-center justify-between gap-6 border-border border-b py-6 " >
68+ < div className = "flex items-center justify-between gap-6" >
6769 < div >
6870 < Label className = "text-foreground text-lg" htmlFor = { id } >
6971 { props . label }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1- import { ChakraProviderSetup } from "chakra/ChakraProviderSetup" ;
21import { getValidAccount } from "../../../../../../account/settings/getAccount" ;
3- import { SettingsNotificationsPage } from "./NotificationsPage " ;
2+ import { Notifications } from "./Notifications " ;
43
54export default async function Page ( props : {
65 params : Promise < {
@@ -13,8 +12,15 @@ export default async function Page(props: {
1312 ) ;
1413
1514 return (
16- < ChakraProviderSetup >
17- < SettingsNotificationsPage account = { account } />
18- </ ChakraProviderSetup >
15+ < div >
16+ < div className = "mb-4" >
17+ < h1 className = "font-semibold text-2xl tracking-tight" > Notifications</ h1 >
18+ < p className = "text-muted-foreground" >
19+ Configure your email notification preferences
20+ </ p >
21+ </ div >
22+
23+ < Notifications account = { account } />
24+ </ div >
1925 ) ;
2026}
You can’t perform that action at this time.
0 commit comments