You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

31 line
1.1 KiB

  1. import { Metadata } from "next";
  2. import { I18nProvider } from "@/i18n";
  3. import DashboardPage from "@/components/DashboardPage/DashboardPage";
  4. import DashboardPageButton from "@/components/DashboardPage/DashboardTabButton";
  5. import ProgressByClientSearch from "@/components/ProgressByClientSearch";
  6. import { Suspense } from "react";
  7. import Tabs, { TabsProps } from "@mui/material/Tabs";
  8. import Tab from "@mui/material/Tab";
  9. import Typography from "@mui/material/Typography";
  10. import ProgressByClient from "@/components/ProgressByClient";
  11. import { preloadClientProjects } from "@/app/api/clientprojects";
  12. export const metadata: Metadata = {
  13. title: "Project Status by Client",
  14. };
  15. const ProjectStatusByClient: React.FC = () => {
  16. preloadClientProjects();
  17. return (
  18. <I18nProvider namespaces={["dashboard"]}>
  19. <Typography variant="h4" marginInlineEnd={2}>
  20. Project Status by Client
  21. </Typography>
  22. <Suspense fallback={<ProgressByClientSearch.Loading />}>
  23. <ProgressByClientSearch />
  24. </Suspense>
  25. </I18nProvider>
  26. );
  27. };
  28. export default ProjectStatusByClient;