diff --git a/.env.example b/.env.example index 17df5cc..f856593 100644 --- a/.env.example +++ b/.env.example @@ -1,3 +1,9 @@ -# DATABASE_URL=file:./dev.db -# TEST_DATABASE_URL=file:./.redwood/test.db -# PRISMA_HIDE_UPDATE_MESSAGE=true +COLLAB_LAND_APP_ID= +COLLAB_LAND_APP_SECRET= +ETHEREUM_JWT_SECRET= +XDAI_RPC_URL= +INFURA_ENDPOINT_KEY= + +LOGIN_URL=http://0.0.0.0:8910/login + +#DATABASE_URL=file:./dev.db diff --git a/.env.template b/.env.template deleted file mode 100644 index 80c5edb..0000000 --- a/.env.template +++ /dev/null @@ -1,7 +0,0 @@ -COLLAB_LAND_APP_ID= -COLLAB_LAND_APP_SECRET= -ETHEREUM_JWT_SECRET= -XDAI_RPC_URL= -INFURA_ENDPOINT_KEY= - -#DATABASE_URL=file:./dev.db diff --git a/.gitignore b/.gitignore index e7b00eb..672ca89 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ dist-babel node_modules yarn-error.log web/public/mockServiceWorker.js +notes.md diff --git a/LICENSE b/LICENSE index f943bbb..e737f1f 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2020 Redwood +Copyright (c) 2020 Patrick Gallagher Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 076bfc5..3dc8849 100644 --- a/README.md +++ b/README.md @@ -1,61 +1,83 @@ -
- {timeTag(game.playedAt)} -
-- We had a problem! Please contact us if this keeps happening. + We had a problem! Please let us know in our Discord server if this + keeps happening.
) - if (!id) + if (!ephemeralId) return (- Uh oh! Looks like your url is missing some things. Please start over. + Uh oh! Looks like your url is missing an ID value. Please start over.
) // Happy case @@ -84,7 +88,7 @@ const LoginPage = () => { > ) : (- 🎉 Done! Close this page and check your DMs. + 🎉 Login complete! Redirecting you to your profile now...
)} > @@ -95,7 +99,7 @@ const LoginPage = () => { <>Sign-in with your wallet
{renderCallToAction()} diff --git a/web/src/pages/UserPage/UserPage.js b/web/src/pages/UserPage/UserPage.js new file mode 100644 index 0000000..fbb6578 --- /dev/null +++ b/web/src/pages/UserPage/UserPage.js @@ -0,0 +1,18 @@ +import { Link, routes } from '@redwoodjs/router' + +const UserPage = () => { + return ( + <> +
+ Find me in ./web/src/pages/UserPage/UserPage.js
+
+ My default route is named user, link to me with `
+ User`
+