├── .editorconfig ├── .env.example ├── .eslintignore ├── .eslintrc.json ├── .gitignore ├── .prettierignore ├── .prettierrc.json ├── Dockerfile ├── LICENSE ├── README.md ├── components.json ├── docker-compose.yml ├── docker.env ├── docs └── oauth │ ├── OAUTH.MD │ └── images │ ├── passo1-oauth.png │ ├── passo2-oauth.png │ ├── passo3-oauth.png │ ├── passo4-oauth.png │ └── passo5-oauth.png ├── next.config.js ├── package.json ├── pnpm-lock.yaml ├── postcss.config.js ├── prettier.config.js ├── prisma └── schema.prisma ├── public └── images │ ├── arrow-right.svg │ ├── bg-discord.webp │ ├── discord.svg │ ├── draftcode.png │ ├── hero-image.svg │ ├── icon.png │ ├── menu.svg │ ├── mini-beaker.svg │ └── target.svg ├── src ├── actions │ ├── getAdminChallenges.ts │ ├── getChallenge.ts │ ├── getChallenges.ts │ ├── getFavorites.ts │ ├── getPost.ts │ ├── getPreviewPosts.ts │ ├── getResources.ts │ ├── getSolution.ts │ ├── getSolutionsByChallengeId.ts │ ├── getUserSession.ts │ └── getUsers.ts ├── app │ ├── [...not_found] │ │ ├── loading.tsx │ │ └── page.tsx │ ├── api │ │ ├── auth │ │ │ └── [...nextauth] │ │ │ │ └── route.ts │ │ ├── favorite │ │ │ └── route.ts │ │ ├── profile │ │ │ └── route.ts │ │ ├── project │ │ │ ├── [id] │ │ │ │ └── route.ts │ │ │ └── route.ts │ │ ├── solutions │ │ │ ├── [id] │ │ │ │ └── route.ts │ │ │ └── aprove │ │ │ │ └── [id] │ │ │ │ └── route.ts │ │ ├── upload │ │ │ └── route.ts │ │ └── users │ │ │ ├── [id] │ │ │ └── route.ts │ │ │ ├── ban │ │ │ └── [id] │ │ │ │ └── route.ts │ │ │ └── route.ts │ ├── blog │ │ ├── [slug] │ │ │ └── page.tsx │ │ ├── loading.tsx │ │ └── page.tsx │ ├── dashboard │ │ ├── loading.tsx │ │ ├── page.tsx │ │ ├── profile │ │ │ └── page.tsx │ │ ├── project │ │ │ ├── [id] │ │ │ │ └── page.tsx │ │ │ └── page.tsx │ │ ├── solutions │ │ │ └── pendent │ │ │ │ └── page.tsx │ │ └── users │ │ │ ├── ban │ │ │ └── page.tsx │ │ │ └── page.tsx │ ├── desafios │ │ ├── [id] │ │ │ └── page.tsx │ │ ├── loading.tsx │ │ └── page.tsx │ ├── faq │ │ ├── loading.tsx │ │ └── page.tsx │ ├── favorites │ │ ├── loading.tsx │ │ └── page.tsx │ ├── icon.png │ ├── layout.tsx │ ├── loading.tsx │ ├── login │ │ ├── loading.tsx │ │ └── page.tsx │ ├── not-found.tsx │ ├── opengraph-image.png │ ├── page.tsx │ ├── recursos │ │ ├── loading.tsx │ │ └── page.tsx │ ├── robots.txt │ ├── solutions │ │ ├── [id] │ │ │ └── page.tsx │ │ ├── challenge │ │ │ └── [id] │ │ │ │ └── page.tsx │ │ ├── edit │ │ │ └── [id] │ │ │ │ └── page.tsx │ │ ├── loading.tsx │ │ ├── new │ │ │ └── [id] │ │ │ │ └── page.tsx │ │ ├── page.tsx │ │ └── user │ │ │ └── page.tsx │ └── userbanned │ │ ├── loading.tsx │ │ └── page.tsx ├── configs │ ├── auth.ts │ ├── cloudinary.ts │ ├── db.ts │ └── rate-limit.ts ├── context │ ├── SessionProvider.tsx │ └── index.ts ├── externals │ └── libs │ │ └── auth │ │ ├── signIn.ts │ │ ├── signOut.ts │ │ └── useSession.ts ├── hooks │ ├── challenges │ │ ├── index.ts │ │ ├── useCreateChallenge.ts │ │ └── useUpdateChallenge.ts │ └── solutions │ │ ├── index.ts │ │ ├── useCreateSolution.ts │ │ └── useUpdateSolution.ts ├── middleware.ts ├── middlewares │ ├── dashboardMiddleware.ts │ ├── rateLimitMiddleware.ts │ ├── solutionsMiddleware.ts │ └── stackMiddleware.ts ├── next-auth.d.ts ├── presentation │ ├── components │ │ ├── About │ │ │ ├── About.tsx │ │ │ ├── AboutCard │ │ │ │ ├── AboutCard.tsx │ │ │ │ └── index.ts │ │ │ └── index.ts │ │ ├── BlogCard │ │ │ ├── BlogCard.tsx │ │ │ └── index.ts │ │ ├── Challenges │ │ │ ├── ChallengeCard │ │ │ │ ├── ChallengesCard.tsx │ │ │ │ ├── FavoriteButton │ │ │ │ │ ├── FavoriteButton.tsx │ │ │ │ │ └── index.ts │ │ │ │ └── index.ts │ │ │ ├── ChallengeForm │ │ │ │ ├── ChallengeForm.tsx │ │ │ │ └── index.ts │ │ │ ├── Challenges.tsx │ │ │ ├── Slider.tsx │ │ │ └── index.ts │ │ ├── CreatorCard │ │ │ ├── CreatorCard.tsx │ │ │ └── index.ts │ │ ├── Dashboard │ │ │ ├── BanList │ │ │ │ ├── BanList.tsx │ │ │ │ ├── BanListCard │ │ │ │ │ ├── BanButton │ │ │ │ │ │ ├── BanButton.tsx │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── BanListCard.tsx │ │ │ │ │ └── index.ts │ │ │ │ └── index.ts │ │ │ ├── ChallengeList │ │ │ │ ├── ChallengeList.tsx │ │ │ │ ├── ChallengeListCard │ │ │ │ │ ├── ChallengeListCard.tsx │ │ │ │ │ ├── DeleteButton │ │ │ │ │ │ ├── DeleteButton.tsx │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── index.ts │ │ │ │ └── index.ts │ │ │ ├── Profile │ │ │ │ ├── Profile.tsx │ │ │ │ └── index.ts │ │ │ ├── ProjectForm │ │ │ │ ├── ProjectFormCreate │ │ │ │ │ ├── ProjectFormCreate.tsx │ │ │ │ │ └── index.ts │ │ │ │ └── ProjectFormUpdate │ │ │ │ │ ├── ProjectFormUpdate.tsx │ │ │ │ │ └── index.ts │ │ │ ├── UsersList │ │ │ │ ├── UsersCard │ │ │ │ │ ├── UpdateButton │ │ │ │ │ │ ├── UpdateButton.tsx │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── UsersCard.tsx │ │ │ │ │ └── index.ts │ │ │ │ ├── UsersList.tsx │ │ │ │ └── index.ts │ │ │ └── index.ts │ │ ├── Discord │ │ │ ├── Discord.tsx │ │ │ └── index.ts │ │ ├── FAQ │ │ │ ├── FAQ.tsx │ │ │ └── index.ts │ │ ├── Footer │ │ │ ├── Footer.tsx │ │ │ └── index.ts │ │ ├── Form │ │ │ ├── FormInput │ │ │ │ ├── FormInput.tsx │ │ │ │ └── index.ts │ │ │ ├── FormTextarea │ │ │ │ ├── FormTextarea.tsx │ │ │ │ └── index.ts │ │ │ └── index.ts │ │ ├── GithubLoginBtn │ │ │ ├── GithubLoginBtn.tsx │ │ │ └── index.ts │ │ ├── Header │ │ │ ├── FavoritesButton │ │ │ │ ├── FavoritesButton.tsx │ │ │ │ └── index.ts │ │ │ ├── Header.tsx │ │ │ ├── HeaderLinks │ │ │ │ ├── HeaderLinks.tsx │ │ │ │ └── index.ts │ │ │ ├── LoginButton │ │ │ │ ├── LoginButton.tsx │ │ │ │ └── index.ts │ │ │ ├── MenuMobile │ │ │ │ ├── MenuMobile.tsx │ │ │ │ └── index.ts │ │ │ ├── ProfileCard │ │ │ │ ├── ProfileCard.tsx │ │ │ │ └── index.ts │ │ │ ├── UserAvatar │ │ │ │ ├── UserAvatar.tsx │ │ │ │ └── index.ts │ │ │ └── index.ts │ │ ├── Hero │ │ │ ├── Hero.tsx │ │ │ └── index.ts │ │ ├── HowItWorks │ │ │ ├── HowItWorks.tsx │ │ │ ├── HowItWorksCard │ │ │ │ ├── HowItWorksCard.tsx │ │ │ │ └── index.ts │ │ │ └── index.ts │ │ ├── Loading │ │ │ ├── Loading.tsx │ │ │ └── index.ts │ │ ├── ResourcesCard │ │ │ ├── ResourcesCard.tsx │ │ │ └── index.ts │ │ ├── ScrollToTop │ │ │ ├── ScrollToTop.tsx │ │ │ └── index.ts │ │ ├── Skeleton │ │ │ ├── ChallengeCardSkeleton.tsx │ │ │ ├── ProfileCardSkeleton.tsx │ │ │ └── index.ts │ │ ├── Solution │ │ │ ├── SolutionCard │ │ │ │ ├── Actions │ │ │ │ │ ├── AproveAction │ │ │ │ │ │ ├── AproveAction.tsx │ │ │ │ │ │ └── index.ts │ │ │ │ │ ├── DeleteAction │ │ │ │ │ │ ├── DeleteAction.tsx │ │ │ │ │ │ └── index.ts │ │ │ │ │ └── EditAction │ │ │ │ │ │ ├── EditAction.tsx │ │ │ │ │ │ └── index.ts │ │ │ │ ├── SolutionCard.tsx │ │ │ │ └── index.ts │ │ │ ├── SolutionForm │ │ │ │ ├── SolutionFormCreate │ │ │ │ │ ├── SolutionFormCreate.tsx │ │ │ │ │ └── index.ts │ │ │ │ └── SolutionFormUpdate │ │ │ │ │ ├── SolutionFormUpdate.tsx │ │ │ │ │ └── index.ts │ │ │ └── index.ts │ │ └── ui │ │ │ ├── accordion.tsx │ │ │ ├── avatar.tsx │ │ │ ├── badge.tsx │ │ │ ├── button.tsx │ │ │ ├── dialog.tsx │ │ │ ├── dropdown-menu.tsx │ │ │ ├── form.tsx │ │ │ ├── hover-card.tsx │ │ │ ├── input.tsx │ │ │ ├── label.tsx │ │ │ ├── navigation-menu.tsx │ │ │ ├── select.tsx │ │ │ ├── sheet.tsx │ │ │ ├── skeleton.tsx │ │ │ ├── textarea.tsx │ │ │ ├── toast.tsx │ │ │ ├── toaster.tsx │ │ │ └── use-toast.ts │ └── lib │ │ └── utils.ts ├── provider │ └── Provider.tsx ├── styles │ └── globals.css ├── types.d.ts └── validations │ ├── PorjectSchemaFavorite.ts │ ├── ProfileSchemaLinks.ts │ ├── ProjectSchemaAPI.ts │ ├── ProjectSchemaCreate.ts │ ├── ProjectSchemaUpdate.ts │ ├── SolutionAproveSchema.ts │ ├── SolutionSchemaAPI.ts │ ├── SolutionSchemaCreate.ts │ ├── SolutionSchemaUpdate.ts │ ├── index.ts │ └── utils │ └── index.ts ├── tailwind.config.js └── tsconfig.json /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/.editorconfig -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/.env.example -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | coverage 3 | dist 4 | 5 | .next -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | coverage 3 | dist 4 | 5 | .next -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/.prettierrc.json -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/README.md -------------------------------------------------------------------------------- /components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/components.json -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /docker.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/docker.env -------------------------------------------------------------------------------- /docs/oauth/OAUTH.MD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/docs/oauth/OAUTH.MD -------------------------------------------------------------------------------- /docs/oauth/images/passo1-oauth.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/docs/oauth/images/passo1-oauth.png -------------------------------------------------------------------------------- /docs/oauth/images/passo2-oauth.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/docs/oauth/images/passo2-oauth.png -------------------------------------------------------------------------------- /docs/oauth/images/passo3-oauth.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/docs/oauth/images/passo3-oauth.png -------------------------------------------------------------------------------- /docs/oauth/images/passo4-oauth.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/docs/oauth/images/passo4-oauth.png -------------------------------------------------------------------------------- /docs/oauth/images/passo5-oauth.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/docs/oauth/images/passo5-oauth.png -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/postcss.config.js -------------------------------------------------------------------------------- /prettier.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/prettier.config.js -------------------------------------------------------------------------------- /prisma/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/prisma/schema.prisma -------------------------------------------------------------------------------- /public/images/arrow-right.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/public/images/arrow-right.svg -------------------------------------------------------------------------------- /public/images/bg-discord.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/public/images/bg-discord.webp -------------------------------------------------------------------------------- /public/images/discord.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/public/images/discord.svg -------------------------------------------------------------------------------- /public/images/draftcode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/public/images/draftcode.png -------------------------------------------------------------------------------- /public/images/hero-image.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/public/images/hero-image.svg -------------------------------------------------------------------------------- /public/images/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/public/images/icon.png -------------------------------------------------------------------------------- /public/images/menu.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/public/images/menu.svg -------------------------------------------------------------------------------- /public/images/mini-beaker.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/public/images/mini-beaker.svg -------------------------------------------------------------------------------- /public/images/target.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/public/images/target.svg -------------------------------------------------------------------------------- /src/actions/getAdminChallenges.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/actions/getAdminChallenges.ts -------------------------------------------------------------------------------- /src/actions/getChallenge.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/actions/getChallenge.ts -------------------------------------------------------------------------------- /src/actions/getChallenges.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/actions/getChallenges.ts -------------------------------------------------------------------------------- /src/actions/getFavorites.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/actions/getFavorites.ts -------------------------------------------------------------------------------- /src/actions/getPost.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/actions/getPost.ts -------------------------------------------------------------------------------- /src/actions/getPreviewPosts.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/actions/getPreviewPosts.ts -------------------------------------------------------------------------------- /src/actions/getResources.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/actions/getResources.ts -------------------------------------------------------------------------------- /src/actions/getSolution.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/actions/getSolution.ts -------------------------------------------------------------------------------- /src/actions/getSolutionsByChallengeId.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/actions/getSolutionsByChallengeId.ts -------------------------------------------------------------------------------- /src/actions/getUserSession.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/actions/getUserSession.ts -------------------------------------------------------------------------------- /src/actions/getUsers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/actions/getUsers.ts -------------------------------------------------------------------------------- /src/app/[...not_found]/loading.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/[...not_found]/loading.tsx -------------------------------------------------------------------------------- /src/app/[...not_found]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/[...not_found]/page.tsx -------------------------------------------------------------------------------- /src/app/api/auth/[...nextauth]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/api/auth/[...nextauth]/route.ts -------------------------------------------------------------------------------- /src/app/api/favorite/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/api/favorite/route.ts -------------------------------------------------------------------------------- /src/app/api/profile/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/api/profile/route.ts -------------------------------------------------------------------------------- /src/app/api/project/[id]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/api/project/[id]/route.ts -------------------------------------------------------------------------------- /src/app/api/project/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/api/project/route.ts -------------------------------------------------------------------------------- /src/app/api/solutions/[id]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/api/solutions/[id]/route.ts -------------------------------------------------------------------------------- /src/app/api/solutions/aprove/[id]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/api/solutions/aprove/[id]/route.ts -------------------------------------------------------------------------------- /src/app/api/upload/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/api/upload/route.ts -------------------------------------------------------------------------------- /src/app/api/users/[id]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/api/users/[id]/route.ts -------------------------------------------------------------------------------- /src/app/api/users/ban/[id]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/api/users/ban/[id]/route.ts -------------------------------------------------------------------------------- /src/app/api/users/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/api/users/route.ts -------------------------------------------------------------------------------- /src/app/blog/[slug]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/blog/[slug]/page.tsx -------------------------------------------------------------------------------- /src/app/blog/loading.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/blog/loading.tsx -------------------------------------------------------------------------------- /src/app/blog/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/blog/page.tsx -------------------------------------------------------------------------------- /src/app/dashboard/loading.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/dashboard/loading.tsx -------------------------------------------------------------------------------- /src/app/dashboard/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/dashboard/page.tsx -------------------------------------------------------------------------------- /src/app/dashboard/profile/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/dashboard/profile/page.tsx -------------------------------------------------------------------------------- /src/app/dashboard/project/[id]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/dashboard/project/[id]/page.tsx -------------------------------------------------------------------------------- /src/app/dashboard/project/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/dashboard/project/page.tsx -------------------------------------------------------------------------------- /src/app/dashboard/solutions/pendent/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/dashboard/solutions/pendent/page.tsx -------------------------------------------------------------------------------- /src/app/dashboard/users/ban/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/dashboard/users/ban/page.tsx -------------------------------------------------------------------------------- /src/app/dashboard/users/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/dashboard/users/page.tsx -------------------------------------------------------------------------------- /src/app/desafios/[id]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/desafios/[id]/page.tsx -------------------------------------------------------------------------------- /src/app/desafios/loading.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/desafios/loading.tsx -------------------------------------------------------------------------------- /src/app/desafios/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/desafios/page.tsx -------------------------------------------------------------------------------- /src/app/faq/loading.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/faq/loading.tsx -------------------------------------------------------------------------------- /src/app/faq/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/faq/page.tsx -------------------------------------------------------------------------------- /src/app/favorites/loading.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/favorites/loading.tsx -------------------------------------------------------------------------------- /src/app/favorites/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/favorites/page.tsx -------------------------------------------------------------------------------- /src/app/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/icon.png -------------------------------------------------------------------------------- /src/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/layout.tsx -------------------------------------------------------------------------------- /src/app/loading.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/loading.tsx -------------------------------------------------------------------------------- /src/app/login/loading.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/login/loading.tsx -------------------------------------------------------------------------------- /src/app/login/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/login/page.tsx -------------------------------------------------------------------------------- /src/app/not-found.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/not-found.tsx -------------------------------------------------------------------------------- /src/app/opengraph-image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/opengraph-image.png -------------------------------------------------------------------------------- /src/app/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/page.tsx -------------------------------------------------------------------------------- /src/app/recursos/loading.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/recursos/loading.tsx -------------------------------------------------------------------------------- /src/app/recursos/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/recursos/page.tsx -------------------------------------------------------------------------------- /src/app/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/robots.txt -------------------------------------------------------------------------------- /src/app/solutions/[id]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/solutions/[id]/page.tsx -------------------------------------------------------------------------------- /src/app/solutions/challenge/[id]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/solutions/challenge/[id]/page.tsx -------------------------------------------------------------------------------- /src/app/solutions/edit/[id]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/solutions/edit/[id]/page.tsx -------------------------------------------------------------------------------- /src/app/solutions/loading.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/solutions/loading.tsx -------------------------------------------------------------------------------- /src/app/solutions/new/[id]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/solutions/new/[id]/page.tsx -------------------------------------------------------------------------------- /src/app/solutions/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/solutions/page.tsx -------------------------------------------------------------------------------- /src/app/solutions/user/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/solutions/user/page.tsx -------------------------------------------------------------------------------- /src/app/userbanned/loading.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/userbanned/loading.tsx -------------------------------------------------------------------------------- /src/app/userbanned/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/app/userbanned/page.tsx -------------------------------------------------------------------------------- /src/configs/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/configs/auth.ts -------------------------------------------------------------------------------- /src/configs/cloudinary.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/configs/cloudinary.ts -------------------------------------------------------------------------------- /src/configs/db.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/configs/db.ts -------------------------------------------------------------------------------- /src/configs/rate-limit.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/configs/rate-limit.ts -------------------------------------------------------------------------------- /src/context/SessionProvider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/context/SessionProvider.tsx -------------------------------------------------------------------------------- /src/context/index.ts: -------------------------------------------------------------------------------- 1 | export * from './SessionProvider' 2 | -------------------------------------------------------------------------------- /src/externals/libs/auth/signIn.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/externals/libs/auth/signIn.ts -------------------------------------------------------------------------------- /src/externals/libs/auth/signOut.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/externals/libs/auth/signOut.ts -------------------------------------------------------------------------------- /src/externals/libs/auth/useSession.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/externals/libs/auth/useSession.ts -------------------------------------------------------------------------------- /src/hooks/challenges/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/hooks/challenges/index.ts -------------------------------------------------------------------------------- /src/hooks/challenges/useCreateChallenge.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/hooks/challenges/useCreateChallenge.ts -------------------------------------------------------------------------------- /src/hooks/challenges/useUpdateChallenge.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/hooks/challenges/useUpdateChallenge.ts -------------------------------------------------------------------------------- /src/hooks/solutions/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/hooks/solutions/index.ts -------------------------------------------------------------------------------- /src/hooks/solutions/useCreateSolution.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/hooks/solutions/useCreateSolution.ts -------------------------------------------------------------------------------- /src/hooks/solutions/useUpdateSolution.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/hooks/solutions/useUpdateSolution.ts -------------------------------------------------------------------------------- /src/middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/middleware.ts -------------------------------------------------------------------------------- /src/middlewares/dashboardMiddleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/middlewares/dashboardMiddleware.ts -------------------------------------------------------------------------------- /src/middlewares/rateLimitMiddleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/middlewares/rateLimitMiddleware.ts -------------------------------------------------------------------------------- /src/middlewares/solutionsMiddleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/middlewares/solutionsMiddleware.ts -------------------------------------------------------------------------------- /src/middlewares/stackMiddleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/middlewares/stackMiddleware.ts -------------------------------------------------------------------------------- /src/next-auth.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/next-auth.d.ts -------------------------------------------------------------------------------- /src/presentation/components/About/About.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/About/About.tsx -------------------------------------------------------------------------------- /src/presentation/components/About/AboutCard/AboutCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/About/AboutCard/AboutCard.tsx -------------------------------------------------------------------------------- /src/presentation/components/About/AboutCard/index.ts: -------------------------------------------------------------------------------- 1 | export * from './AboutCard' 2 | -------------------------------------------------------------------------------- /src/presentation/components/About/index.ts: -------------------------------------------------------------------------------- 1 | export * from './About' 2 | -------------------------------------------------------------------------------- /src/presentation/components/BlogCard/BlogCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/BlogCard/BlogCard.tsx -------------------------------------------------------------------------------- /src/presentation/components/BlogCard/index.ts: -------------------------------------------------------------------------------- 1 | export * from './BlogCard' 2 | -------------------------------------------------------------------------------- /src/presentation/components/Challenges/ChallengeCard/ChallengesCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/Challenges/ChallengeCard/ChallengesCard.tsx -------------------------------------------------------------------------------- /src/presentation/components/Challenges/ChallengeCard/FavoriteButton/FavoriteButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/Challenges/ChallengeCard/FavoriteButton/FavoriteButton.tsx -------------------------------------------------------------------------------- /src/presentation/components/Challenges/ChallengeCard/FavoriteButton/index.ts: -------------------------------------------------------------------------------- 1 | export * from './FavoriteButton' 2 | -------------------------------------------------------------------------------- /src/presentation/components/Challenges/ChallengeCard/index.ts: -------------------------------------------------------------------------------- 1 | export * from './ChallengesCard' 2 | -------------------------------------------------------------------------------- /src/presentation/components/Challenges/ChallengeForm/ChallengeForm.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/Challenges/ChallengeForm/ChallengeForm.tsx -------------------------------------------------------------------------------- /src/presentation/components/Challenges/ChallengeForm/index.ts: -------------------------------------------------------------------------------- 1 | export * from './ChallengeForm' 2 | -------------------------------------------------------------------------------- /src/presentation/components/Challenges/Challenges.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/Challenges/Challenges.tsx -------------------------------------------------------------------------------- /src/presentation/components/Challenges/Slider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/Challenges/Slider.tsx -------------------------------------------------------------------------------- /src/presentation/components/Challenges/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Challenges' 2 | -------------------------------------------------------------------------------- /src/presentation/components/CreatorCard/CreatorCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/CreatorCard/CreatorCard.tsx -------------------------------------------------------------------------------- /src/presentation/components/CreatorCard/index.ts: -------------------------------------------------------------------------------- 1 | export * from './CreatorCard' 2 | -------------------------------------------------------------------------------- /src/presentation/components/Dashboard/BanList/BanList.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/Dashboard/BanList/BanList.tsx -------------------------------------------------------------------------------- /src/presentation/components/Dashboard/BanList/BanListCard/BanButton/BanButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/Dashboard/BanList/BanListCard/BanButton/BanButton.tsx -------------------------------------------------------------------------------- /src/presentation/components/Dashboard/BanList/BanListCard/BanButton/index.ts: -------------------------------------------------------------------------------- 1 | export * from './BanButton' 2 | -------------------------------------------------------------------------------- /src/presentation/components/Dashboard/BanList/BanListCard/BanListCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/Dashboard/BanList/BanListCard/BanListCard.tsx -------------------------------------------------------------------------------- /src/presentation/components/Dashboard/BanList/BanListCard/index.ts: -------------------------------------------------------------------------------- 1 | export * from './BanListCard' 2 | -------------------------------------------------------------------------------- /src/presentation/components/Dashboard/BanList/index.ts: -------------------------------------------------------------------------------- 1 | export * from './BanList' 2 | -------------------------------------------------------------------------------- /src/presentation/components/Dashboard/ChallengeList/ChallengeList.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/Dashboard/ChallengeList/ChallengeList.tsx -------------------------------------------------------------------------------- /src/presentation/components/Dashboard/ChallengeList/ChallengeListCard/ChallengeListCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/Dashboard/ChallengeList/ChallengeListCard/ChallengeListCard.tsx -------------------------------------------------------------------------------- /src/presentation/components/Dashboard/ChallengeList/ChallengeListCard/DeleteButton/DeleteButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/Dashboard/ChallengeList/ChallengeListCard/DeleteButton/DeleteButton.tsx -------------------------------------------------------------------------------- /src/presentation/components/Dashboard/ChallengeList/ChallengeListCard/DeleteButton/index.ts: -------------------------------------------------------------------------------- 1 | export * from './DeleteButton' 2 | -------------------------------------------------------------------------------- /src/presentation/components/Dashboard/ChallengeList/ChallengeListCard/index.ts: -------------------------------------------------------------------------------- 1 | export * from './ChallengeListCard' 2 | -------------------------------------------------------------------------------- /src/presentation/components/Dashboard/ChallengeList/index.ts: -------------------------------------------------------------------------------- 1 | export * from './ChallengeList' 2 | -------------------------------------------------------------------------------- /src/presentation/components/Dashboard/Profile/Profile.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/Dashboard/Profile/Profile.tsx -------------------------------------------------------------------------------- /src/presentation/components/Dashboard/Profile/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Profile' 2 | -------------------------------------------------------------------------------- /src/presentation/components/Dashboard/ProjectForm/ProjectFormCreate/ProjectFormCreate.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/Dashboard/ProjectForm/ProjectFormCreate/ProjectFormCreate.tsx -------------------------------------------------------------------------------- /src/presentation/components/Dashboard/ProjectForm/ProjectFormCreate/index.ts: -------------------------------------------------------------------------------- 1 | export * from './ProjectFormCreate' 2 | -------------------------------------------------------------------------------- /src/presentation/components/Dashboard/ProjectForm/ProjectFormUpdate/ProjectFormUpdate.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/Dashboard/ProjectForm/ProjectFormUpdate/ProjectFormUpdate.tsx -------------------------------------------------------------------------------- /src/presentation/components/Dashboard/ProjectForm/ProjectFormUpdate/index.ts: -------------------------------------------------------------------------------- 1 | export * from './ProjectFormUpdate' 2 | -------------------------------------------------------------------------------- /src/presentation/components/Dashboard/UsersList/UsersCard/UpdateButton/UpdateButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/Dashboard/UsersList/UsersCard/UpdateButton/UpdateButton.tsx -------------------------------------------------------------------------------- /src/presentation/components/Dashboard/UsersList/UsersCard/UpdateButton/index.ts: -------------------------------------------------------------------------------- 1 | export * from './UpdateButton' 2 | -------------------------------------------------------------------------------- /src/presentation/components/Dashboard/UsersList/UsersCard/UsersCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/Dashboard/UsersList/UsersCard/UsersCard.tsx -------------------------------------------------------------------------------- /src/presentation/components/Dashboard/UsersList/UsersCard/index.ts: -------------------------------------------------------------------------------- 1 | export * from './UsersCard' 2 | -------------------------------------------------------------------------------- /src/presentation/components/Dashboard/UsersList/UsersList.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/Dashboard/UsersList/UsersList.tsx -------------------------------------------------------------------------------- /src/presentation/components/Dashboard/UsersList/index.ts: -------------------------------------------------------------------------------- 1 | export * from './UsersList' 2 | -------------------------------------------------------------------------------- /src/presentation/components/Dashboard/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/Dashboard/index.ts -------------------------------------------------------------------------------- /src/presentation/components/Discord/Discord.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/Discord/Discord.tsx -------------------------------------------------------------------------------- /src/presentation/components/Discord/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Discord' 2 | -------------------------------------------------------------------------------- /src/presentation/components/FAQ/FAQ.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/FAQ/FAQ.tsx -------------------------------------------------------------------------------- /src/presentation/components/FAQ/index.ts: -------------------------------------------------------------------------------- 1 | export * from './FAQ' 2 | -------------------------------------------------------------------------------- /src/presentation/components/Footer/Footer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/Footer/Footer.tsx -------------------------------------------------------------------------------- /src/presentation/components/Footer/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Footer' 2 | -------------------------------------------------------------------------------- /src/presentation/components/Form/FormInput/FormInput.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/Form/FormInput/FormInput.tsx -------------------------------------------------------------------------------- /src/presentation/components/Form/FormInput/index.ts: -------------------------------------------------------------------------------- 1 | export * from './FormInput' 2 | -------------------------------------------------------------------------------- /src/presentation/components/Form/FormTextarea/FormTextarea.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/Form/FormTextarea/FormTextarea.tsx -------------------------------------------------------------------------------- /src/presentation/components/Form/FormTextarea/index.ts: -------------------------------------------------------------------------------- 1 | export * from './FormTextarea' 2 | -------------------------------------------------------------------------------- /src/presentation/components/Form/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/Form/index.ts -------------------------------------------------------------------------------- /src/presentation/components/GithubLoginBtn/GithubLoginBtn.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/GithubLoginBtn/GithubLoginBtn.tsx -------------------------------------------------------------------------------- /src/presentation/components/GithubLoginBtn/index.ts: -------------------------------------------------------------------------------- 1 | export * from './GithubLoginBtn' 2 | -------------------------------------------------------------------------------- /src/presentation/components/Header/FavoritesButton/FavoritesButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/Header/FavoritesButton/FavoritesButton.tsx -------------------------------------------------------------------------------- /src/presentation/components/Header/FavoritesButton/index.ts: -------------------------------------------------------------------------------- 1 | export * from './FavoritesButton' 2 | -------------------------------------------------------------------------------- /src/presentation/components/Header/Header.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/Header/Header.tsx -------------------------------------------------------------------------------- /src/presentation/components/Header/HeaderLinks/HeaderLinks.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/Header/HeaderLinks/HeaderLinks.tsx -------------------------------------------------------------------------------- /src/presentation/components/Header/HeaderLinks/index.ts: -------------------------------------------------------------------------------- 1 | export * from './HeaderLinks' 2 | -------------------------------------------------------------------------------- /src/presentation/components/Header/LoginButton/LoginButton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/Header/LoginButton/LoginButton.tsx -------------------------------------------------------------------------------- /src/presentation/components/Header/LoginButton/index.ts: -------------------------------------------------------------------------------- 1 | export * from './LoginButton' 2 | -------------------------------------------------------------------------------- /src/presentation/components/Header/MenuMobile/MenuMobile.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/Header/MenuMobile/MenuMobile.tsx -------------------------------------------------------------------------------- /src/presentation/components/Header/MenuMobile/index.ts: -------------------------------------------------------------------------------- 1 | export * from './MenuMobile' 2 | -------------------------------------------------------------------------------- /src/presentation/components/Header/ProfileCard/ProfileCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/Header/ProfileCard/ProfileCard.tsx -------------------------------------------------------------------------------- /src/presentation/components/Header/ProfileCard/index.ts: -------------------------------------------------------------------------------- 1 | export * from './ProfileCard' 2 | -------------------------------------------------------------------------------- /src/presentation/components/Header/UserAvatar/UserAvatar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/Header/UserAvatar/UserAvatar.tsx -------------------------------------------------------------------------------- /src/presentation/components/Header/UserAvatar/index.ts: -------------------------------------------------------------------------------- 1 | export * from './UserAvatar' 2 | -------------------------------------------------------------------------------- /src/presentation/components/Header/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Header' 2 | -------------------------------------------------------------------------------- /src/presentation/components/Hero/Hero.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/Hero/Hero.tsx -------------------------------------------------------------------------------- /src/presentation/components/Hero/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Hero' 2 | -------------------------------------------------------------------------------- /src/presentation/components/HowItWorks/HowItWorks.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/HowItWorks/HowItWorks.tsx -------------------------------------------------------------------------------- /src/presentation/components/HowItWorks/HowItWorksCard/HowItWorksCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/HowItWorks/HowItWorksCard/HowItWorksCard.tsx -------------------------------------------------------------------------------- /src/presentation/components/HowItWorks/HowItWorksCard/index.ts: -------------------------------------------------------------------------------- 1 | export * from './HowItWorksCard' 2 | -------------------------------------------------------------------------------- /src/presentation/components/HowItWorks/index.ts: -------------------------------------------------------------------------------- 1 | export * from './HowItWorks' 2 | -------------------------------------------------------------------------------- /src/presentation/components/Loading/Loading.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/Loading/Loading.tsx -------------------------------------------------------------------------------- /src/presentation/components/Loading/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Loading' 2 | -------------------------------------------------------------------------------- /src/presentation/components/ResourcesCard/ResourcesCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/ResourcesCard/ResourcesCard.tsx -------------------------------------------------------------------------------- /src/presentation/components/ResourcesCard/index.ts: -------------------------------------------------------------------------------- 1 | export * from './ResourcesCard' 2 | -------------------------------------------------------------------------------- /src/presentation/components/ScrollToTop/ScrollToTop.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/ScrollToTop/ScrollToTop.tsx -------------------------------------------------------------------------------- /src/presentation/components/ScrollToTop/index.ts: -------------------------------------------------------------------------------- 1 | export * from './ScrollToTop' 2 | -------------------------------------------------------------------------------- /src/presentation/components/Skeleton/ChallengeCardSkeleton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/Skeleton/ChallengeCardSkeleton.tsx -------------------------------------------------------------------------------- /src/presentation/components/Skeleton/ProfileCardSkeleton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/Skeleton/ProfileCardSkeleton.tsx -------------------------------------------------------------------------------- /src/presentation/components/Skeleton/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/Skeleton/index.ts -------------------------------------------------------------------------------- /src/presentation/components/Solution/SolutionCard/Actions/AproveAction/AproveAction.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/Solution/SolutionCard/Actions/AproveAction/AproveAction.tsx -------------------------------------------------------------------------------- /src/presentation/components/Solution/SolutionCard/Actions/AproveAction/index.ts: -------------------------------------------------------------------------------- 1 | export * from './AproveAction' 2 | -------------------------------------------------------------------------------- /src/presentation/components/Solution/SolutionCard/Actions/DeleteAction/DeleteAction.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/Solution/SolutionCard/Actions/DeleteAction/DeleteAction.tsx -------------------------------------------------------------------------------- /src/presentation/components/Solution/SolutionCard/Actions/DeleteAction/index.ts: -------------------------------------------------------------------------------- 1 | export * from './DeleteAction' 2 | -------------------------------------------------------------------------------- /src/presentation/components/Solution/SolutionCard/Actions/EditAction/EditAction.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/Solution/SolutionCard/Actions/EditAction/EditAction.tsx -------------------------------------------------------------------------------- /src/presentation/components/Solution/SolutionCard/Actions/EditAction/index.ts: -------------------------------------------------------------------------------- 1 | export * from './EditAction' 2 | -------------------------------------------------------------------------------- /src/presentation/components/Solution/SolutionCard/SolutionCard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/Solution/SolutionCard/SolutionCard.tsx -------------------------------------------------------------------------------- /src/presentation/components/Solution/SolutionCard/index.ts: -------------------------------------------------------------------------------- 1 | export * from './SolutionCard' 2 | -------------------------------------------------------------------------------- /src/presentation/components/Solution/SolutionForm/SolutionFormCreate/SolutionFormCreate.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/Solution/SolutionForm/SolutionFormCreate/SolutionFormCreate.tsx -------------------------------------------------------------------------------- /src/presentation/components/Solution/SolutionForm/SolutionFormCreate/index.ts: -------------------------------------------------------------------------------- 1 | export * from './SolutionFormCreate' 2 | -------------------------------------------------------------------------------- /src/presentation/components/Solution/SolutionForm/SolutionFormUpdate/SolutionFormUpdate.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/Solution/SolutionForm/SolutionFormUpdate/SolutionFormUpdate.tsx -------------------------------------------------------------------------------- /src/presentation/components/Solution/SolutionForm/SolutionFormUpdate/index.ts: -------------------------------------------------------------------------------- 1 | export * from './SolutionFormUpdate' 2 | -------------------------------------------------------------------------------- /src/presentation/components/Solution/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/Solution/index.ts -------------------------------------------------------------------------------- /src/presentation/components/ui/accordion.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/ui/accordion.tsx -------------------------------------------------------------------------------- /src/presentation/components/ui/avatar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/ui/avatar.tsx -------------------------------------------------------------------------------- /src/presentation/components/ui/badge.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/ui/badge.tsx -------------------------------------------------------------------------------- /src/presentation/components/ui/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/ui/button.tsx -------------------------------------------------------------------------------- /src/presentation/components/ui/dialog.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/ui/dialog.tsx -------------------------------------------------------------------------------- /src/presentation/components/ui/dropdown-menu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/ui/dropdown-menu.tsx -------------------------------------------------------------------------------- /src/presentation/components/ui/form.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/ui/form.tsx -------------------------------------------------------------------------------- /src/presentation/components/ui/hover-card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/ui/hover-card.tsx -------------------------------------------------------------------------------- /src/presentation/components/ui/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/ui/input.tsx -------------------------------------------------------------------------------- /src/presentation/components/ui/label.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/ui/label.tsx -------------------------------------------------------------------------------- /src/presentation/components/ui/navigation-menu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/ui/navigation-menu.tsx -------------------------------------------------------------------------------- /src/presentation/components/ui/select.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/ui/select.tsx -------------------------------------------------------------------------------- /src/presentation/components/ui/sheet.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/ui/sheet.tsx -------------------------------------------------------------------------------- /src/presentation/components/ui/skeleton.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/ui/skeleton.tsx -------------------------------------------------------------------------------- /src/presentation/components/ui/textarea.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/ui/textarea.tsx -------------------------------------------------------------------------------- /src/presentation/components/ui/toast.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/ui/toast.tsx -------------------------------------------------------------------------------- /src/presentation/components/ui/toaster.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/ui/toaster.tsx -------------------------------------------------------------------------------- /src/presentation/components/ui/use-toast.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/components/ui/use-toast.ts -------------------------------------------------------------------------------- /src/presentation/lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/presentation/lib/utils.ts -------------------------------------------------------------------------------- /src/provider/Provider.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/provider/Provider.tsx -------------------------------------------------------------------------------- /src/styles/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/styles/globals.css -------------------------------------------------------------------------------- /src/types.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/types.d.ts -------------------------------------------------------------------------------- /src/validations/PorjectSchemaFavorite.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/validations/PorjectSchemaFavorite.ts -------------------------------------------------------------------------------- /src/validations/ProfileSchemaLinks.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/validations/ProfileSchemaLinks.ts -------------------------------------------------------------------------------- /src/validations/ProjectSchemaAPI.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/validations/ProjectSchemaAPI.ts -------------------------------------------------------------------------------- /src/validations/ProjectSchemaCreate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/validations/ProjectSchemaCreate.ts -------------------------------------------------------------------------------- /src/validations/ProjectSchemaUpdate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/validations/ProjectSchemaUpdate.ts -------------------------------------------------------------------------------- /src/validations/SolutionAproveSchema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/validations/SolutionAproveSchema.ts -------------------------------------------------------------------------------- /src/validations/SolutionSchemaAPI.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/validations/SolutionSchemaAPI.ts -------------------------------------------------------------------------------- /src/validations/SolutionSchemaCreate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/validations/SolutionSchemaCreate.ts -------------------------------------------------------------------------------- /src/validations/SolutionSchemaUpdate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/validations/SolutionSchemaUpdate.ts -------------------------------------------------------------------------------- /src/validations/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/validations/index.ts -------------------------------------------------------------------------------- /src/validations/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/src/validations/utils/index.ts -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/tailwind.config.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuspergoli/draftcode/HEAD/tsconfig.json --------------------------------------------------------------------------------