feat(WEB-170): edit profile view
This commit is contained in:
@@ -1,22 +1,3 @@
|
||||
import Button from "@/components/TempDesignSystem/Button";
|
||||
import Link from "@/components/TempDesignSystem/Link";
|
||||
|
||||
import styles from "./view.module.css"
|
||||
|
||||
import type { LangParams, PageArgs } from "@/types/params";
|
||||
|
||||
export default function ProfileView({ params }: PageArgs<LangParams>) {
|
||||
return (
|
||||
<Button
|
||||
asChild
|
||||
bgcolor="quarternary"
|
||||
className={styles.btn}
|
||||
size="small"
|
||||
weight="regular"
|
||||
>
|
||||
<Link href={`/${params.lang}/my-pages/profile/verify`}>
|
||||
Edit
|
||||
</Link>
|
||||
</Button>
|
||||
)
|
||||
export default function Default() {
|
||||
return null
|
||||
}
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
export default function Default() {
|
||||
return null
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
import { _ } from "@/lib/translation"
|
||||
import { profileEdit } from "@/constants/routes/myPages"
|
||||
|
||||
import Button from "@/components/TempDesignSystem/Button"
|
||||
import Link from "@/components/TempDesignSystem/Link"
|
||||
|
||||
import type { LangParams, PageArgs } from "@/types/params"
|
||||
|
||||
export default function ProfileView({ params }: PageArgs<LangParams>) {
|
||||
return (
|
||||
<Button asChild bgcolor="quarternary" size="small" weight="regular">
|
||||
<Link href={profileEdit[params.lang]}>{_("Edit")}</Link>
|
||||
</Button>
|
||||
)
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
.btn {
|
||||
position: absolute;
|
||||
}
|
||||
Reference in New Issue
Block a user