Skip to content

Commit 4c8a1ab

Browse files
committed
Initial testing
1 parent 4576481 commit 4c8a1ab

File tree

17 files changed

+3744
-296
lines changed

17 files changed

+3744
-296
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: GitHub Pages deploy
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
jobs:
8+
build:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v2
14+
- name: Use Node.js 16.x
15+
uses: actions/setup-node@v2
16+
with:
17+
node-version: "16.x"
18+
19+
- name: Installing packages
20+
run: npm install
21+
22+
- name: Build
23+
run: npm run build && npm run export && touch ./out/.nojekyll
24+
25+
- name: Deploy
26+
uses: JamesIves/[email protected]
27+
with:
28+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29+
BRANCH: gh-pages
30+
FOLDER: out

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,10 @@ yarn-error.log*
3232

3333
# vercel
3434
.vercel
35+
36+
# intellij
37+
.idea/**
38+
39+
# lock file
40+
yarn.lock
41+
package-lock.json

README.md

Lines changed: 6 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,6 @@
1-
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
2-
3-
## Getting Started
4-
5-
First, run the development server:
6-
7-
```bash
8-
npm run dev
9-
# or
10-
yarn dev
11-
```
12-
13-
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
14-
15-
You can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file.
16-
17-
[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.ts`.
18-
19-
The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages.
20-
21-
## Learn More
22-
23-
To learn more about Next.js, take a look at the following resources:
24-
25-
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
26-
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
27-
28-
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
29-
30-
## Deploy on Vercel
31-
32-
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
33-
34-
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
1+
<a href="https://github.com/anuraghazra/github-readme-stats">
2+
<img align="center" src="https://github-readme-stats.vercel.app/api/pin/?username=anuraghazra&repo=github-readme-stats" />
3+
</a>
4+
<a href="https://github.com/anuraghazra/convoychat">
5+
<img align="center" src="https://github-readme-stats.vercel.app/api/pin/?username=anuraghazra&repo=convoychat" />
6+
</a>

package.json

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,25 @@
99
"lint": "next lint"
1010
},
1111
"dependencies": {
12+
"@emotion/react": "^11.5.0",
13+
"@emotion/styled": "^11.3.0",
14+
"@fontsource/roboto": "^4.5.1",
15+
"@mui/icons-material": "^5.0.4",
16+
"@mui/material": "^5.0.4",
17+
"framer-motion": "^4.1.17",
18+
"imagemin-mozjpeg": "^9.0.0",
19+
"imagemin-optipng": "^8.0.0",
20+
"imagemin-svgo": "^10.0.0",
1221
"next": "11.1.2",
22+
"next-image-loader": "^2.0.6",
23+
"next-images": "^1.8.1",
24+
"next-optimized-images": "^2.6.2",
1325
"react": "17.0.2",
14-
"react-dom": "17.0.2"
26+
"react-dom": "17.0.2",
27+
"react-icons": "^4.3.1",
28+
"react-wordcloud": "^1.2.7",
29+
"typewriter-effect": "^2.18.2",
30+
"vanta": "^0.5.21"
1531
},
1632
"devDependencies": {
1733
"@types/react": "17.0.30",

pages/Components/Footer.tsx

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
import {NextPage} from "next";
2+
import {BottomNavigation, BottomNavigationAction, Paper} from "@mui/material";
3+
import LinkedInIcon from "@mui/icons-material/LinkedIn";
4+
import GitHubIcon from "@mui/icons-material/GitHub";
5+
import {AiFillMediumSquare} from "react-icons/ai";
6+
7+
const Footer: NextPage = () => {
8+
9+
const openUrl = (value: number) => {
10+
const url = selectUrl(value)
11+
window.open(url, '_blank')
12+
}
13+
14+
const selectUrl = (selected: number) => {
15+
switch (selected) {
16+
case 0:
17+
return 'https://www.linkedin.com/in/saumyashovanroy/'
18+
case 1:
19+
return 'https://github.com/rdeepc/'
20+
case 2:
21+
return 'https://medium.com/@rdeep'
22+
}
23+
return ''
24+
}
25+
26+
return (
27+
<Paper sx={{position: 'fixed', bottom: 0, left: 0, right: 0}} elevation={5}>
28+
<BottomNavigation
29+
onChange={(event, newValue) => {
30+
openUrl(newValue)
31+
}}
32+
>
33+
<BottomNavigationAction label="LinkedIn" icon={<LinkedInIcon/>}/>
34+
<BottomNavigationAction label="Github" icon={<GitHubIcon/>}/>
35+
<BottomNavigationAction label="Medium"
36+
icon={<AiFillMediumSquare style={{height: "50", width: "50"}}/>}/>
37+
</BottomNavigation>
38+
</Paper>
39+
)
40+
}
41+
42+
export default Footer

pages/Components/Header.tsx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
import {NextPage} from "next";
2+
import Head from "next/head";
3+
4+
const Header: NextPage = () => {
5+
return (
6+
<Head>
7+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0,user-scalable=0"/>
8+
</Head>
9+
)
10+
}
11+
12+
export default Header

pages/Components/Info.tsx

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import {NextPage} from "next";
2+
import {Container} from "@mui/material";
3+
import Typography from "@mui/material/Typography";
4+
5+
const Info: NextPage = () => {
6+
7+
return (
8+
<Container>
9+
<Typography style={{fontSize: "3em"}}>Software Engineer</Typography>
10+
<Typography style={{fontSize: "1.2em"}}>Experienced in Cloud Technologies</Typography>
11+
<Typography style={{fontSize: "1.2em"}}>Interested in Opensource and Self Hosted
12+
technologies</Typography>
13+
<Typography style={{fontSize: "1.2em"}}>Based on Boston, MA, USA</Typography>
14+
</Container>
15+
)
16+
}
17+
18+
export default Info

pages/Components/Name.tsx

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
import {NextPage} from "next";
2+
import {Container} from "@mui/material";
3+
import {motion} from "framer-motion";
4+
import Typography from "@mui/material/Typography";
5+
6+
const Name: NextPage = () => {
7+
8+
return (
9+
<motion.div
10+
animate={{x: 20, y: 20, opacity: 1}}
11+
transition={{
12+
delay: 1,
13+
x: {type: "spring", stiffness: 100},
14+
default: {duration: 3},
15+
}}
16+
>
17+
<Container>
18+
<Typography style={{fontSize: "6em"}}>Saumya</Typography>
19+
<Typography style={{fontSize: "6em"}}>Shovan</Typography>
20+
<Typography style={{fontSize: "6em"}}>Roy</Typography>
21+
</Container>
22+
</motion.div>
23+
)
24+
}
25+
26+
export default Name

pages/Components/WorkWith.tsx

Lines changed: 184 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,184 @@
1+
// @ts-nocheck
2+
import {NextPage} from "next";
3+
import {Container} from "@mui/material";
4+
import Typography from "@mui/material/Typography";
5+
import ReactWordcloud from "react-wordcloud";
6+
7+
const WorkWith: NextPage = () => {
8+
9+
const words = [
10+
{
11+
text: 'Java',
12+
value: 100,
13+
},
14+
{
15+
text: 'Spring Boot',
16+
value: 100,
17+
},
18+
{
19+
text: 'JPA',
20+
value: 100,
21+
},
22+
{
23+
text: 'Hibernate',
24+
value: 100,
25+
},
26+
{
27+
text: 'Junit',
28+
value: 100,
29+
},
30+
{
31+
text: 'Mockito',
32+
value: 100,
33+
},
34+
{
35+
text: 'gRPC',
36+
value: 100,
37+
},
38+
{
39+
text: 'REST',
40+
value: 100,
41+
},
42+
{
43+
text: 'RabbitMQ',
44+
value: 100,
45+
},
46+
{
47+
text: 'NodeJS',
48+
value: 100,
49+
},
50+
{
51+
text: 'Express',
52+
value: 100,
53+
},
54+
{
55+
text: 'JavaScript',
56+
value: 100,
57+
},
58+
{
59+
text: 'ES6',
60+
value: 100,
61+
},
62+
{
63+
text: 'React',
64+
value: 100,
65+
},
66+
{
67+
text: 'SQL',
68+
value: 100,
69+
},
70+
{
71+
text: 'Elastic Search',
72+
value: 100,
73+
},
74+
{
75+
text: 'ELK',
76+
value: 100,
77+
},
78+
{
79+
text: 'NoSQL',
80+
value: 100,
81+
},
82+
{
83+
text: 'MongoDB',
84+
value: 100,
85+
},
86+
{
87+
text: 'Redis',
88+
value: 100,
89+
},
90+
{
91+
text: 'NoSQL',
92+
value: 100,
93+
},
94+
{
95+
text: 'Gitlab',
96+
value: 100,
97+
},
98+
{
99+
text: 'CI/CD',
100+
value: 100,
101+
},
102+
{
103+
text: 'Git',
104+
value: 100,
105+
},
106+
{
107+
text: 'Docker',
108+
value: 100,
109+
},
110+
{
111+
text: 'Helm',
112+
value: 100,
113+
},
114+
{
115+
text: 'Bash',
116+
value: 100,
117+
},
118+
{
119+
text: 'Maven',
120+
value: 100,
121+
},
122+
{
123+
text: 'Npm',
124+
value: 100,
125+
},
126+
{
127+
text: 'Kubernetes',
128+
value: 100,
129+
},
130+
{
131+
text: 'OpenShift',
132+
value: 100,
133+
},
134+
{
135+
text: 'AWS',
136+
value: 100,
137+
},
138+
{
139+
text: 'GCP',
140+
value: 100,
141+
},
142+
{
143+
text: 'Microk8s',
144+
value: 100,
145+
},
146+
{
147+
text: 'Nginx',
148+
value: 100,
149+
},
150+
]
151+
152+
const options = {
153+
colors: ["rgba(0,0,0,0.88)"],
154+
enableTooltip: false,
155+
deterministic: false,
156+
fontFamily: "Roboto",
157+
fontSizes: [5, 60],
158+
fontStyle: "normal",
159+
fontWeight: "normal",
160+
padding: 10,
161+
rotations: 3,
162+
rotationAngles: [0, 90],
163+
scale: "sqrt",
164+
spiral: "archimedean",
165+
transitionDuration: 10000
166+
};
167+
168+
const callbacks = {
169+
onWordClick: null,
170+
onWordMouseOver: null,
171+
onWordMouseOut: null,
172+
getWordTooltip: null
173+
}
174+
175+
// @ts-ignore
176+
return (
177+
<Container style={{padding: "50px"}}>
178+
<Typography style={{textAlign: "center", fontSize: "3em"}}>I work with</Typography>
179+
{process.browser && <ReactWordcloud words={words} options={options} callbacks={callbacks}/>}
180+
</Container>
181+
)
182+
}
183+
184+
export default WorkWith

0 commit comments

Comments
 (0)