diff --git a/src/components/stateless/GradualSpacing/index.jsx b/src/components/stateless/GradualSpacing/index.jsx index 78118a74..87669e6b 100644 --- a/src/components/stateless/GradualSpacing/index.jsx +++ b/src/components/stateless/GradualSpacing/index.jsx @@ -5,7 +5,7 @@ import { AnimatePresence, motion, useInView } from 'motion/react' const GradualSpacing = ({ text = '', className = '' }) => { const gradual = { hidden: { opacity: 0, x: -20 }, - visible: { opacity: 1, x: 0 }, + visible: { opacity: 1, x: 0 } } const ref = useRef(null) const isInView = useInView(ref, { once: true }) @@ -15,9 +15,9 @@ const GradualSpacing = ({ text = '', className = '' }) => { {text.split('').map((char, i) => ( diff --git a/src/pages/home/index.jsx b/src/pages/home/index.jsx index 55736022..c705b0e5 100644 --- a/src/pages/home/index.jsx +++ b/src/pages/home/index.jsx @@ -67,7 +67,7 @@ import { oneApiChat, prettyObject, // randomNum, - getDirection, + getDirection } from '@utils/aidFn' import { fireConfetti } from '@utils/confetti' import Zoom from 'react-medium-image-zoom' @@ -82,7 +82,7 @@ const code = { main : "This component needs more than the default code block to be displayed" detailed : "For now, if you want the exact same behaviour, please check the github" }`, - lang: 'typescript', + lang: 'typescript' } const preCode = ` @@ -107,26 +107,26 @@ const slugs = [ 'vercel', 'docker', 'git', - 'sonarqube', + 'sonarqube' ] const dataSteps = [ { title: 'Step 1', - code: 'npx create-react-app my-app', + code: 'npx create-react-app my-app' }, { title: 'Step 2', - code: 'cd my-app', + code: 'cd my-app' }, { title: 'Step 3', - code: 'npm start', + code: 'npm start' }, { title: 'Step 4', - code: 'npm run build', - }, + code: 'npm run build' + } ] const Home = () => { @@ -207,8 +207,8 @@ const Home = () => { [ { content: text, - role: 'user', - }, + role: 'user' + } ], key, signal @@ -304,10 +304,10 @@ const Home = () => {
@@ -315,14 +315,14 @@ const Home = () => {
- +
- +
- +
{/*
@@ -334,7 +334,7 @@ const Home = () => { 'Loading awesome content', 'Almost there', 'Just a moment', - 'Getting things ready', + 'Getting things ready' ]} />
@@ -363,7 +363,7 @@ const Home = () => { style={{ marginBottom: 15, position: 'relative', - overflow: 'hidden', + overflow: 'hidden' }} > @@ -376,7 +376,7 @@ const Home = () => { width: 360, background: '#111827', position: 'relative', - overflow: 'hidden', + overflow: 'hidden' }} > @@ -387,16 +387,16 @@ const Home = () => { fontSize: 20, height: 200, width: 360, - background: '#111827', + background: '#111827' }} >
{ height: 200, width: 360, overflow: 'hidden', - position: 'relative', + position: 'relative' }} - className="bg-slate-900" + className='bg-slate-900' >
@@ -419,9 +419,9 @@ const Home = () => { height: 200, width: 360, overflow: 'hidden', - position: 'relative', + position: 'relative' }} - className="bg-slate-900" + className='bg-slate-900' > @@ -436,7 +436,7 @@ const Home = () => { display: 'flex', alignItems: 'center', justifyContent: 'center', - color: '#fff', + color: '#fff' }} > Direction: {enterDirection} @@ -445,29 +445,29 @@ const Home = () => {
-
+
- +
- +
- +
@@ -480,13 +480,13 @@ const Home = () => {

React Animate On Scroll.

- +

- +

- +
{/*
@@ -521,16 +521,16 @@ const Home = () => {
*/}
- +
@@ -538,7 +538,7 @@ const Home = () => {
<> - +
Mix Blend Mode
@@ -547,16 +547,16 @@ const Home = () => { - +
- -
+ +
@@ -565,7 +565,7 @@ const Home = () => {
- +
@@ -578,7 +578,7 @@ const Home = () => { height: 200, position: 'relative', backgroundColor: 'rgba(0, 0,0, 0.2)', - borderRadius: 8, + borderRadius: 8 }} >
@@ -595,16 +595,16 @@ const Home = () => {
-

+

@@ -619,16 +619,16 @@ const Home = () => { mask
-
-
-
-
-
+
+
+
+
@@ -651,12 +651,12 @@ const Home = () => {
- - + + { - @@ -707,21 +707,21 @@ const Home = () => {
- -
-
-
-
-
-
-
-
-
-
-
-
-
-
+ +
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -729,7 +729,7 @@ const Home = () => {
- +
{ textAlign: 'center', background: '#aaa', margin: '0 10px', - borderRadius: 8, + borderRadius: 8 // transform: 'rotateX(60deg) rotateY(0deg) rotateZ(45deg)' }} > @@ -747,7 +747,7 @@ const Home = () => {
- +
{ textAlign: 'center', background: '#aaa', margin: '0 10px', - borderRadius: 8, + borderRadius: 8 }} > Vue