diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..b242572 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,5 @@ +{ + "githubPullRequests.ignoredPullRequestBranches": [ + "main" + ] +} \ No newline at end of file diff --git a/README.md b/README.md index 2f1ec2d..d3a25b3 100644 --- a/README.md +++ b/README.md @@ -1 +1,16 @@ -# BOBDAO \ No newline at end of file +# Builders On Blockchain + +###### Project name - Builders On Blockchain +###### Link to working code in a public repo - Steps to check the Unstoppable Domain integration - +1. Clone the Repo +2. cd bob +3. npm install +4. npm start +5. Go to http://localhost:3000 +###### Recorded video demo of the integration - https://youtu.be/WoW0iuGrQqA +###### Live URL with working integration - https://bob-dao.vercel.app/ +###### Person of contact in case there are any questions - Aviral Gupta (Email - guptaaviral59@gmail.com ) +###### Discord ID - aviral23#0766 +###### UnstoppableDomain registered account email address - guptaaviral59@gmail.com +###### Code where Login With Unstoppable Domain is used - https://github.com/aviral10x/BOBDAO/blob/main/bob/src/components/UDomain.js +###### Code where UnstoppableDomain NFT Resolution is used - https://github.com/aviral10x/BOBDAO/blob/main/bob/src/components/Portfolio.js diff --git a/personal-portfolio/.gitignore b/bob/.gitignore similarity index 100% rename from personal-portfolio/.gitignore rename to bob/.gitignore diff --git a/bob/README.md b/bob/README.md new file mode 100644 index 0000000..d3a25b3 --- /dev/null +++ b/bob/README.md @@ -0,0 +1,16 @@ +# Builders On Blockchain + +###### Project name - Builders On Blockchain +###### Link to working code in a public repo - Steps to check the Unstoppable Domain integration - +1. Clone the Repo +2. cd bob +3. npm install +4. npm start +5. Go to http://localhost:3000 +###### Recorded video demo of the integration - https://youtu.be/WoW0iuGrQqA +###### Live URL with working integration - https://bob-dao.vercel.app/ +###### Person of contact in case there are any questions - Aviral Gupta (Email - guptaaviral59@gmail.com ) +###### Discord ID - aviral23#0766 +###### UnstoppableDomain registered account email address - guptaaviral59@gmail.com +###### Code where Login With Unstoppable Domain is used - https://github.com/aviral10x/BOBDAO/blob/main/bob/src/components/UDomain.js +###### Code where UnstoppableDomain NFT Resolution is used - https://github.com/aviral10x/BOBDAO/blob/main/bob/src/components/Portfolio.js diff --git a/personal-portfolio/contracts/nft1.sol b/bob/contracts/nft1.sol similarity index 100% rename from personal-portfolio/contracts/nft1.sol rename to bob/contracts/nft1.sol diff --git a/personal-portfolio/package-lock.json b/bob/package-lock.json similarity index 99% rename from personal-portfolio/package-lock.json rename to bob/package-lock.json index b952ebf..3b40314 100644 --- a/personal-portfolio/package-lock.json +++ b/bob/package-lock.json @@ -19,6 +19,7 @@ "@uauth/js": "^2.3.0", "@uauth/web3-react": "^2.0.0", "animate.css": "^4.1.1", + "axios": "^0.27.2", "bootstrap": "^5.1.3", "chai": "^4.3.6", "cors": "^2.8.5", @@ -6670,6 +6671,28 @@ "node": ">=12" } }, + "node_modules/axios": { + "version": "0.27.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz", + "integrity": "sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==", + "dependencies": { + "follow-redirects": "^1.14.9", + "form-data": "^4.0.0" + } + }, + "node_modules/axios/node_modules/form-data": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", + "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, "node_modules/axobject-query": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-2.2.0.tgz", @@ -35061,6 +35084,27 @@ "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.4.2.tgz", "integrity": "sha512-LVAaGp/wkkgYJcjmHsoKx4juT1aQvJyPcW09MLCjVTh3V2cc6PnyempiLMNH5iMdfIX/zdbjUx2KDjMLCTdPeA==" }, + "axios": { + "version": "0.27.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.27.2.tgz", + "integrity": "sha512-t+yRIyySRTp/wua5xEr+z1q60QmLq8ABsS5O9Me1AsE5dfKqgnCFzwiCZZ/cGNd1lq4/7akDWMxdhVlucjmnOQ==", + "requires": { + "follow-redirects": "^1.14.9", + "form-data": "^4.0.0" + }, + "dependencies": { + "form-data": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", + "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "requires": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + } + } + } + }, "axobject-query": { "version": "2.2.0", "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-2.2.0.tgz", diff --git a/personal-portfolio/package.json b/bob/package.json similarity index 98% rename from personal-portfolio/package.json rename to bob/package.json index c605139..aac8b99 100644 --- a/personal-portfolio/package.json +++ b/bob/package.json @@ -24,6 +24,7 @@ "react-router-dom": "^6.3.0", "react-router-hash-link": "^2.4.3", "react-scripts": "5.0.1", + "axios": "^0.27.2", "web-vitals": "^2.1.4", "@babel/preset-react": "^7.16.7", "@chainlink/contracts": "^0.4.0", diff --git a/personal-portfolio/public/favicon.ico b/bob/public/favicon.ico similarity index 100% rename from personal-portfolio/public/favicon.ico rename to bob/public/favicon.ico diff --git a/personal-portfolio/public/index.html b/bob/public/index.html similarity index 98% rename from personal-portfolio/public/index.html rename to bob/public/index.html index aa069f2..4bf316e 100644 --- a/personal-portfolio/public/index.html +++ b/bob/public/index.html @@ -24,7 +24,7 @@ work correctly both with client-side routing and a non-root public URL. Learn how to configure a non-root public URL by running `npm run build`. --> - React App + BOB DAO diff --git a/personal-portfolio/public/logo192.png b/bob/public/logo192.png similarity index 100% rename from personal-portfolio/public/logo192.png rename to bob/public/logo192.png diff --git a/personal-portfolio/public/logo512.png b/bob/public/logo512.png similarity index 100% rename from personal-portfolio/public/logo512.png rename to bob/public/logo512.png diff --git a/personal-portfolio/public/manifest.json b/bob/public/manifest.json similarity index 100% rename from personal-portfolio/public/manifest.json rename to bob/public/manifest.json diff --git a/personal-portfolio/public/robots.txt b/bob/public/robots.txt similarity index 100% rename from personal-portfolio/public/robots.txt rename to bob/public/robots.txt diff --git a/personal-portfolio/server.js b/bob/server.js similarity index 100% rename from personal-portfolio/server.js rename to bob/server.js diff --git a/personal-portfolio/src/About.js b/bob/src/About.js similarity index 100% rename from personal-portfolio/src/About.js rename to bob/src/About.js diff --git a/personal-portfolio/src/App.css b/bob/src/App.css similarity index 99% rename from personal-portfolio/src/App.css rename to bob/src/App.css index eebbf97..e7d7cee 100644 --- a/personal-portfolio/src/App.css +++ b/bob/src/App.css @@ -160,9 +160,10 @@ span.navbar-text { position: relative; background-color: transparent; transition: 0.3s ease-in-out; + z-index: 1; } .navbar-text button span { - z-index: 1; + z-index: 2; } .navbar-text button::before { content: ""; @@ -172,7 +173,7 @@ span.navbar-text { background-color: #fff; left: 0; top: 0; - z-index: -1; + z-index: 1; transition: 0.3s ease-in-out; } .navbar-text button:hover { diff --git a/personal-portfolio/src/App.js b/bob/src/App.js similarity index 96% rename from personal-portfolio/src/App.js rename to bob/src/App.js index 50a9952..6e35190 100644 --- a/personal-portfolio/src/App.js +++ b/bob/src/App.js @@ -9,6 +9,7 @@ import { Footer } from "./components/Footer"; import Create from './Create' +import Portfolio from './components/Portfolio'; // import MarketplaceAbi from '../contractsData/Marketplace.json' // import MarketplaceAddress from '../contractsData/Marketplace-address.json' @@ -57,7 +58,8 @@ function App() { - + +