diff --git a/components/atoms/Text/index.tsx b/components/atoms/Text/index.tsx
index 0f2e995..87f0792 100644
--- a/components/atoms/Text/index.tsx
+++ b/components/atoms/Text/index.tsx
@@ -3,7 +3,7 @@ import styled, { css, TextProps } from "styled-components";
import { mixins } from "styles";
import Component from "../Component";
-const Text = styled((props) => (
+const Text = styled((props: any) => (
))`
padding: ${(props) => props.p};
diff --git a/components/molecules/Menu/Menu.styled.tsx b/components/molecules/Menu/Menu.styled.tsx
index 05eae60..4a75a7b 100644
--- a/components/molecules/Menu/Menu.styled.tsx
+++ b/components/molecules/Menu/Menu.styled.tsx
@@ -17,7 +17,7 @@ const Item = styled.li`
`;
const Menu = Object.assign(
- styled((props) => )`
+ styled((props: any) => )`
margin: 0;
padding: 0 0.75em;
text-align: end;
diff --git a/next.config.js b/next.config.js
index b0bb799..7db7e44 100644
--- a/next.config.js
+++ b/next.config.js
@@ -9,16 +9,10 @@ const nextConfig = {
locales: ["en-US", "ar"],
defaultLocale: "en-US",
},
- eslint: {
- ignoreDuringBuilds: true,
+ eslint: {
+ ignoreDuringBuilds: true,
},
trailingSlash: true,
- styledComponents: true,
- experimental: {
- images: {
- allowFutureImage: true,
- },
- },
async redirects() {
return [
{
diff --git a/package.json b/package.json
index c1d9cda..cb74cc6 100644
--- a/package.json
+++ b/package.json
@@ -16,7 +16,7 @@
"fs": "^0.0.1-security",
"gray-matter": "^4.0.3",
"lodash": "^4.17.21",
- "next": "^13.3.1",
+ "next": "^13.5.6",
"next-compose-plugins": "^2.2.1",
"next-mdx-remote": "^4.0.3",
"path": "^0.12.7",
@@ -27,12 +27,12 @@
"react-icons": "^4.4.0",
"react-moving-text": "^0.0.7",
"rehype-img-size": "^1.0.1",
- "styled-components": "^5.3.5",
+ "styled-components": "^6.1.8",
"swiper": "^8.4.5",
"universal-cookie": "^4.0.4"
},
"devDependencies": {
- "@svgr/webpack": "^8.0.1",
+ "@svgr/webpack": "^8.1.0",
"@types/lodash": "^4.14.186",
"@types/node": "17.0.35",
"@types/react": "18.0.9",
@@ -41,11 +41,11 @@
"autoprefixer": "^10.4.14",
"babel-plugin-styled-components": "^2.0.7",
"eslint": "8.16.0",
- "eslint-config-next": "^13.3.1",
- "postcss": "^8.4.23",
+ "eslint-config-next": "^13.5.6",
+ "postcss": "^8.4.38",
"prettier": "2.7.1",
"sass": "^1.52.1",
- "tailwindcss": "^3.3.2",
+ "tailwindcss": "^3.4.1",
"typescript": "4.6.4"
}
-}
+}
\ No newline at end of file