Skip to content

Commit a016f79

Browse files
committed
project init
1 parent b528d23 commit a016f79

24 files changed

+1172
-0
lines changed

.gitignore

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Project dependencies
2+
.cache
3+
node_modules
4+
yarn-error.log
5+
package-lock.json
6+
7+
# Build directory
8+
/public
9+
.DS_Store
10+
11+
.vscode/

REACT.md

+70
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
# Getting Started with Create React App
2+
3+
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
4+
5+
## Available Scripts
6+
7+
In the project directory, you can run:
8+
9+
### `npm start`
10+
11+
Runs the app in the development mode.\
12+
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.
13+
14+
The page will reload when you make changes.\
15+
You may also see any lint errors in the console.
16+
17+
### `npm test`
18+
19+
Launches the test runner in the interactive watch mode.\
20+
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
21+
22+
### `npm run build`
23+
24+
Builds the app for production to the `build` folder.\
25+
It correctly bundles React in production mode and optimizes the build for the best performance.
26+
27+
The build is minified and the filenames include the hashes.\
28+
Your app is ready to be deployed!
29+
30+
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
31+
32+
### `npm run eject`
33+
34+
**Note: this is a one-way operation. Once you `eject`, you can't go back!**
35+
36+
If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
37+
38+
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.
39+
40+
You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.
41+
42+
## Learn More
43+
44+
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
45+
46+
To learn React, check out the [React documentation](https://reactjs.org/).
47+
48+
### Code Splitting
49+
50+
This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)
51+
52+
### Analyzing the Bundle Size
53+
54+
This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)
55+
56+
### Making a Progressive Web App
57+
58+
This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)
59+
60+
### Advanced Configuration
61+
62+
This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)
63+
64+
### Deployment
65+
66+
This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)
67+
68+
### `npm run build` fails to minify
69+
70+
This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)

package.json

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"name": "xbis",
3+
"hostname": "https://xbis7.github.io/xbis",
4+
"version": "0.1.0",
5+
"private": true,
6+
"dependencies": {
7+
"@fullpage/react-fullpage": "^0.1.29",
8+
"@testing-library/jest-dom": "^5.16.5",
9+
"@testing-library/react": "^13.4.0",
10+
"@testing-library/user-event": "^13.5.0",
11+
"emailjs-com": "^3.2.0",
12+
"react": "^18.2.0",
13+
"react-dom": "^18.2.0",
14+
"react-router-dom": "^6.4.3",
15+
"react-scripts": "5.0.1",
16+
"react-scroll": "^1.8.8",
17+
"react-scrollspy": "^3.4.3",
18+
"react-type-animation": "^2.1.2",
19+
"react-ui-scrollspy": "^2.1.0",
20+
"semantic-ui-css": "^2.4.1",
21+
"semantic-ui-react": "^2.1.3",
22+
"web-vitals": "^2.1.4"
23+
},
24+
"scripts": {
25+
"start": "react-scripts start",
26+
"predeploy": "npm run build",
27+
"deploy": "gh-pages -d build",
28+
"build": "react-scripts build",
29+
"test": "react-scripts test",
30+
"eject": "react-scripts eject",
31+
"postinstall": "semantic-ui-css-patch"
32+
},
33+
"eslintConfig": {
34+
"extends": [
35+
"react-app",
36+
"react-app/jest"
37+
]
38+
},
39+
"browserslist": {
40+
"production": [
41+
">0.2%",
42+
"not dead",
43+
"not op_mini all"
44+
],
45+
"development": [
46+
"last 1 chrome version",
47+
"last 1 firefox version",
48+
"last 1 safari version"
49+
]
50+
},
51+
"devDependencies": {
52+
"gh-pages": "^4.0.0"
53+
}
54+
}

src/App.css

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
.App {
2+
text-align: center;
3+
background-color: rgb(8, 49, 97);
4+
}
5+
6+
.title {
7+
margin: 40px 10px 40px 10px;
8+
font-size: 56px;
9+
font-family: monospace;
10+
}
11+
12+
.App-logo {
13+
height: 40vmin;
14+
pointer-events: none;
15+
}
16+
17+
@media (prefers-reduced-motion: no-preference) {
18+
.App-logo {
19+
animation: App-logo-spin infinite 20s linear;
20+
}
21+
}
22+
23+
.App-header {
24+
background-color: #282c34;
25+
min-height: 100vh;
26+
display: flex;
27+
flex-direction: column;
28+
align-items: center;
29+
justify-content: center;
30+
font-size: calc(10px + 2vmin);
31+
color: white;
32+
}
33+
34+
.App-link {
35+
color: #61dafb;
36+
}
37+
38+
@keyframes App-logo-spin {
39+
from {
40+
transform: rotate(0deg);
41+
}
42+
to {
43+
transform: rotate(360deg);
44+
}
45+
}

