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

Add dynamic redirect to Dashboard Bandada logo #650

Open
waddaboo opened this issue Dec 19, 2024 · 8 comments
Open

Add dynamic redirect to Dashboard Bandada logo #650

waddaboo opened this issue Dec 19, 2024 · 8 comments
Assignees
Labels
feature 🚀 This is enhancing something existing or creating something new good first issue Good for newcomers

Comments

@waddaboo
Copy link
Collaborator

Description

The Bandada logo in the Dashboard navigation bar is currently hardcoded to redirect to https://app.bandada.pse.dev.

It would be great to add a dynamic redirect based on the current environment.

Example:

if local, redirect to http://localhost:3001/
if staging, redirect to https://app-staging.bandada.pse.dev/
if production, redirect to https://app.bandada.pse.dev/

image

@waddaboo waddaboo added feature 🚀 This is enhancing something existing or creating something new good first issue Good for newcomers labels Dec 19, 2024
@spudoodle
Copy link

Hey, I would like to work on this

@vplasencia
Copy link
Member

Hey @spudoodle! Sounds great. Would you like me to assign you this issue?

@spudoodle
Copy link

Sure

@vplasencia
Copy link
Member

Hey @spudoodle! You have the issue assigned now. Feel free to ask any questions you may have.

@Shalomnze
Copy link

I am Nze Shalom, a full stack developer with strong foundation in modern web development frameworks and technologies. My expertise includes: Figma Nuxt.js, React js, Next.js and Tailwind CSS with a bit of knowledge in Cairo. I am Experienced in crafting responsive, visually appealing designs using Tailwind CSS, ensuring consistency and efficiency in the development process. I would love to contribute to this project.
My approach towards this issue would be first to locate the navbar.tsx file in the component folder then i would create a function that uses usenaviagate hook to redirect based on the environment by using the REACT_APP_REDIRECT_URL located in the env file. ETA is 12hrs

@ONEONUORA
Copy link

Is it okay if I tackle this?. I am a full stack and blockchain developer

@aidenwong812
Copy link

I’d love to work on this task.

@pheobeayo
Copy link

I'd love to give this a go.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature 🚀 This is enhancing something existing or creating something new good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

7 participants