FPSMS-frontend
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.
 
 

28 line
713 B

  1. import Box from "@mui/material/Box";
  2. import { Suspense } from "react";
  3. import { I18nProvider, getServerI18n } from "@/i18n";
  4. import GeneralLoading from "@/components/General/GeneralLoading";
  5. import RouteBoard from "@/components/Shop/RouteBoard";
  6. export default async function ShopRouteBoardPage() {
  7. await getServerI18n("shop", "navigation");
  8. return (
  9. <Box
  10. sx={{
  11. flex: 1,
  12. minHeight: 0,
  13. height: "100%",
  14. display: "flex",
  15. flexDirection: "column",
  16. }}
  17. >
  18. <I18nProvider namespaces={["shop","navigation","common"]}>
  19. <Suspense fallback={<GeneralLoading />}>
  20. <RouteBoard />
  21. </Suspense>
  22. </I18nProvider>
  23. </Box>
  24. );
  25. }