From 39a7d32fcd5faffd58cbecb9abdc1d93e43fbdb8 Mon Sep 17 00:00:00 2001 From: louiscklaw Date: Sun, 11 May 2025 15:47:49 +0800 Subject: [PATCH] update, --- .../dashboard/settings/account-details.tsx | 138 ------------------ .../dashboard/settings/delete-account.tsx | 10 +- 2 files changed, 8 insertions(+), 140 deletions(-) delete mode 100644 002_source/cms/src/components/dashboard/settings/account-details.tsx diff --git a/002_source/cms/src/components/dashboard/settings/account-details.tsx b/002_source/cms/src/components/dashboard/settings/account-details.tsx deleted file mode 100644 index 1e6f0df..0000000 --- a/002_source/cms/src/components/dashboard/settings/account-details.tsx +++ /dev/null @@ -1,138 +0,0 @@ -'use client'; - -import * as React from 'react'; -import Avatar from '@mui/material/Avatar'; -import Box from '@mui/material/Box'; -import Button from '@mui/material/Button'; -import Card from '@mui/material/Card'; -import CardActions from '@mui/material/CardActions'; -import CardContent from '@mui/material/CardContent'; -import CardHeader from '@mui/material/CardHeader'; -import FormControl from '@mui/material/FormControl'; -import FormHelperText from '@mui/material/FormHelperText'; -import InputAdornment from '@mui/material/InputAdornment'; -import InputLabel from '@mui/material/InputLabel'; -import Link from '@mui/material/Link'; -import OutlinedInput from '@mui/material/OutlinedInput'; -import Select from '@mui/material/Select'; -import Stack from '@mui/material/Stack'; -import Typography from '@mui/material/Typography'; -import { Camera as CameraIcon } from '@phosphor-icons/react/dist/ssr/Camera'; -import { User as UserIcon } from '@phosphor-icons/react/dist/ssr/User'; - -import { Option } from '@/components/core/option'; - -export function AccountDetails(): React.JSX.Element { - return ( - - - - - } - title="Basic details" - /> - - - - - - - - - - Select - - - - - - - - - - - Full name - - - - Email address - - - Please contact us to change your email - - - - - Dial code - - - - Phone number - - - - - Title - - - - Biography (optional) - - 0/200 characters - - - - - - - - - - ); -} diff --git a/002_source/cms/src/components/dashboard/settings/delete-account.tsx b/002_source/cms/src/components/dashboard/settings/delete-account.tsx index d4c0028..a1e8851 100644 --- a/002_source/cms/src/components/dashboard/settings/delete-account.tsx +++ b/002_source/cms/src/components/dashboard/settings/delete-account.tsx @@ -20,11 +20,17 @@ export function DeleteAccount(): React.JSX.Element { title="Delete account" /> - + Delete your account and all of your source data. This is irreversible. -