From 168fe9df75c47b4957e57933f70b98593cf1f69c Mon Sep 17 00:00:00 2001 From: Windsmith Date: Fri, 31 May 2024 14:23:34 +0400 Subject: [PATCH] fix: move arrow images to public directory --- frontend/.eslintrc.cjs | 1 + frontend/{src/assets => public}/Arrow-Down.svg | 0 frontend/{src/assets => public}/Arrow.svg | 0 frontend/src/components/Button.jsx | 2 +- frontend/src/components/HeroSection/Hero.jsx | 2 +- 5 files changed, 3 insertions(+), 2 deletions(-) rename frontend/{src/assets => public}/Arrow-Down.svg (100%) rename frontend/{src/assets => public}/Arrow.svg (100%) diff --git a/frontend/.eslintrc.cjs b/frontend/.eslintrc.cjs index 3e212e1..6b19286 100644 --- a/frontend/.eslintrc.cjs +++ b/frontend/.eslintrc.cjs @@ -12,6 +12,7 @@ module.exports = { settings: { react: { version: '18.2' } }, plugins: ['react-refresh'], rules: { + "react/prop-types": "off", 'react/jsx-no-target-blank': 'off', 'react-refresh/only-export-components': [ 'warn', diff --git a/frontend/src/assets/Arrow-Down.svg b/frontend/public/Arrow-Down.svg similarity index 100% rename from frontend/src/assets/Arrow-Down.svg rename to frontend/public/Arrow-Down.svg diff --git a/frontend/src/assets/Arrow.svg b/frontend/public/Arrow.svg similarity index 100% rename from frontend/src/assets/Arrow.svg rename to frontend/public/Arrow.svg diff --git a/frontend/src/components/Button.jsx b/frontend/src/components/Button.jsx index 4eb1103..c45ceb7 100644 --- a/frontend/src/components/Button.jsx +++ b/frontend/src/components/Button.jsx @@ -7,7 +7,7 @@ function Button({ align }) { Arrow diff --git a/frontend/src/components/HeroSection/Hero.jsx b/frontend/src/components/HeroSection/Hero.jsx index 24956f8..bfa180b 100644 --- a/frontend/src/components/HeroSection/Hero.jsx +++ b/frontend/src/components/HeroSection/Hero.jsx @@ -17,7 +17,7 @@ function Hero() { Arrow