forked from Scaffold-Stark/scaffold-stark-2
-
Notifications
You must be signed in to change notification settings - Fork 18
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
Update Challenge-simple-nft-example last Version Scaffold Stark #101
Merged
Merged
Changes from 46 commits
Commits
Show all changes
52 commits
Select commit
Hold shift + click to select a range
d3b75e7
Add postinstall (#187)
jrcarlos2000 bf86a2e
feat: Add cyberpunk style (#181)
GabrielaDelPilarR 0954e0a
Fix correctly display wallet connectors (#189)
danielcdz 8659c38
Changes in styles (#191)
GabrielaDelPilarR 1c9aa03
Add correctly display wallet connectors in new style (#192)
Nadai2010 fe7eaae
Removed all mention of Goerli and all associated packages (#193)
Ugo-X df5f867
Update README.md
GabrielaDelPilarR bb0c32e
workflow to update create-stark in every PR (#195)
edulanasca dcf1e5c
chore(release): 0.0.3 [skip ci]
github-actions[bot] 051bec6
update: wallet not deployed in ui & deploy.ts (#196) [minor]
edulanasca 0525ed0
chore(release): 0.1.0 [skip ci]
github-actions[bot] 5c1b40e
devops(demo): support scaffol-stark-demo workflow (#199)
oceanlvr b51c207
Update CONTRIBUTING.md (#201)
0xquantum3labs ffeb461
chore(release): 0.1.1 [skip ci]
github-actions[bot] d1097a2
Fix botton Wallet Not Deployed (#203)
Nadai2010 cba6bc4
Update package.json (#204)
jrcarlos2000 5621fa2
chore(release): 0.1.2 [skip ci]
github-actions[bot] 2ad3b6a
lint to validate deployContract (#198)
edulanasca ed0b2ba
chore(release): 0.1.3 [skip ci]
github-actions[bot] 783a64e
Support for latest versions : v2 Release (#165) [minor]
0xquantum3labs f3b9656
chore(release): 0.2.0 [skip ci]
github-actions[bot] 4a8d170
Update rpc (#206)
0xquantum3labs b12b6e9
chore(release): 0.2.1 [skip ci]
github-actions[bot] 8ba39e2
chore : remove submodule (#207)
0xquantum3labs 5fee13e
chore(release): 0.2.2 [skip ci]
github-actions[bot] 63ccf8f
Update readme (#208)
0xquantum3labs 7149cb4
chore(release): 0.2.3 [skip ci]
github-actions[bot] 21a9edc
Update readme (#221)
GabrielaDelPilarR 9f65b18
chore(release): 0.2.4 [skip ci]
github-actions[bot] 57494b3
feat: improved faucet functionality and added sepolia faucets (#222)
Ayoazeez26 cd4ab1a
Feat/set and integrate blockexplorer (#225)
Ayoazeez26 3918641
Improve deploy function on deploy-contract.ts (#231)
ikemHood 6bb817c
fix : format
jrcarlos2000 35efe94
feat: add support for STRK balance (#226) [skip ci]
raizo07 1b910bd
Update readme (#240) [skip ci]
gianalarcon 77f50dc
chore(release): 0.2.5 [skip ci]
github-actions[bot] 9265529
Added yarn deploy:reset script to reset deployments (#233)
josephchimebuka c222129
Improve contract (#242)
gianalarcon c436d25
chore(release): 0.2.6 [skip ci]
github-actions[bot] 66a02bd
Clean challenge-base (#95)
gianalarcon db0128d
Update lint.yml
jrcarlos2000 80f3d15
Added classHash to debug page (#232)
Jemiiah a13379c
Update Challenge-simple-nft-example last Version Scaffold Stark
Nadai2010 41953c7
Remove MenuItem, uncomment refetch and add modify contactsData
Nadai2010 e6b74b7
Merge branch 'simple-nft-example' into nadai/simple-nft-update
Nadai2010 47ff9ab
Update fixed files and format
Nadai2010 e9f79d8
Update deployedContract
Nadai2010 7c63bc5
Update Challenge-base last Version Scaffold Stark (#99)
Nadai2010 3fd17ef
Remove unncesary workflows
gianalarcon 0262c90
Update ch-base (#105)
gianalarcon c925ad1
Merge branch 'challenge-base' into nadai/simple-nft-update
gianalarcon 403cd12
Remove comments
gianalarcon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
"use client"; | ||
|
||
import React, { useCallback, useRef, useState, useEffect } from "react"; | ||
import Image from "next/image"; | ||
import Link from "next/link"; | ||
|
@@ -19,7 +20,7 @@ import { devnet } from "@starknet-react/chains"; | |
import { SwitchTheme } from "./SwitchTheme"; | ||
import { useAccount, useProvider } from "@starknet-react/core"; | ||
|
||
export type HeaderMenuLink = { | ||
type HeaderMenuLink = { | ||
label: string; | ||
href: string; | ||
icon?: React.ReactNode; | ||
|
@@ -61,7 +62,6 @@ export const HeaderMenuLinks = () => { | |
useEffect(() => { | ||
setIsDark(theme === "dark"); | ||
}, [theme]); | ||
|
||
return ( | ||
<> | ||
{menuLinks.map(({ label, href, icon }) => { | ||
|
@@ -93,13 +93,13 @@ export const HeaderMenuLinks = () => { | |
export const Header = () => { | ||
const [isDrawerOpen, setIsDrawerOpen] = useState(false); | ||
const burgerMenuRef = useRef<HTMLDivElement>(null); | ||
|
||
useOutsideClick( | ||
burgerMenuRef, | ||
useCallback(() => setIsDrawerOpen(false), []), | ||
); | ||
const { targetNetwork } = useTargetNetwork(); | ||
const isLocalNetwork = targetNetwork.id === devnet.id; | ||
|
||
const { provider } = useProvider(); | ||
const { address, status } = useAccount(); | ||
const [isDeployed, setIsDeployed] = useState(true); | ||
|
@@ -151,7 +151,7 @@ export const Header = () => { | |
alt="SE2 logo" | ||
className="cursor-pointer" | ||
fill | ||
src="/challenge-icon-starknet.svg" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this two .svg are the same for me. We can delete one of them. Lets check and fix it from the scaffold-stark repo. We can fix this from the |
||
src="/logo.svg" | ||
/> | ||
</div> | ||
<div className="flex flex-col"> | ||
|
@@ -170,6 +170,7 @@ export const Header = () => { | |
</span> | ||
) : null} | ||
<CustomConnectButton /> | ||
{/* <FaucetButton /> */} | ||
<SwitchTheme | ||
className={`pointer-events-auto ${ | ||
isLocalNetwork ? "self-end md:self-auto" : "" | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove reference to https link, lets call relative/internal path