Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Back to discord #10

Open
wants to merge 2 commits into
base: update-gist
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .env.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
NEXTAUTH_URL=http://localhost:3000
NEXTAUTH_SECRET=
DISCORD_CLIENT_ID=
DISCORD_CLIENT_SECRET=
INFURA_ID=
GITHUB_API_TOKEN=
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
DISCORD_GUILD_ID=696853831476314204
DISCORD_ROLE_ID=759132992336953344
DISCORD_BOT_TOKEN=
18 changes: 18 additions & 0 deletions pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,26 @@ export default function Home() {
width={75}
height={75}
/>

<p className="text-2xl w-80 text-center">{brightIDMessage}</p>
</div>
{!session.hasBrightId && (
<div className="flex flex-col justify-center items-center ">
<p className="text-large">
You Must Link Your BrightID account via the Discord Bot
</p>
<a
href="https://discord.gg/JTctQhENDe"
target={'_blank'}
rel="noreferrer"
>
<button className="shadow-md m-20 w-60 text-white p-2 text-xl font-bold bg-discord rounded">
Back to Discord
</button>
</a>
</div>
)}

{session.hasBrightId && (
<>
<div className="w-full flex flex-row justify-center items-center">
Expand Down
2 changes: 1 addition & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
'./components/**/*.{js,ts,jsx,tsx}',
],
theme: {
extend: { colors: { 'she-pink': '#ff006c', cornflowerblue: '#46a1f3' } },
extend: { colors: { 'she-pink': '#ff006c', cornflowerblue: '#46a1f3', discord:"#7289DA" } },
},
plugins: [],
};