Skip to content

Commit

Permalink
move navbar items for mobile for now, back to react_app
Browse files Browse the repository at this point in the history
  • Loading branch information
spencerc99 committed Jan 15, 2022
1 parent 7de79de commit 08d2813
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions browser/src/components/Navbar.tsx
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
import { Link, NavLink } from "react-router-dom";
import { NavLink } from "react-router-dom";

export function Navbar() {
return (
<nav className="flex justify-end pt-8 pr-8">
<div className="pr-4">
<NavLink to="/about">
<NavLink to="/">
{({ isActive }) => (
<button
className={`glass-button ${isActive ? "selectedBorder" : ""}`}
>
About
Pluriverse
</button>
)}
</NavLink>
</div>
<div className="pr-4">
<NavLink to="/">
<NavLink to="/contributions">
{({ isActive }) => (
<button
className={`glass-button ${isActive ? "selectedBorder" : ""}`}
>
Pluriverse
All Contributions
</button>
)}
</NavLink>
Expand All @@ -32,12 +32,12 @@ export function Navbar() {
</a>
</div>
<div className="pr-4">
<NavLink to="/contributions">
<NavLink to="/about">
{({ isActive }) => (
<button
className={`glass-button ${isActive ? "selectedBorder" : ""}`}
>
All Contributions
About
</button>
)}
</NavLink>
Expand Down
2 changes: 1 addition & 1 deletion browser/src/helpers/wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export async function connectWithWalletConnect(): Promise<providers.Web3Provider

// USE WALLETCONNECT LIBRARIES
const provider = new WalletConnectProvider({
infuraId: process.env.INFURA_ID, // Required
infuraId: process.env.REACT_APP_INFURA_ID, // Required
});

// Enable session (triggers QR Code modal)
Expand Down

2 comments on commit 08d2813

@vercel
Copy link

@vercel vercel bot commented on 08d2813 Jan 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

pluriverse-server – ./server

pluriverse-server-verses-xyz.vercel.app
pluriverse-server.vercel.app
pluriverse-server-git-main-verses-xyz.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 08d2813 Jan 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.