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

Customize Banners #2223

Merged
merged 43 commits into from
Apr 26, 2024
Merged

Customize Banners #2223

merged 43 commits into from
Apr 26, 2024

Conversation

juniusfree
Copy link
Collaborator

@juniusfree juniusfree commented Feb 24, 2024

📌 References

📘 Description

Added base banner files

App.tsx Changes

  • CustomizeBannersPage import: Imported the Customize Banners page.
  • /settings/customize-banners route: Added a new route for customizing banners.

CustomizeBanners Component (index.tsx)

  • New component: Added a new component for customizing command banners.
  • Image handling: Enables uploading, replacing, and deleting banner and top images for commands.
  • Command banners data: Contains definitions for various command banners, including quests, submissions, level, leaderboard, store, purchases, and onboard me.
  • GraphQL operations: Implements mutations for updating and deleting organization banners.

CustomizeBanners Styles (styles.tsx)

  • New styles: Added styled components for the Customize Banners page layout.

MenuSwitcher.tsx Changes

  • Customize Banners menu item: Added a new menu item for accessing the Customize Banners settings page.

GraphQL

  • orgAsset.ts fragment: Defined a new GraphQL fragment for organization banners.
  • orgAsset.ts mutations: Added mutations for updating and deleting organization banners.
  • orgAsset.ts query: Added a query to fetch organization banners.

customize-banners.tsx Page

  • New settings page: Added a new settings page to incorporate the Customize Banners component within the settings layout.

🎥 Screenshot or Video

https://www.loom.com/share/e97a800264e541808349a2dbaab88eb7

🍰 Checklist:

@juniusfree juniusfree self-assigned this Feb 24, 2024
Copy link

vercel bot commented Feb 24, 2024

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

Name Status Preview Comments Updated (UTC)
wonderverse-web ❌ Failed (Inspect) Mar 23, 2024 0:31am
wondrous-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 23, 2024 0:31am
wondrous-bot-admin ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 23, 2024 0:31am

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