-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Ignore typescript/eslint errors on build (#39) * fix: sepolia and wc2 (#47) * fix: theme toggle styles (#46) * migration to wagmi V1, Viem and daisyUI v3 (#73) * remove vercel:yolo from root pacakge.json (#77) * Update useScaffoldContractWrite.ts - Error message typos * fix 0 price on sepolia network (#85) * fix: side quest heading (#87) * Pre-app-router se-2 backmerge (#96) * fix: remove vercel:yolo * fix: new interval api * remove use of custom light blue color for copy icon (#104) * Delete light blue color on txhash copy icons * Increase placeholder readability in dark mode * fix: infinite useEffect * fix: two rubes received bug * fix: last event emitting bug * fix: double setChannels bug 🤯 * Comment Checkpoint 5 code --------- Co-authored-by: Carlos Sánchez <oceanrdn@gmail.com> Co-authored-by: Shiv Bhonde | shivbhonde.eth <shivbhonde04@gmail.com> Co-authored-by: Zak G <zakgriffith@gmail.com> Co-authored-by: Pankaj Kumar <pkmahan786@gmail.com> Co-authored-by: tokodev <pablo@asdloop.com>
- Loading branch information
1 parent
e6e3747
commit dbc2325
Showing
27 changed files
with
829 additions
and
544 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Template for NextJS environment variables. | ||
|
||
# For local development, copy this file, rename it to .env.local, and fill in the values. | ||
# When deploying live, you'll need to store the vars in Vercel/System config. | ||
|
||
# If not set, we provide default values (check `scaffold.config.ts`) so developers can start prototyping out of the box, | ||
# but we recommend getting your own API Keys for Production Apps. | ||
|
||
# To access the values stored in this env file you can use: process.env.VARIABLENAME | ||
# You'll need to prefix the variables names with NEXT_PUBLIC_ if you want to access them on the client side. | ||
# More info: https://nextjs.org/docs/pages/building-your-application/configuring/environment-variables | ||
NEXT_PUBLIC_ALCHEMY_API_KEY= | ||
NEXT_PUBLIC_WALLET_CONNECT_PROJECT_ID= |
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,12 +1,15 @@ | ||
import { AvatarComponent } from "@rainbow-me/rainbowkit"; | ||
import Blockies from "react-blockies"; | ||
import { blo } from "blo"; | ||
|
||
// Custom Avatar for RainbowKit | ||
export const BlockieAvatar: AvatarComponent = ({ address, ensImage, size }) => | ||
ensImage ? ( | ||
// Don't want to use nextJS Image here (and adding remote patterns for the URL) | ||
// eslint-disable-next-line | ||
<img className="rounded-full" src={ensImage} width={size} height={size} alt={`${address} avatar`} /> | ||
) : ( | ||
<Blockies className="rounded-full" seed={address?.toLowerCase() as string} scale={size > 30 ? 10 : 3.75} /> | ||
); | ||
export const BlockieAvatar: AvatarComponent = ({ address, ensImage, size }) => ( | ||
// Don't want to use nextJS Image here (and adding remote patterns for the URL) | ||
// eslint-disable-next-line @next/next/no-img-element | ||
<img | ||
className="rounded-full" | ||
src={ensImage || blo(address as `0x${string}`)} | ||
width={size} | ||
height={size} | ||
alt={`${address} avatar`} | ||
/> | ||
); |
Oops, something went wrong.