diff --git a/components/sidebar.js b/components/sidebar.js index 9a72f03..876ba58 100755 --- a/components/sidebar.js +++ b/components/sidebar.js @@ -63,7 +63,7 @@ export default function Home() { -

Add/Edit Contributors

+

Control Panel

@@ -74,7 +74,7 @@ export default function Home() { -

Add/Edit Contributions

+

Edit Order

diff --git a/pages/contributors.js b/pages/contributors.js index 2e5b591..304cc9c 100755 --- a/pages/contributors.js +++ b/pages/contributors.js @@ -1,6 +1,6 @@ -import { Button, Table, Modal, Input, Select, Upload, message } from "antd"; +import { Button, Table, Modal, Input, Select, Upload, message, notification } from "antd"; import { useState } from "react"; import { EditOutlined, DeleteOutlined, InboxOutlined } from "@ant-design/icons"; import Papa from "papaparse"; @@ -160,6 +160,10 @@ const CSV = () => { } if (info.file.status === "done") { message.success(`${info.file.name} file uploaded successfully`); + notification.success({ + message: 'Picture successfully uploaded', + duration: 2, + }); setPictureSubmitted(true); } else if (info.file.status === "error") { message.error(`${info.file.name} file upload failed.`); diff --git a/pages/edit.js b/pages/edit.js index 6e6006d..38ad10c 100755 --- a/pages/edit.js +++ b/pages/edit.js @@ -122,89 +122,11 @@ function DragApp() {
-
-
- -
-
- -
-
-