fix build
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
"use client";
|
||||
import { Link } from "@/components/muiLink";
|
||||
import { Box } from "@mui/material";
|
||||
import socialChannels from "../../app/i18n/locales/en/social-channels.json";
|
||||
import { Link } from "./MuiLink";
|
||||
|
||||
import { SocialIcon } from "./SocialIcon";
|
||||
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
import { Box } from "@mui/material";
|
||||
import type { BoxProps } from "@mui/system";
|
||||
|
||||
export type WrapperProps = BoxProps;
|
||||
|
||||
export function Wrapper({ children, sx, ...props }: WrapperProps) {
|
||||
return (
|
||||
<Box
|
||||
sx={{
|
||||
mx: "auto",
|
||||
maxWidth: "1378px",
|
||||
width: "100%",
|
||||
px: "30px",
|
||||
...sx,
|
||||
}}
|
||||
{...props}
|
||||
>
|
||||
{children}
|
||||
</Box>
|
||||
);
|
||||
}
|
||||
@@ -1,12 +1,12 @@
|
||||
// API
|
||||
|
||||
import { SocialChannels } from "@/components/footer/SocialChannels";
|
||||
import { SocialChannels } from "./SocialChannels";
|
||||
// Components
|
||||
import { Wrapper } from "@/components/wrapper";
|
||||
import { Wrapper } from "./Wrapper";
|
||||
|
||||
import { getFooter } from "@/app/features/footer/api/getFooter";
|
||||
// MUI Components
|
||||
import { Box, Typography } from "@mui/material";
|
||||
import { getFooter } from "../../app/features/footer/api/getFooter";
|
||||
import { NewsletterSignUp } from "./NewsLetterSignUp";
|
||||
import { FooterLinks } from "./footer-links";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user