-
Notifications
You must be signed in to change notification settings - Fork 381
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
feat: add Matija's Homepage realm to examples #2916
Conversation
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.
Left some comments. please check them out. thank you
…ble's names are seems ambiguous. Could you update their names? like mainAddr)
… on PR - error messages are repeated (invalid arress and unauthorized). please make them as constant.)
…mment on PR - very niptick: consider change parameter name a to more concrete name.)
Thank you for your insights @notJoon. I've fixed the issues, please let me know if I can make anything more appropriate. |
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.
Passerby here, feel free to ignore my comments. Was just passing by and was curious about why some things are the way they are
Thank you for your review @Maelkum before I say anything I have to say that this is the first thing I have built in Gno and generally on gno chain. This was built by following @leohhhn's live coding session (which is on gno.land's Youtube channel) where he built his own homepage which is in the examples. This is why I chose to do some of the things I did the way I did them. I fixed couple of the things you mentioned that I thought needed fixing, the rest I will try explaining in the replies to your comments. |
Putting in draft, click ready for review when it's ready for a second look. |
I'm a bot that assists the Gno Core team in maintaining this repository. My role is to ensure that contributors understand and follow our guidelines, helping to streamline the development process. The following requirements must be fulfilled before a pull request can be merged. These requirements are defined in this configuration file. Automated Checks🟢 Maintainers must be able to edit this pull request (more info) Manual Checks
Debug
|
- reorganize the home.gno so it doesn't use html anymore but mark down lib by @thanhgoc541 - change logic to vote for theme of the page instead of color - change pfp ps: lib used for .md is manually imported since the PR is still not merged
…e amount of money user sent
To leave a quick comment on the new look and logic of the home realm:
Realm is not deployed to any network as I have already taken a couple of namespaces and don't want to keep doing that, instead I am looking to get this approved and get my original namespace :) PS it is getting registered to the Hall of Realms |
Hey @matijamarjanovic, Generally you shouldn't take other people's code like this (the MDUI pkg). I know this was not your intention, but what you did was just copy paste this lib and if this PR is merged it will be your commit, effectively denying the original author their rights. What you should do, is, either use a library that exists in master ( I suggest you switch to using |
I thught this might be an issue and i agree, I even credited the author in the code through a comment above the code. I'll be commiting the fix in the next hour |
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.
LGTM 💯
Just check the CI; for example, you should run |
Summary
This pull request adds a new realm example to the Gno
examples
repository—Matija's Homepage. It showcases a personal homepage built on the Gno chain where users can interact by voting with GNOT tokens to change the page's color. The more tokens users send, the greater influence they have on the color scheme, providing an interactive and dynamic experience.Key Features
Tools & Technologies
Why this is valuable
This example highlights the possibilities of personal realms on Gno, showing how users can create unique and interactive profiles. It’s a fun and approachable entry point for anyone new to Gno development, while also demonstrating the platform's flexibility and potential for creative expression.