Skip to content

Commit

Permalink
feat: migrate to react js
Browse files Browse the repository at this point in the history
  • Loading branch information
Anwar committed Aug 1, 2024
1 parent 699aeea commit 0723b0a
Show file tree
Hide file tree
Showing 11 changed files with 471 additions and 328 deletions.
Binary file modified .DS_Store
Binary file not shown.
4 changes: 2 additions & 2 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"presets": ["@babel/preset-env"]
}
"presets": ["@babel/preset-env", "@babel/preset-react"]
}
116 changes: 110 additions & 6 deletions dist/bundle.js

Large diffs are not rendered by default.

251 changes: 7 additions & 244 deletions index.html

Large diffs are not rendered by default.

216 changes: 204 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
{
"dependencies": {
"js-yaml": "^4.1.0"
"js-yaml": "^4.1.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"name": "anwar907.github.io",
"version": "1.0.0",
"description": "[![pages-build-deployment](https://github.com/anwar907/anwar907.github.io/actions/workflows/pages/pages-build-deployment/badge.svg?branch=master)](https://github.com/anwar907/anwar907.github.io/actions/workflows/pages/pages-build-deployment)",
"main": "index.js",
"devDependencies": {
"@babel/core": "^7.24.7",
"@babel/plugin-syntax-jsx": "^7.24.7",
"@babel/preset-env": "^7.24.7",
"@babel/preset-react": "^7.24.7",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"babel-loader": "^9.1.3",
"file-loader": "^6.2.0",
"webpack": "^5.92.1",
Expand Down
23 changes: 23 additions & 0 deletions src/app.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import React from "react";
import techTools from "./assets/assets";
import ToolsDevelopment from "./toolsDevelopment";

function App() {
const toolsItems = techTools.map((item, index) => (
<ToolsDevelopment key={index} product={item} />
));
return (
<div class="col-10" data-aos="fade-down">
<div
class="project label-content aos-init aos-animate"
data-aos="fade-down"
>
<h2>My Development Tools </h2>
</div>
<div class="row">{toolsItems}</div>
</div>
);
}

export default App

Loading

0 comments on commit 0723b0a

Please sign in to comment.