├── .eslintrc.json ├── .gitignore ├── README.md ├── next-env.d.ts ├── next.config.js ├── package.json ├── postcss.config.js ├── public ├── favicon.ico └── vercel.svg ├── src ├── components │ ├── Descricao.tsx │ ├── ExibirCodigo.tsx │ ├── Janela.tsx │ ├── LinkGithub.tsx │ ├── Menu.tsx │ ├── MenuItem.tsx │ ├── Pagina.tsx │ ├── PaginaExemplo.tsx │ ├── Titulo.tsx │ └── icones.tsx ├── core │ └── Pedido.ts ├── data │ ├── codigos.ts │ ├── exemplos.ts │ └── linguagens.ts ├── pages │ ├── _app.tsx │ ├── api │ │ ├── nomes.ts │ │ └── pedidos │ │ │ └── abertos.ts │ ├── codigo │ │ └── [nomeExemplo].tsx │ ├── index.tsx │ └── renderizacao │ │ ├── ssg1.tsx │ │ ├── ssg2.tsx │ │ ├── ssgCsr.tsx │ │ └── ssr.tsx ├── styles │ └── globals.css └── utils │ ├── data.ts │ └── http.ts ├── tailwind.config.js ├── tsconfig.json └── yarn.lock /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonardomleitao/recursos-nextjs/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonardomleitao/recursos-nextjs/HEAD/README.md -------------------------------------------------------------------------------- /next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonardomleitao/recursos-nextjs/HEAD/next-env.d.ts -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | reactStrictMode: true, 3 | } 4 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonardomleitao/recursos-nextjs/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonardomleitao/recursos-nextjs/HEAD/postcss.config.js -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonardomleitao/recursos-nextjs/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonardomleitao/recursos-nextjs/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /src/components/Descricao.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonardomleitao/recursos-nextjs/HEAD/src/components/Descricao.tsx -------------------------------------------------------------------------------- /src/components/ExibirCodigo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonardomleitao/recursos-nextjs/HEAD/src/components/ExibirCodigo.tsx -------------------------------------------------------------------------------- /src/components/Janela.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonardomleitao/recursos-nextjs/HEAD/src/components/Janela.tsx -------------------------------------------------------------------------------- /src/components/LinkGithub.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonardomleitao/recursos-nextjs/HEAD/src/components/LinkGithub.tsx -------------------------------------------------------------------------------- /src/components/Menu.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonardomleitao/recursos-nextjs/HEAD/src/components/Menu.tsx -------------------------------------------------------------------------------- /src/components/MenuItem.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonardomleitao/recursos-nextjs/HEAD/src/components/MenuItem.tsx -------------------------------------------------------------------------------- /src/components/Pagina.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonardomleitao/recursos-nextjs/HEAD/src/components/Pagina.tsx -------------------------------------------------------------------------------- /src/components/PaginaExemplo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonardomleitao/recursos-nextjs/HEAD/src/components/PaginaExemplo.tsx -------------------------------------------------------------------------------- /src/components/Titulo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonardomleitao/recursos-nextjs/HEAD/src/components/Titulo.tsx -------------------------------------------------------------------------------- /src/components/icones.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonardomleitao/recursos-nextjs/HEAD/src/components/icones.tsx -------------------------------------------------------------------------------- /src/core/Pedido.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonardomleitao/recursos-nextjs/HEAD/src/core/Pedido.ts -------------------------------------------------------------------------------- /src/data/codigos.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonardomleitao/recursos-nextjs/HEAD/src/data/codigos.ts -------------------------------------------------------------------------------- /src/data/exemplos.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonardomleitao/recursos-nextjs/HEAD/src/data/exemplos.ts -------------------------------------------------------------------------------- /src/data/linguagens.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonardomleitao/recursos-nextjs/HEAD/src/data/linguagens.ts -------------------------------------------------------------------------------- /src/pages/_app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonardomleitao/recursos-nextjs/HEAD/src/pages/_app.tsx -------------------------------------------------------------------------------- /src/pages/api/nomes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonardomleitao/recursos-nextjs/HEAD/src/pages/api/nomes.ts -------------------------------------------------------------------------------- /src/pages/api/pedidos/abertos.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonardomleitao/recursos-nextjs/HEAD/src/pages/api/pedidos/abertos.ts -------------------------------------------------------------------------------- /src/pages/codigo/[nomeExemplo].tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonardomleitao/recursos-nextjs/HEAD/src/pages/codigo/[nomeExemplo].tsx -------------------------------------------------------------------------------- /src/pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonardomleitao/recursos-nextjs/HEAD/src/pages/index.tsx -------------------------------------------------------------------------------- /src/pages/renderizacao/ssg1.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonardomleitao/recursos-nextjs/HEAD/src/pages/renderizacao/ssg1.tsx -------------------------------------------------------------------------------- /src/pages/renderizacao/ssg2.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonardomleitao/recursos-nextjs/HEAD/src/pages/renderizacao/ssg2.tsx -------------------------------------------------------------------------------- /src/pages/renderizacao/ssgCsr.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonardomleitao/recursos-nextjs/HEAD/src/pages/renderizacao/ssgCsr.tsx -------------------------------------------------------------------------------- /src/pages/renderizacao/ssr.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonardomleitao/recursos-nextjs/HEAD/src/pages/renderizacao/ssr.tsx -------------------------------------------------------------------------------- /src/styles/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonardomleitao/recursos-nextjs/HEAD/src/styles/globals.css -------------------------------------------------------------------------------- /src/utils/data.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonardomleitao/recursos-nextjs/HEAD/src/utils/data.ts -------------------------------------------------------------------------------- /src/utils/http.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonardomleitao/recursos-nextjs/HEAD/src/utils/http.ts -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonardomleitao/recursos-nextjs/HEAD/tailwind.config.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonardomleitao/recursos-nextjs/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/leonardomleitao/recursos-nextjs/HEAD/yarn.lock --------------------------------------------------------------------------------