├── .gitignore ├── README.md ├── components ├── Card.tsx ├── Layout.tsx └── Nav.tsx ├── next-env.d.ts ├── package.json ├── pages ├── _app.tsx ├── api │ ├── join-queue.ts │ └── queue.ts ├── index.tsx └── join-queue.tsx ├── postcss.config.js ├── public └── face.png ├── styles └── index.css ├── tailwind.config.js ├── tsconfig.json ├── utils └── connectToDb.ts ├── vercel.json └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- 1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. 2 | 3 | # dependencies 4 | /node_modules 5 | /.pnp 6 | .pnp.js 7 | 8 | # testing 9 | /coverage 10 | 11 | # next.js 12 | /.next/ 13 | /out/ 14 | 15 | # production 16 | /build 17 | 18 | # misc 19 | .DS_Store 20 | 21 | # debug 22 | npm-debug.log* 23 | yarn-debug.log* 24 | yarn-error.log* 25 | 26 | # local env files 27 | .env.local 28 | .env.development.local 29 | .env.test.local 30 | .env.production.local 31 | 32 | .vercel -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # livestream-queue 2 | 3 | https://livestream-queue.benawad.vercel.app/ 4 | -------------------------------------------------------------------------------- /components/Card.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | 3 | interface CardProps { 4 | discordName: string; 5 | technology: string; 6 | } 7 | 8 | export const Card: React.FC = ({ discordName, technology }) => { 9 | return ( 10 |
11 |
12 |
{discordName}
13 |

{technology}

14 |
15 |
16 | ); 17 | }; 18 | -------------------------------------------------------------------------------- /components/Layout.tsx: -------------------------------------------------------------------------------- 1 | import React from "react"; 2 | import { Nav } from "./Nav"; 3 | 4 | interface LayoutProps {} 5 | 6 | export const Layout: React.FC = ({ children }) => { 7 | return ( 8 | <> 9 |