Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cyril #1

Open
wants to merge 72 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
632cfbc
fixes
Jan 16, 2022
ab2d2f5
added navbar
Jan 16, 2022
0442d1a
fixes text color
Jan 16, 2022
032c2e6
added custom color pallet
Jan 16, 2022
4d76cfb
fixed search color
Jan 16, 2022
57779b3
svg
Jan 17, 2022
31ef1ba
lock
charles-vj Jan 19, 2022
09e1818
merge conf
charles-vj Jan 19, 2022
c2f6ecb
Added pixel editor for users to create NFT's
starwiz-7 Jan 20, 2022
4549785
Merge branch 'Cyril' of https://github.com/cyril2019/thirdweb_1 into …
charles-vj Jan 20, 2022
7ed4a6a
added footer, designed navbar, fixed responsiveness in marketplace, r…
Jan 20, 2022
0449f55
added animation on card hover
Jan 20, 2022
d1a672f
wallet connect and Profile card
charles-vj Jan 21, 2022
8467ca9
Merge branch 'Cyril' of https://github.com/cyril2019/thirdweb_1 into …
charles-vj Jan 21, 2022
15a577e
connected wallet screen
charles-vj Jan 21, 2022
28b8796
Added image preview of created NFtT
starwiz-7 Jan 21, 2022
9ce49c4
Merged confilcts fixed
starwiz-7 Jan 21, 2022
199ca94
fixes
Jan 21, 2022
bf1a1b7
Merge branch 'Cyril' of https://github.com/cyril2019/thirdweb_1 into …
Jan 21, 2022
6ac4c3a
Refactored code, enhanced preview, added links in navbar
starwiz-7 Jan 21, 2022
38f879f
Merge conflicts fixed
starwiz-7 Jan 21, 2022
ff6eb72
completed nft pag
Jan 21, 2022
7d04f1d
Merge branch 'Cyril' of https://github.com/cyril2019/thirdweb_1 into …
Jan 21, 2022
264e972
address shortened
charles-vj Jan 22, 2022
30f52c3
mint functionality added
charles-vj Jan 23, 2022
a615a31
fix
Jan 23, 2022
e370901
Merge branch 'Cyril' of https://github.com/cyril2019/thirdweb_1 into …
Jan 23, 2022
e85b6ef
Added context, created mint page
starwiz-7 Jan 23, 2022
6c267ac
Resolved conflicts
starwiz-7 Jan 23, 2022
bc11435
Delete package-lock.json
cyril2019 Jan 23, 2022
519630b
remove apostrophe
charles-vj Jan 23, 2022
95a6554
fixes
Jan 23, 2022
2139733
Merge branch 'Cyril' of https://github.com/cyril2019/thirdweb_1 into …
Jan 23, 2022
ed4fe10
landing
Jan 23, 2022
b658cb0
landing
Jan 23, 2022
3ee0c54
fix
Jan 23, 2022
afd6081
fix
Jan 23, 2022
152c386
marketplace listing fetch functionality
charles-vj Jan 23, 2022
4bd1ba0
resolved conflicts
charles-vj Jan 23, 2022
a2cf5b7
fix
Jan 24, 2022
f3af857
fixed marketplace
Jan 24, 2022
cb8ae19
fixed landing page
Jan 24, 2022
91423b7
Integrated mint page with api, and enhanced image creation for NFT
starwiz-7 Jan 24, 2022
f9abde8
Added loader while minting, call for marketplace in useEffect
starwiz-7 Jan 24, 2022
357bd5d
Merge branch 'Cyril' of https://github.com/cyril2019/thirdweb_1 into …
Jan 25, 2022
01d47c6
Made UI changes
starwiz-7 Jan 25, 2022
15fccfb
Merge branch 'Cyril' of https://github.com/cyril2019/thirdweb_1 into …
Jan 25, 2022
b9c6eb5
profile linked
charles-vj Jan 25, 2022
b9a1931
Merge branch 'Cyril' of https://github.com/cyril2019/thirdweb_1 into …
Jan 25, 2022
a601443
loader and color fix
Jan 25, 2022
60282db
loader on mint page
Jan 25, 2022
0eee8a8
UI Changes, added code for listing and buying NFT
starwiz-7 Jan 26, 2022
c0c1996
Merge branch 'Cyril' into game
starwiz-7 Jan 26, 2022
077d8ce
Merge pull request #2 from cyril2019/game
starwiz-7 Jan 26, 2022
ff4df35
added navbar to mobile version
Jan 27, 2022
31797fe
fixed editor.js
Jan 27, 2022
4f2767c
fixed navbar
Jan 27, 2022
d68e3ff
navbar fix
Jan 27, 2022
bc5f7cb
fixed navbar, profile page
Jan 27, 2022
c1a3cfe
Buy, listing finally done lol
starwiz-7 Jan 27, 2022
e25eb9c
Resolved merge conflicts
starwiz-7 Jan 27, 2022
2df2369
fixed
Jan 27, 2022
efb21c3
Merge branch 'Cyril' of https://github.com/cyril2019/thirdweb_1 into …
Jan 27, 2022
7d480a1
fixes
Jan 27, 2022
a6783a4
worked on NFT page
Jan 27, 2022
11ec532
fixed NFTTile
Jan 27, 2022
b0381ea
Pakka marketplace done & tested
starwiz-7 Jan 28, 2022
4b3797a
Resolved conflicts
starwiz-7 Jan 28, 2022
bb7fbec
fixed minting page
Jan 28, 2022
5d7e211
started work on game
Jan 28, 2022
689de88
added game
Jan 29, 2022
48b0f19
img tag for car
Jan 29, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"extends": ["plugin:react/recommended", "next/core-web-vitals", "prettier"]
"extends": ["plugin:react/recommended", "next/core-web-vitals", "prettier"],
"rules": { "react/no-unescaped-entities": 0 }
}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*

# /scripts/.env
# local env files
# .env
.env.local
.env.development.local
.env.test.local
Expand Down
33 changes: 33 additions & 0 deletions context/addressContext.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import React, { createContext, useContext, useState } from 'react';

const AddressContext = createContext();

export const AddressContextProvider = ({ children }) => {
const [walletaddress, setAddress] = useState('kokokoko');
const [nftimage, setImage] = useState('');

const handleImage = (img) => {
console.log('in context');
setImage(img);
};

const handleAddress = (addr) => {
setAddress(addr);
};
const ctxProps = {
walletaddress,
handleAddress,
nftimage,
handleImage,
};

return (
<AddressContext.Provider value={{ walletaddress, handleAddress, nftimage, handleImage }}>
{children}
</AddressContext.Provider>
);
};

export const useAddressContext = () => {
return useContext(AddressContext);
};
Binary file added img/bike.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/car.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/cj-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/gameover-bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/hero-car.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/left-btn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/play-btn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/retry-btn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/right-btn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/startpage-bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/title.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion next.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = {
reactStrictMode: true,
}
};
Loading