From 8783d943d346de02c77bb9966e53ade11fe2fc02 Mon Sep 17 00:00:00 2001 From: Vignesh Gupta Date: Tue, 10 Oct 2023 11:52:50 +0530 Subject: [PATCH] =?UTF-8?q?[linting]=20=F0=9F=A4=96=E2=9C=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/(root)/contact/page.tsx | 4 +- pnpm-lock.yaml | 112 +++++++++++++++++++----------------- 2 files changed, 61 insertions(+), 55 deletions(-) diff --git a/app/(root)/contact/page.tsx b/app/(root)/contact/page.tsx index b928541..0bf5b2f 100644 --- a/app/(root)/contact/page.tsx +++ b/app/(root)/contact/page.tsx @@ -6,7 +6,9 @@ import clsx from 'clsx'; import React, { useState } from 'react'; const ContactPage = () => { - const [isSubmitted, setIsSubmitted] = useState(localStorage?.getItem('isSubmitted') === 'true' ? true : false); + const [isSubmitted, setIsSubmitted] = useState( + localStorage?.getItem('isSubmitted') === 'true' ? true : false + ); const [formData, setFormData] = useState({ name: '', diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 4cc4564..1f03615 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -36,14 +36,14 @@ dependencies: specifier: ^10.16.1 version: 10.16.1(react-dom@18.2.0)(react@18.2.0) next: - specifier: 13.5.2 - version: 13.5.2(@babel/core@7.22.10)(react-dom@18.2.0)(react@18.2.0) + specifier: ^13.5.4 + version: 13.5.4(@babel/core@7.22.10)(react-dom@18.2.0)(react@18.2.0) next-sanity: specifier: ^5.4.5 - version: 5.4.5(@sanity/client@6.4.9)(@sanity/icons@2.4.1)(@sanity/types@3.15.1)(@sanity/ui@1.7.11)(next@13.5.2)(react@18.2.0)(sanity@3.15.1)(styled-components@5.3.11) + version: 5.4.5(@sanity/client@6.4.9)(@sanity/icons@2.4.1)(@sanity/types@3.15.1)(@sanity/ui@1.7.11)(next@13.5.4)(react@18.2.0)(sanity@3.15.1)(styled-components@5.3.11) next-themes: specifier: ^0.2.1 - version: 0.2.1(next@13.5.2)(react-dom@18.2.0)(react@18.2.0) + version: 0.2.1(next@13.5.4)(react-dom@18.2.0)(react@18.2.0) react: specifier: 18.2.0 version: 18.2.0 @@ -79,6 +79,9 @@ devDependencies: '@types/react-dom': specifier: 18.2.7 version: 18.2.7 + '@types/react-vertical-timeline-component': + specifier: ^3.3.4 + version: 3.3.4 eslint: specifier: 8.47.0 version: 8.47.0 @@ -1155,10 +1158,10 @@ packages: '@lezer/common': 1.0.4 dev: false - /@next/env@13.5.2: + /@next/env@13.5.4: resolution: { - integrity: sha512-dUseBIQVax+XtdJPzhwww4GetTjlkRSsXeQnisIJWBaHsnxYcN2RGzsPHi58D6qnkATjnhuAtQTJmR1hKYQQPg==, + integrity: sha512-LGegJkMvRNw90WWphGJ3RMHMVplYcOfRWf2Be3td3sUa+1AaxmsYyANsA+znrGCBjXJNi4XAQlSoEfUxs/4kIQ==, } dev: false @@ -1171,10 +1174,10 @@ packages: glob: 7.1.7 dev: true - /@next/swc-darwin-arm64@13.5.2: + /@next/swc-darwin-arm64@13.5.4: resolution: { - integrity: sha512-7eAyunAWq6yFwdSQliWMmGhObPpHTesiKxMw4DWVxhm5yLotBj8FCR4PXGkpRP2tf8QhaWuVba+/fyAYggqfQg==, + integrity: sha512-Df8SHuXgF1p+aonBMcDPEsaahNo2TCwuie7VXED4FVyECvdXfRT9unapm54NssV9tF3OQFKBFOdlje4T43VO0w==, } engines: { node: '>= 10' } cpu: [arm64] @@ -1183,10 +1186,10 @@ packages: dev: false optional: true - /@next/swc-darwin-x64@13.5.2: + /@next/swc-darwin-x64@13.5.4: resolution: { - integrity: sha512-WxXYWE7zF1ch8rrNh5xbIWzhMVas6Vbw+9BCSyZvu7gZC5EEiyZNJsafsC89qlaSA7BnmsDXVWQmc+s1feSYbQ==, + integrity: sha512-siPuUwO45PnNRMeZnSa8n/Lye5ZX93IJom9wQRB5DEOdFrw0JjOMu1GINB8jAEdwa7Vdyn1oJ2xGNaQpdQQ9Pw==, } engines: { node: '>= 10' } cpu: [x64] @@ -1195,10 +1198,10 @@ packages: dev: false optional: true - /@next/swc-linux-arm64-gnu@13.5.2: + /@next/swc-linux-arm64-gnu@13.5.4: resolution: { - integrity: sha512-URSwhRYrbj/4MSBjLlefPTK3/tvg95TTm6mRaiZWBB6Za3hpHKi8vSdnCMw5D2aP6k0sQQIEG6Pzcfwm+C5vrg==, + integrity: sha512-l/k/fvRP/zmB2jkFMfefmFkyZbDkYW0mRM/LB+tH5u9pB98WsHXC0WvDHlGCYp3CH/jlkJPL7gN8nkTQVrQ/2w==, } engines: { node: '>= 10' } cpu: [arm64] @@ -1207,10 +1210,10 @@ packages: dev: false optional: true - /@next/swc-linux-arm64-musl@13.5.2: + /@next/swc-linux-arm64-musl@13.5.4: resolution: { - integrity: sha512-HefiwAdIygFyNmyVsQeiJp+j8vPKpIRYDlmTlF9/tLdcd3qEL/UEBswa1M7cvO8nHcr27ZTKXz5m7dkd56/Esg==, + integrity: sha512-YYGb7SlLkI+XqfQa8VPErljb7k9nUnhhRrVaOdfJNCaQnHBcvbT7cx/UjDQLdleJcfyg1Hkn5YSSIeVfjgmkTg==, } engines: { node: '>= 10' } cpu: [arm64] @@ -1219,10 +1222,10 @@ packages: dev: false optional: true - /@next/swc-linux-x64-gnu@13.5.2: + /@next/swc-linux-x64-gnu@13.5.4: resolution: { - integrity: sha512-htGVVroW0tdHgMYwKWkxWvVoG2RlAdDXRO1RQxYDvOBQsaV0nZsgKkw0EJJJ3urTYnwKskn/MXm305cOgRxD2w==, + integrity: sha512-uE61vyUSClnCH18YHjA8tE1prr/PBFlBFhxBZis4XBRJoR+txAky5d7gGNUIbQ8sZZ7LVkSVgm/5Fc7mwXmRAg==, } engines: { node: '>= 10' } cpu: [x64] @@ -1231,10 +1234,10 @@ packages: dev: false optional: true - /@next/swc-linux-x64-musl@13.5.2: + /@next/swc-linux-x64-musl@13.5.4: resolution: { - integrity: sha512-UBD333GxbHVGi7VDJPPDD1bKnx30gn2clifNJbla7vo5nmBV+x5adyARg05RiT9amIpda6yzAEEUu+s774ldkw==, + integrity: sha512-qVEKFYML/GvJSy9CfYqAdUexA6M5AklYcQCW+8JECmkQHGoPxCf04iMh7CPR7wkHyWWK+XLt4Ja7hhsPJtSnhg==, } engines: { node: '>= 10' } cpu: [x64] @@ -1243,10 +1246,10 @@ packages: dev: false optional: true - /@next/swc-win32-arm64-msvc@13.5.2: + /@next/swc-win32-arm64-msvc@13.5.4: resolution: { - integrity: sha512-Em9ApaSFIQnWXRT3K6iFnr9uBXymixLc65Xw4eNt7glgH0eiXpg+QhjmgI2BFyc7k4ZIjglfukt9saNpEyolWA==, + integrity: sha512-mDSQfqxAlfpeZOLPxLymZkX0hYF3juN57W6vFHTvwKlnHfmh12Pt7hPIRLYIShk8uYRsKPtMTth/EzpwRI+u8w==, } engines: { node: '>= 10' } cpu: [arm64] @@ -1255,10 +1258,10 @@ packages: dev: false optional: true - /@next/swc-win32-ia32-msvc@13.5.2: + /@next/swc-win32-ia32-msvc@13.5.4: resolution: { - integrity: sha512-TBACBvvNYU+87X0yklSuAseqdpua8m/P79P0SG1fWUvWDDA14jASIg7kr86AuY5qix47nZLEJ5WWS0L20jAUNw==, + integrity: sha512-aoqAT2XIekIWoriwzOmGFAvTtVY5O7JjV21giozBTP5c6uZhpvTWRbmHXbmsjZqY4HnEZQRXWkSAppsIBweKqw==, } engines: { node: '>= 10' } cpu: [ia32] @@ -1267,10 +1270,10 @@ packages: dev: false optional: true - /@next/swc-win32-x64-msvc@13.5.2: + /@next/swc-win32-x64-msvc@13.5.4: resolution: { - integrity: sha512-LfTHt+hTL8w7F9hnB3H4nRasCzLD/fP+h4/GUVBTxrkMJOnh/7OZ0XbYDKO/uuWwryJS9kZjhxcruBiYwc5UDw==, + integrity: sha512-cyRvlAxwlddlqeB9xtPSfNSCRy8BOa4wtMo0IuI9P7Y0XT2qpDrpFKRyZ7kUngZis59mPVla5k8X1oOJ8RxDYg==, } engines: { node: '>= 10' } cpu: [x64] @@ -1986,6 +1989,15 @@ packages: '@types/react': 18.2.21 dev: false + /@types/react-vertical-timeline-component@3.3.4: + resolution: + { + integrity: sha512-s/LpdvdaVK5bq9EH697keO6YaH5XVsDx+KIqSZ3Llq8ESEKtfwUsa5KPtszvR3gVzKKsZ9ZI/xR3OafYQM81ZA==, + } + dependencies: + '@types/react': 18.2.21 + dev: true + /@types/react@18.2.21: resolution: { @@ -5927,7 +5939,7 @@ packages: } dev: true - /next-sanity@5.4.5(@sanity/client@6.4.9)(@sanity/icons@2.4.1)(@sanity/types@3.15.1)(@sanity/ui@1.7.11)(next@13.5.2)(react@18.2.0)(sanity@3.15.1)(styled-components@5.3.11): + /next-sanity@5.4.5(@sanity/client@6.4.9)(@sanity/icons@2.4.1)(@sanity/types@3.15.1)(@sanity/ui@1.7.11)(next@13.5.4)(react@18.2.0)(sanity@3.15.1)(styled-components@5.3.11): resolution: { integrity: sha512-nxfPGnDQcLuuZ/9tpNVVK0vMuf46vCIzVOx0BsI8yAVidxzMO5Pk8xOtIeh2hHigt2NhfuUcsJ8TL3x+J7fMAA==, @@ -5950,7 +5962,7 @@ packages: '@sanity/ui': 1.7.11(react-dom@18.2.0)(react-is@18.2.0)(react@18.2.0)(styled-components@5.3.11) '@sanity/webhook': 3.0.1 groq: 3.15.1 - next: 13.5.2(@babel/core@7.22.10)(react-dom@18.2.0)(react@18.2.0) + next: 13.5.4(@babel/core@7.22.10)(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 sanity: 3.15.1(@types/node@20.5.3)(@types/react@18.2.21)(react-dom@18.2.0)(react@18.2.0)(styled-components@5.3.11) styled-components: 5.3.11(@babel/core@7.22.10)(react-dom@18.2.0)(react-is@18.2.0)(react@18.2.0) @@ -5958,7 +5970,7 @@ packages: - supports-color dev: false - /next-themes@0.2.1(next@13.5.2)(react-dom@18.2.0)(react@18.2.0): + /next-themes@0.2.1(next@13.5.4)(react-dom@18.2.0)(react@18.2.0): resolution: { integrity: sha512-B+AKNfYNIzh0vqQQKqQItTS8evEouKD7H5Hj3kmuPERwddR2TxvDSFZuTj6T7Jfn1oyeUyJMydPl1Bkxkh0W7A==, @@ -5968,15 +5980,15 @@ packages: react: '*' react-dom: '*' dependencies: - next: 13.5.2(@babel/core@7.22.10)(react-dom@18.2.0)(react@18.2.0) + next: 13.5.4(@babel/core@7.22.10)(react-dom@18.2.0)(react@18.2.0) react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false - /next@13.5.2(@babel/core@7.22.10)(react-dom@18.2.0)(react@18.2.0): + /next@13.5.4(@babel/core@7.22.10)(react-dom@18.2.0)(react@18.2.0): resolution: { - integrity: sha512-vog4UhUaMYAzeqfiAAmgB/QWLW7p01/sg+2vn6bqc/CxHFYizMzLv6gjxKzl31EVFkfl/F+GbxlKizlkTE9RdA==, + integrity: sha512-+93un5S779gho8y9ASQhb/bTkQF17FNQOtXLKAj3lsNgltEcF0C5PMLLncDmH+8X1EnJH1kbqAERa29nRXqhjA==, } engines: { node: '>=16.14.0' } hasBin: true @@ -5991,26 +6003,25 @@ packages: sass: optional: true dependencies: - '@next/env': 13.5.2 + '@next/env': 13.5.4 '@swc/helpers': 0.5.2 busboy: 1.6.0 caniuse-lite: 1.0.30001522 - postcss: 8.4.14 + postcss: 8.4.31 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) styled-jsx: 5.1.1(@babel/core@7.22.10)(react@18.2.0) watchpack: 2.4.0 - zod: 3.21.4 optionalDependencies: - '@next/swc-darwin-arm64': 13.5.2 - '@next/swc-darwin-x64': 13.5.2 - '@next/swc-linux-arm64-gnu': 13.5.2 - '@next/swc-linux-arm64-musl': 13.5.2 - '@next/swc-linux-x64-gnu': 13.5.2 - '@next/swc-linux-x64-musl': 13.5.2 - '@next/swc-win32-arm64-msvc': 13.5.2 - '@next/swc-win32-ia32-msvc': 13.5.2 - '@next/swc-win32-x64-msvc': 13.5.2 + '@next/swc-darwin-arm64': 13.5.4 + '@next/swc-darwin-x64': 13.5.4 + '@next/swc-linux-arm64-gnu': 13.5.4 + '@next/swc-linux-arm64-musl': 13.5.4 + '@next/swc-linux-x64-gnu': 13.5.4 + '@next/swc-linux-x64-musl': 13.5.4 + '@next/swc-win32-arm64-msvc': 13.5.4 + '@next/swc-win32-ia32-msvc': 13.5.4 + '@next/swc-win32-x64-msvc': 13.5.4 transitivePeerDependencies: - '@babel/core' - babel-plugin-macros @@ -6574,28 +6585,28 @@ packages: integrity: sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==, } - /postcss@8.4.14: + /postcss@8.4.28: resolution: { - integrity: sha512-E398TUmfAYFPBSdzgeieK2Y1+1cpdxJx8yXbK/m57nRhKSmk1GB2tO4lbLBtlkfPQTDKfe4Xqv1ASWPpayPEig==, + integrity: sha512-Z7V5j0cq8oEKyejIKfpD8b4eBy9cwW2JWPk0+fB1HOAMsfHbnAXLLS+PfVWlzMSLQaWttKDt607I0XHmpE67Vw==, } engines: { node: ^10 || ^12 || >=14 } dependencies: nanoid: 3.3.6 picocolors: 1.0.0 source-map-js: 1.0.2 - dev: false - /postcss@8.4.28: + /postcss@8.4.31: resolution: { - integrity: sha512-Z7V5j0cq8oEKyejIKfpD8b4eBy9cwW2JWPk0+fB1HOAMsfHbnAXLLS+PfVWlzMSLQaWttKDt607I0XHmpE67Vw==, + integrity: sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==, } engines: { node: ^10 || ^12 || >=14 } dependencies: nanoid: 3.3.6 picocolors: 1.0.0 source-map-js: 1.0.2 + dev: false /prelude-ls@1.2.1: resolution: @@ -8848,10 +8859,3 @@ packages: compress-commons: 4.1.1 readable-stream: 3.6.2 dev: false - - /zod@3.21.4: - resolution: - { - integrity: sha512-m46AKbrzKVzOzs/DZgVnG5H55N1sv1M8qZU3A8RIKbs3mrACDNeIOeilDymVb2HdmP8uwshOCF4uJ8uM9rCqJw==, - } - dev: false