diff --git a/.env.example b/.env.example index 8ee9ce71..3113063e 100644 --- a/.env.example +++ b/.env.example @@ -1,5 +1,5 @@ -VITE_APP_BASE_URL=/ +VITE_APP_BASE_URL=/zama_bounty/ VITE_LOCAL_IPFS_API_URL=http://localhost:5001 VITE_LOCAL_IPFS_GATEWAY_URL=http://localhost:8080 -VITE_DEDICATED_IPFS_URL= -VITE_PINATA_JWT= \ No newline at end of file +VITE_DEDICATED_IPFS_URL= "*******" +VITE_PINATA_JWT= "*******" \ No newline at end of file diff --git a/src/components/NavBar/NavBar.tsx b/src/components/NavBar/NavBar.tsx index f7a4d077..cdc5af94 100644 --- a/src/components/NavBar/NavBar.tsx +++ b/src/components/NavBar/NavBar.tsx @@ -23,11 +23,12 @@ export const NavBar = () => { setActiveLink(value); }; - + const [showHowItWorksModal, setShowHowItWorksModal] = useState(false); const toggleHowItWorksModal = () => setShowHowItWorksModal(!showHowItWorksModal); + const baseUrl = process.env.VITE_APP_BASE_URL || '/'; return ( @@ -40,10 +41,31 @@ export const NavBar = () => {