summaryrefslogtreecommitdiff
path: root/src/pages
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-02-22 08:35:08 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-02-22 08:35:08 +0700
commit50f5a2d8897020acc11f2a20469ffdd42ca7c31b (patch)
treed47f95de1d9710ca8b4d173abd5edc2797704a87 /src/pages
parent82954ee3cfa38f21f677b9aa2c1c6c3c88004050 (diff)
parent036e72780ddb7a510795b329919ff9dd957af6d7 (diff)
Merge branch 'refactor' of bitbucket.org:altafixco/next-indoteknik into refactor
Diffstat (limited to 'src/pages')
-rw-r--r--src/pages/my/address/index.jsx10
-rw-r--r--src/pages/my/menu.jsx4
-rw-r--r--src/pages/my/wishlist.jsx10
3 files changed, 22 insertions, 2 deletions
diff --git a/src/pages/my/address/index.jsx b/src/pages/my/address/index.jsx
new file mode 100644
index 00000000..29e21c30
--- /dev/null
+++ b/src/pages/my/address/index.jsx
@@ -0,0 +1,10 @@
+import AppLayout from "@/core/components/layouts/AppLayout"
+import AddressesComponent from "@/lib/address/components/Addresses"
+
+export default function Addresses() {
+ return (
+ <AppLayout title="Daftar Alamat">
+ <AddressesComponent />
+ </AppLayout>
+ )
+} \ No newline at end of file
diff --git a/src/pages/my/menu.jsx b/src/pages/my/menu.jsx
index 67ea1171..46a0e4b3 100644
--- a/src/pages/my/menu.jsx
+++ b/src/pages/my/menu.jsx
@@ -77,7 +77,7 @@ export default function Menu() {
</MenuHeader>
<div className="divide-y divide-gray_r-6 border-y border-gray_r-6 mt-4">
- <LinkItem href="/">
+ <LinkItem href="/my/address">
Daftar Alamat
</LinkItem>
<div onClick={logout} className="!text-gray_r-11 font-normal p-4 flex items-center">
@@ -98,7 +98,7 @@ const MenuHeader = ({ children, ...props }) => (
)
const LinkItem = ({ children, ...props }) => (
- <Link {...props} className="!text-gray_r-11 font-normal p-4 flex items-center">
+ <Link {...props} className="!text-gray_r-11 !font-normal p-4 flex items-center">
{ children }
<div className="ml-auto !text-gray_r-11">
<ChevronRightIcon className="w-5" />
diff --git a/src/pages/my/wishlist.jsx b/src/pages/my/wishlist.jsx
new file mode 100644
index 00000000..b7a3e4fe
--- /dev/null
+++ b/src/pages/my/wishlist.jsx
@@ -0,0 +1,10 @@
+import AppLayout from "@/core/components/layouts/AppLayout"
+import Wishlists from "@/lib/wishlist/components/Wishlists"
+
+export default function Wishlist() {
+ return (
+ <AppLayout title="Wishlist">
+ <Wishlists />
+ </AppLayout>
+ )
+} \ No newline at end of file