Skip to content

Commit

Permalink
Merge pull request #651 from spudoodle/feat/dynamic-redirect
Browse files Browse the repository at this point in the history
feat(dashboard): add dynamic redirect to navbar logo
  • Loading branch information
vplasencia authored Dec 27, 2024
2 parents 22a8c5f + 1930269 commit 30568b4
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 30568b4

Please sign in to comment.