fix build

This commit is contained in:
Yana
2025-02-13 18:49:12 +02:00
parent 4d83f5a34e
commit 514df81b2c
3 changed files with 25 additions and 4 deletions
@@ -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";