Skip to content

Commit d58610b

Browse files
committed
fix(): Fixing the landing page
1 parent 5b423ed commit d58610b

15 files changed

Lines changed: 243 additions & 55 deletions

File tree

Plan.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
Section Division:
2+
3+
AR-----------------------------------------------------------[Work, About, Blogs, Skills (Contact me)]-[Command-K] {Fixed}
4+
5+
6+
7+
8+
9+
10+
11+
Hello, I am {size bit smaller} Character [RobotIcon]
12+
13+
[Amit Raikwar]
14+
15+
16+
17+
18+
19+
20+
21+
22+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
23+
24+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
25+
26+
27+
28+
About Me
29+
30+
I am a Software Developer, I have been working in the field of Software Development for the past 2 years. I have worked on various projects and have experience in developing Web Applications, Mobile Applications, and Desktop Applications. I have worked on various technologies like React, React Native, Node.js, Express.js, MongoDB, MySQL, and many more. I am always eager to learn new technologies and work on new projects. I am a quick learner and can adapt to new technologies quickly. I am always ready to take on new challenges and work on new projects. I am a team player and can work well in a team. I am always ready to help my team members and work together to achieve the goals of the project
31+
32+
33+
34+
35+
36+
37+
38+
Work Experience

jest.js

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,25 @@ import '@localization/config';
33
jest.useFakeTimers();
44

55
jest.mock('zustand');
6+
7+
jest.mock('@tsparticles/react', () => {
8+
return {
9+
__esModule: true,
10+
default: jest.fn(),
11+
};
12+
});
13+
14+
jest.mock('@tsparticles/slim', () => {
15+
return {
16+
__esModule: true,
17+
default: jest.fn(),
18+
};
19+
});
20+
21+
// Mock font @fontsource/space-mono
22+
jest.mock('@fontsource/space-mono', () => {
23+
return {
24+
__esModule: true,
25+
default: jest.fn(),
26+
};
27+
});

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"@chakra-ui/react": "^2.8.2",
2727
"@emotion/react": "^11.11.4",
2828
"@emotion/styled": "^11.11.5",
29+
"@fontsource/space-mono": "^5.1.2",
2930
"@react-three/drei": "^9.121.2",
3031
"@react-three/fiber": "^8.17.12",
3132
"@react-three/postprocessing": "^2.16.6",

public/favicon.ico

20.2 KB
Binary file not shown.
22.2 KB
Loading

src/components/Button/LinkButton/LinkButton.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { LinkButtonProps } from './types';
33
import { ArrowIcon } from '@assets';
44
import { useCursor } from '../../Cursor';
55
import { useRef, useState } from 'react';
6-
import { useMousePositions } from '@hooks';
76

87
const LinkButton = ({
98
text,
@@ -41,7 +40,7 @@ const LinkButton = ({
4140

4241
const translationProps = isHovered
4342
? {
44-
transform: 'translateY(15px)',
43+
transform: 'translateY(12px)',
4544
transition: 'transform 0.2s',
4645
}
4746
: {
@@ -59,6 +58,7 @@ const LinkButton = ({
5958
color={'white'}
6059
colorScheme="violet"
6160
fontSize={fontSize}
61+
fontWeight={'300'}
6262
borderRadius={0}
6363
overflow={'clip'}
6464
px={2}

src/components/CoverText/CoverText.tsx

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,22 @@
1-
import { Box } from '@chakra-ui/react';
1+
import { Box, Heading } from '@chakra-ui/react';
22
import { Cover } from './Cover';
33

44
const CoverText = ({
55
text,
66
highlightedText,
7+
role,
78
}: {
89
text: string;
910
highlightedText: string;
11+
role: string;
1012
}) => {
1113
return (
12-
<Box position={'absolute'} left={56} top={'200px'}>
13-
<h1 className="text-4xl md:text-4xl lg:text-6xl font-semibold max-w-7xl mx-auto mt-6 relative z-20 py-6 bg-clip-text text-transparent bg-gradient-to-b from-neutral-800 via-neutral-700 to-neutral-700 dark:from-neutral-800 dark:via-white dark:to-white">
14-
{text} <br />
15-
<br /> <Cover>{highlightedText}</Cover>
16-
</h1>
14+
<Box position={'absolute'} left={32} top={'200px'}>
15+
<Heading className="text-2xl md:text-4xl lg:text-6xl font-semibold max-w-7xl mx-auto mt-6 relative z-20 py-6 bg-clip-text text-transparent bg-gradient-to-b from-neutral-800 via-neutral-700 to-neutral-700 dark:from-neutral-800 dark:via-white dark:to-white">
16+
<h2 className="text-xl md:text-3xl lg:text-4xl pb-6">{text}</h2>
17+
<Cover>{highlightedText}</Cover>
18+
<h2 className="text-xl md:text-3xl lg:text-4xl pt-6">{role}</h2>
19+
</Heading>
1720
</Box>
1821
);
1922
};

src/components/Lights/Lights.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@ const Lights = () => {
44
return (
55
<>
66
<Box
7-
position={'fixed'}
7+
position={'absolute'}
88
top={0}
99
right={0}
1010
boxShadow={
1111
'0 0 40px 10px blue, 0 0 100px 40px blue, 0 0 140px 60px blue'
1212
}
1313
/>
1414
<Box
15-
position={'fixed'}
16-
top={'30%'}
15+
position={'absolute'}
16+
top={'450px'}
1717
left={-10}
1818
boxShadow={
1919
'0 0 40px 10px violet, 0 0 100px 20px violet, 0 0 140px 30px violet, 0 0 200px 40px violet, 0 0 300px 60px violet'

src/components/Theme/theme.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { ThemeConfig, extendTheme } from '@chakra-ui/react';
22
import colors from './colors';
33
import { fontSize, fontWeight, lineHeight, zIndices } from './fonts';
4+
import '@fontsource/space-mono';
45

56
const config: ThemeConfig = {
67
initialColorMode: 'light',
@@ -12,6 +13,9 @@ const themeData = {
1213
config: { ...config },
1314
colors: { ...colors },
1415
fontSizes: { ...fontSize },
16+
fonts: {
17+
heading: `'Space Mono', monospace`,
18+
},
1519
fontWeights: { ...fontWeight },
1620
lineHeights: { ...lineHeight },
1721
zIndices: { ...zIndices },

src/index.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,8 @@
1919
border-radius: 10px;
2020
box-shadow: 0 0 10px rgb(0, 0, 0);
2121
}
22+
23+
::selection {
24+
background-color: rgba(193, 129, 193, 0.576);
25+
color: black; /* Optional: set text color within selection */
26+
}

0 commit comments

Comments
 (0)