├── .env.example ├── .eslintrc.json ├── .gitignore ├── LICENSE.md ├── README.md ├── components ├── SignIn.tsx └── ThirdwebGuideFooter.tsx ├── constants └── index.ts ├── next-env.d.ts ├── next.config.js ├── package.json ├── pages ├── _app.tsx ├── api │ ├── auth │ │ └── [...nextauth].ts │ ├── grant-role.ts │ └── thirdweb-auth │ │ └── [...thirdweb].ts └── index.tsx ├── public ├── favicon.ico ├── github.png ├── logo.png └── thirdweb.svg ├── styles ├── Home.module.css └── globals.css ├── tsconfig.json └── yarn.lock /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thirdweb-example/discord-role-granter/HEAD/.env.example -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thirdweb-example/discord-role-granter/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thirdweb-example/discord-role-granter/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thirdweb-example/discord-role-granter/HEAD/README.md -------------------------------------------------------------------------------- /components/SignIn.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thirdweb-example/discord-role-granter/HEAD/components/SignIn.tsx -------------------------------------------------------------------------------- /components/ThirdwebGuideFooter.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thirdweb-example/discord-role-granter/HEAD/components/ThirdwebGuideFooter.tsx -------------------------------------------------------------------------------- /constants/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thirdweb-example/discord-role-granter/HEAD/constants/index.ts -------------------------------------------------------------------------------- /next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thirdweb-example/discord-role-granter/HEAD/next-env.d.ts -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thirdweb-example/discord-role-granter/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thirdweb-example/discord-role-granter/HEAD/package.json -------------------------------------------------------------------------------- /pages/_app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thirdweb-example/discord-role-granter/HEAD/pages/_app.tsx -------------------------------------------------------------------------------- /pages/api/auth/[...nextauth].ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thirdweb-example/discord-role-granter/HEAD/pages/api/auth/[...nextauth].ts -------------------------------------------------------------------------------- /pages/api/grant-role.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thirdweb-example/discord-role-granter/HEAD/pages/api/grant-role.ts -------------------------------------------------------------------------------- /pages/api/thirdweb-auth/[...thirdweb].ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thirdweb-example/discord-role-granter/HEAD/pages/api/thirdweb-auth/[...thirdweb].ts -------------------------------------------------------------------------------- /pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thirdweb-example/discord-role-granter/HEAD/pages/index.tsx -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thirdweb-example/discord-role-granter/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/github.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thirdweb-example/discord-role-granter/HEAD/public/github.png -------------------------------------------------------------------------------- /public/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thirdweb-example/discord-role-granter/HEAD/public/logo.png -------------------------------------------------------------------------------- /public/thirdweb.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thirdweb-example/discord-role-granter/HEAD/public/thirdweb.svg -------------------------------------------------------------------------------- /styles/Home.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thirdweb-example/discord-role-granter/HEAD/styles/Home.module.css -------------------------------------------------------------------------------- /styles/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thirdweb-example/discord-role-granter/HEAD/styles/globals.css -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thirdweb-example/discord-role-granter/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thirdweb-example/discord-role-granter/HEAD/yarn.lock --------------------------------------------------------------------------------