Added my shop page and ability to add, edit and delete employees.

This commit is contained in:
Patrick Fic
2020-02-10 12:45:20 -08:00
parent 9d9de14cf0
commit cac3716e03
42 changed files with 1444 additions and 52 deletions

View File

@@ -0,0 +1,25 @@
import { Tabs } from "antd";
import React, { useEffect } from "react";
import { useTranslation } from "react-i18next";
import ShopEmployeesContainer from "../../components/shop-employees/shop-employees.container";
export default function ShopPage() {
const { t } = useTranslation();
useEffect(() => {
document.title = t("titles.shop");
}, [t]);
return (
<Tabs>
<Tabs.TabPane tab="Shop Info" key="info">
Shop INfo
</Tabs.TabPane>
<Tabs.TabPane tab="Employees" key="employees">
<ShopEmployeesContainer />
</Tabs.TabPane>
<Tabs.TabPane tab="Licensing" key="licensing">
Licensing
</Tabs.TabPane>
</Tabs>
);
}