From ed278b61fc42383bd73e2869d2cd81fa1df60dd5 Mon Sep 17 00:00:00 2001 From: caturbgs Date: Fri, 10 Dec 2021 15:02:44 +0700 Subject: [PATCH] feat: init profile page layout --- src/pages/Profile/Profile.js | 56 +++++++++++++++++++++++++----------- src/routes/app.js | 3 +- 2 files changed, 42 insertions(+), 17 deletions(-) diff --git a/src/pages/Profile/Profile.js b/src/pages/Profile/Profile.js index 1b3baea..8aaa140 100644 --- a/src/pages/Profile/Profile.js +++ b/src/pages/Profile/Profile.js @@ -1,24 +1,48 @@ import React from "react"; -import {PageHeader} from "antd"; +import {Button, Card, Col, Input, Row} from "antd"; +import {BreadcumbComponent} from "../../component/BreadcumbComponent"; +import {FilterOutlined, PlusSquareOutlined} from "@ant-design/icons"; +import {LINKS} from "../../routes/app"; + +const {Search} = Input; export const Profile = () => { + const routeData = [ + { + route: LINKS.HOME, + name: "Home", + }, + { + route: LINKS.PROFILE, + name: Profile, + }, + ]; + return (
- - - Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusamus aut recusandae velit! Consequatur - corporis, - eum fuga, harum incidunt laboriosam minus necessitatibus neque non nostrum pariatur tempore. Dignissimos - impedit - rem tempora! + + + + + + + + + + + +
+
+
) }; diff --git a/src/routes/app.js b/src/routes/app.js index bada08d..414bc9e 100644 --- a/src/routes/app.js +++ b/src/routes/app.js @@ -4,6 +4,7 @@ import {About} from "../pages/About/About"; import {Membership} from "../pages/Membership/Membership"; import {Product} from "../pages/Product/Product"; import {Transaction} from "../pages/Transaction/Transaction"; +import {Profile} from "../pages/Profile/Profile"; export const LINKS = { HOME: "/app/home", @@ -32,7 +33,7 @@ export const AppRoute = () => { - +