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

Issue #2 - created my personal page ~ STYLES (Kartik) #27

Merged
merged 3 commits into from
Sep 16, 2024

Conversation

ishtails
Copy link
Contributor

Description

Added a new personal profile page at /builders/0x5D56b71abE6cA1Dc208Ed85926178f9758fa879c.

Additional Information

Screenshots:
screenshot (buidlguidl)

Related Issues

_Closes #9 (Personal Page)

Your ENS/address: 0x5D56b71abE6cA1Dc208Ed85926178f9758fa879c

Copy link

vercel bot commented Sep 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
batch9-buidlguidl-com-nextjs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 16, 2024 11:41am

@ishtails ishtails changed the title created my personal page ~ STYLES (Kartik) Issue #2 - created my personal page ~ STYLES (Kartik) Sep 13, 2024
@phipsae phipsae self-requested a review September 16, 2024 07:53
Copy link
Collaborator

@phipsae phipsae left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks a lot, @ishtails! I love your design, really beautiful and cool implemented! :)

Below I left you some comments.

@@ -4,6 +4,335 @@
*/
import { GenericContractsDeclaration } from "~~/utils/scaffold-eth/contract";

const deployedContracts = {} as const;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would only push the file if it's a contract on real network, not a localhost one. It's useful for contributors when the contract is live, as they can interact with it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hey!! i am actually confused about this file. does changing the chain to optimism and redeploying fixes the issue? it seems like the file was auto-generated when i was testing on localhost. could you help me understand it better?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Once you deploy a contract to a chain, it is automatically created. This is useful when deploying a new contract to the mainnet, as it allows other contributors to know which external contracts are being used, along with their respective addresses. On a local network, however, the contract addresses can vary since everyone deploys their own instances. Since we're focusing on front-end work and not working on new smart contracts here, we'd prefer not to modify the file.

Hopefully that makes sense, pls let me know.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

alright! i got it. made changes to undo the modifications to this file. will keep this in mind next time. thanks!

@@ -10,7 +10,7 @@ export type ScaffoldConfig = {

const scaffoldConfig = {
// The networks on which your DApp is live
targetNetworks: [chains.optimism],
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since the project is on Optimism, I wouldn't switch it to Hardhat.

},
];

const STYLESProfilePage = () => {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You might want to consider typing your page as NextPage since we are using TypeScript, as this ensures better integration and adds clarity for future maintainers by indicating that the component is a Next.js page.

@@ -14,6 +14,9 @@ const nextConfig = {
config.externals.push("pino-pretty", "lokijs", "encoding");
return config;
},
images: {
domains: ["assets.aceternity.com"]
},
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure if you need that. I couldn't find any external images in your codebase that comes from this domain, so you might want to consider removing it.

@@ -0,0 +1,73 @@
"use client";
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You might want to remove "use client;" here and apply it directly to floating_bar.tsx```.

@@ -0,0 +1,73 @@
"use client";

import React from "react";
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't need to explicitly import React in Next.js anymore, starting from Next.js 12.2 and React 17 and above. With these versions, Next.js automatically imports React when needed, so you can safely omit import React from "react" at the top of your files.

@@ -0,0 +1,143 @@
"use client";

import React from "react";
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not needed

@ishtails
Copy link
Contributor Author

hey @phipsae!! thankyou for taking the time out to pin point these issues. i have made changes according to your suggestions, please review.

@phipsae phipsae merged commit 413aa9a into BuidlGuidl:main Sep 16, 2024
2 checks passed
@phipsae
Copy link
Collaborator

phipsae commented Sep 16, 2024

and merged, thanks for the nice page! :)

@ishtails
Copy link
Contributor Author

thank you! :))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants