From 729d813d71f72a5550c1cb4483e6534aa15d96a0 Mon Sep 17 00:00:00 2001 From: Rishu Date: Fri, 18 Aug 2023 11:26:23 +0530 Subject: [PATCH] add resume/prettier --- .eslintrc.cjs | 18 ++++++------ index.html | 2 +- postcss.config.js | 2 +- src/App.jsx | 25 ++++++++++------- src/assets/index.js | 30 ++++++++++---------- src/assets/myResume.pdf | Bin 53807 -> 86572 bytes src/components/Carousel.jsx | 11 ++++---- src/components/Coffee.jsx | 15 ++++------ src/components/MyTimeline.jsx | 12 ++++++-- src/components/Project.jsx | 51 ++++++++++++++++++---------------- src/components/index.js | 14 +++++----- src/index.css | 4 +-- src/main.jsx | 14 +++++----- tailwind.config.js | 12 ++++---- vite.config.js | 8 +++--- 15 files changed, 115 insertions(+), 103 deletions(-) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index ec601b2..d08f6de 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -1,15 +1,15 @@ module.exports = { env: { browser: true, es2020: true }, extends: [ - 'eslint:recommended', - 'plugin:react/recommended', - 'plugin:react/jsx-runtime', - 'plugin:react-hooks/recommended', + "eslint:recommended", + "plugin:react/recommended", + "plugin:react/jsx-runtime", + "plugin:react-hooks/recommended", ], - parserOptions: { ecmaVersion: 'latest', sourceType: 'module' }, - settings: { react: { version: '18.2' } }, - plugins: ['react-refresh'], + parserOptions: { ecmaVersion: "latest", sourceType: "module" }, + settings: { react: { version: "18.2" } }, + plugins: ["react-refresh"], rules: { - 'react-refresh/only-export-components': 'warn', + "react-refresh/only-export-components": "warn", }, -} +}; diff --git a/index.html b/index.html index a5f1552..65b7606 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,4 @@ - + diff --git a/postcss.config.js b/postcss.config.js index 2e7af2b..2aa7205 100644 --- a/postcss.config.js +++ b/postcss.config.js @@ -3,4 +3,4 @@ export default { tailwindcss: {}, autoprefixer: {}, }, -} +}; diff --git a/src/App.jsx b/src/App.jsx index 06ef024..c8249ca 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -34,7 +34,7 @@ const App = () => { const [darkMode, setDarkMode] = useState(false); const [name, setName] = useState(""); const [messege, setMessege] = useState(""); - const [over, setOver] = useState(false); + // const [over, setOver] = useState(false); const el = React.useRef(null); const typed = React.useRef(null); @@ -78,17 +78,17 @@ const App = () => {