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

Governance links section #1402

Merged
merged 7 commits into from
Oct 26, 2024
Merged

Governance links section #1402

merged 7 commits into from
Oct 26, 2024

Conversation

bobo-k2
Copy link
Contributor

@bobo-k2 bobo-k2 commented Oct 22, 2024

Pull Request Summary

Added

  • governance link section to the portal
  • governance link to the sidebar

This is currently available on Shibuya
image

Check list

  • contains breaking changes
  • adds new feature
  • modifies existing feature (bug fix or improvements)
  • relies on other tasks
  • documentation changes
  • tested on mobile devices

@bobo-k2 bobo-k2 marked this pull request as ready for review October 22, 2024 07:18
Copy link

github-actions bot commented Oct 22, 2024

Visit the preview URL for this PR (updated for commit 77d689d):

https://astar-apps--pr1402-feat-governance-link-49fptgaf.web.app

(expires Wed, 30 Oct 2024 06:59:20 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: dd76fe72958fe2910fef9d53f0b4539b82b849db

src/components/governance/GovernanceLink.vue Show resolved Hide resolved
@@ -126,12 +118,12 @@ export default defineComponent({
setup() {
const { isOpen } = useSidebar();
const { isZkEvm, isZkyoto } = useNetworkInfo();
const { isEnabled: isGovernanceEnabled, homepageUrl } = useGovernance();
Copy link
Member

Choose a reason for hiding this comment

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

imo, it's better to use governanceUrl

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed in 4d7e109

src/hooks/useGovernance.ts Show resolved Hide resolved
@Kahonnohak
Copy link
Contributor

Wow great! This really gets attention:)

  • Can you add dark theme please
  • Can we say maximum 3 lines and if its longer, would you add "..." ?
Screenshot 2024-10-22 at 09 20 25

@Kahonnohak
Copy link
Contributor

Please also add Governance to the mobile menu

@bobo-k2
Copy link
Contributor Author

bobo-k2 commented Oct 22, 2024

Please also add Governance to the mobile menu

Hi @Kahonnohak I believe I addressed all your comments. Please check, especially the dark theme

@bobo-k2 bobo-k2 merged commit db3f3e8 into main Oct 26, 2024
8 of 9 checks passed
@bobo-k2 bobo-k2 deleted the feat/governance-links branch October 26, 2024 11:06
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.

4 participants