Skip to content

Commit

Permalink
feat(dashboard): add dynamic redirect to navbar logo
Browse files Browse the repository at this point in the history
add dynamic redirect to navbar logo, which was previously leading to the production dashboard in all
environments
  • Loading branch information
spudoodle committed Dec 20, 2024
1 parent abeb1ed commit 1930269
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions apps/dashboard/.env.local
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ VITE_ETHEREUM_NETWORK=sepolia
VITE_GITHUB_CLIENT_ID=a83a8b014ef38270fb22
VITE_TWITTER_CLIENT_ID=SUw4TUFiZGJaSXh2ak1YRkx3TFQ6MTpjaQ
VITE_TWITTER_REDIRECT_URI=http://localhost:3001/credentials
VITE_DASHBOARD_URL=http://localhost:3001/
1 change: 1 addition & 0 deletions apps/dashboard/.env.production
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ VITE_ETHEREUM_NETWORK=sepolia
VITE_GITHUB_CLIENT_ID=6ccd7b93e84260e353f9
VITE_TWITTER_CLIENT_ID=SUw4TUFiZGJaSXh2ak1YRkx3TFQ6MTpjaQ
VITE_TWITTER_REDIRECT_URI=https://app.bandada.pse.dev/credentials
VITE_DASHBOARD_URL=https://app.bandada.pse.dev/
1 change: 1 addition & 0 deletions apps/dashboard/.env.staging
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ VITE_ETHEREUM_NETWORK=sepolia
VITE_GITHUB_CLIENT_ID=6ccd7b93e84260e353f9
VITE_TWITTER_CLIENT_ID=SUw4TUFiZGJaSXh2ak1YRkx3TFQ6MTpjaQ
VITE_TWITTER_REDIRECT_URI=https://app-staging.bandada.pse.dev/credentials
VITE_DASHBOARD_URL=https://app-staging.bandada.pse.dev/
2 changes: 1 addition & 1 deletion apps/dashboard/src/components/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export default function NavBar(): JSX.Element {
backgroundRepeat="no-repeat"
backgroundSize="450px"
>
<a href="https://app.bandada.pse.dev">
<a href={import.meta.env.VITE_DASHBOARD_URL}>
<HStack spacing="1">
<Image
src={icon1Image}
Expand Down

0 comments on commit 1930269

Please sign in to comment.