Skip to content

Commit

Permalink
mokney do monkey say
Browse files Browse the repository at this point in the history
  • Loading branch information
forageddev committed Dec 29, 2022
1 parent df62bfa commit 92143d0
Show file tree
Hide file tree
Showing 5 changed files with 5,526 additions and 2,596 deletions.
3 changes: 2 additions & 1 deletion components/Nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,8 @@ const Nav: React.FC<Props> = (props) => {
})
} finally {
setLoading(false)
router.reload();
setUserInfoOpened(false) // we need this to make it so if they logout it closes the user info page <3
router.reload()
}
}} variant="outlined" startIcon={<Logout />} className="mx-12 dark:text-gray-300 text-gray-800 border-gray-800 hover:border-gray-700 dark:border-gray-300 hover:dark:border-gray-200 font-sans font-bold normal-case">
Sign out
Expand Down
26 changes: 26 additions & 0 deletions lib/providers.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import { Google, GitHub, Twitter } from "@mui/icons-material";
const pages = {
"google": {
displayName: "Google",
icon: <Google />
},
"spotify": {
displayName: "Spotify"
},
"azure": {
displayName: "Microsoft"
},
"twitter": {
displayName: "Twitter",
icon: <Twitter />
},
"github": {
displayName: "Github",
icon: <GitHub />
},
"gitlab": {
displayName: "Gitlab"
}
}

export default pages
Loading

0 comments on commit 92143d0

Please sign in to comment.