src/App.js

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
import './App.css';
2+
import React from 'react';
3+
import { useState } from 'react';
4+
import ScrollSpy from 'react-ui-scrollspy';
5+
6+
import NavigationBar from './components/NavigationBar';
7+
import Home from './components/Home';
8+
import About from './components/About';
9+
import Experience from './components/Experience';
10+
import Projects from './components/Projects';
11+
import Contact from './components/Contact';
12+
import Footer from './components/Footer';
13+
14+
export const ActiveItemContext = React.createContext({
15+
activeItem: 'home',
16+
setActiveItem: () => {}
17+
});
18+
19+
function App() {
20+
21+
const [activeItem, setActiveItem] = useState();
22+
23+
const value = { activeItem, setActiveItem };
24+
25+
return (
26+
<div className="App">
27+
<ActiveItemContext.Provider value={value}>
28+
<NavigationBar/>
29+
<ScrollSpy onUpdateCallback={(id) => setActiveItem(id.charAt(0).toUpperCase() + id.slice(1))} scrollThrottle={100} useBoxMethod={false}>
30+
<Home/>
31+
<About/>
32+
<Experience/>
33+
<Projects/>
34+
<Contact/>
35+
</ScrollSpy>
36+
<Footer/>
37+
</ActiveItemContext.Provider>
38+
</div>
39+
);
40+
}
41+
42+
export default App;

src/components/About/index.css

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
.About {
2+
padding: 40px;
3+
height: 100vh;
4+
background-color: rgb(0, 88, 189);
5+
color: rgb(230, 244, 255);
6+
}
7+
8+
@media screen and (min-width: 700px) {
9+
.centered.div1 {
10+
position: absolute;
11+
top: 150%;
12+
left: 50%;
13+
transform: translate(-50%, -50%);
14+
}
15+
}
16+
17+
@media screen and (max-width: 700px) {
18+
.centered.div1 {
19+
margin-top: 8em;
20+
}
21+
}
22+
23+
.name {
24+
font-size: 56px;
25+
}
26+
27+
.intro {
28+
font-size: 20px;
29+
}
30+
31+
.about {
32+
/* margin: 20px 150px 20px 150px; */
33+
font-size: 18px;
34+
text-align: justify;
35+
}

src/components/About/index.js

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
import './index.css'
2+
import React from 'react';
3+
import pdf from '../../resources/BISIAS.pdf';
4+
5+
export default function About() {
6+
7+
return (
8+
<div className='About' id='about'>
9+
<div className='centered div1'>
10+
<h1 className='title'>Few words about me</h1>
11+
<div className='about'>
12+
<p>
13+
I'm currently working as an open source engineer contributing to <strong><a href='https://ozone.apache.org/' style={{ color: '#f5a62a' }}>Apache Ozone</a></strong>.
14+
Apache Ozone is a highly scalable, distributed storage for Analytics, Big data and Cloud Native applications.
15+
</p>
16+
<p>
17+
Why open source? Through open source, we can develop and improve software that's available to every one.
18+
My contributions are my way of trying to make the world a better place and make people's life easier.
19+
Also, while working on an open source project, you collaborate with a lot of people
20+
with different backgrounds and that helps me evolve and become better at what I do.
21+
</p>
22+
<p>
23+
I mainly focus on backend work with Java but I'm always working
24+
on some side project, struggling to use a technology I know nothing about.
25+
Sometimes I'm building a web app, sometimes a mobile app
26+
and other times I'm writing a python script to automate a process.
27+
</p>
28+
<p>
29+
Each technology has its own use case, so on each occasion I try to find the one
30+
that's better suited for the task at hand. There is a good chance, that I won't know how
31+
to use it, but that never stopped me from getting familiar with something new.
32+
</p>
33+
<p><strong>Check out my <a href={pdf} target='_blank' style={{ color: '#f5a62a' }}>resume</a>.</strong></p>
34+
</div>
35+
</div>
36+
</div>
37+
);
38+
}

src/components/Contact/index.css

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
.Contact {
2+
padding: 40px;
3+
height: 100vh;
4+
background-color: aliceblue;
5+
}
6+
7+
@media screen and (min-width: 850px) {
8+
.centered.div4 {
9+
position: absolute;
10+
top: 450%;
11+
left: 50%;
12+
transform: translate(-50%, -50%);
13+
}
14+
}
15+
16+
@media screen and (min-width: 650px) {
17+
@media screen and (max-width: 850px) {
18+
.centered.div4 {
19+
margin-top: 8em;
20+
}
21+
}
22+
}
23+
24+
@media screen and (max-width: 650px) {
25+
.centered.div4 {
26+
margin-top: 8em;
27+
}
28+
}
29+
30+
.my.email {
31+
cursor: pointer;
32+
}

0 commit comments

Comments
 (0)