├── .editorconfig ├── .eslintrc.json ├── .gitignore ├── .husky └── pre-commit ├── .lintstagedrc.json ├── .prettierrc.json ├── .storybook ├── main.js └── preview.jsx ├── .test └── setup.js ├── .vscode └── settings.json ├── README.md ├── next-env.d.ts ├── next.config.js ├── package.json ├── public ├── _redirects ├── assets │ └── fonts │ │ ├── montserrat-v24-latin │ │ ├── montserrat-v24-latin-900.woff │ │ ├── montserrat-v24-latin-900.woff2 │ │ ├── montserrat-v24-latin-900italic.woff │ │ └── montserrat-v24-latin-900italic.woff2 │ │ ├── open-sans-v29-latin │ │ ├── open-sans-v29-latin-700.woff │ │ ├── open-sans-v29-latin-700.woff2 │ │ ├── open-sans-v29-latin-700italic.woff │ │ ├── open-sans-v29-latin-700italic.woff2 │ │ ├── open-sans-v29-latin-italic.woff │ │ ├── open-sans-v29-latin-italic.woff2 │ │ ├── open-sans-v29-latin-regular.woff │ │ └── open-sans-v29-latin-regular.woff2 │ │ └── styles.css └── favicon.ico ├── src ├── components │ └── Heading │ │ ├── index.tsx │ │ ├── stories.tsx │ │ ├── styles.ts │ │ └── test.tsx ├── config │ └── index.ts ├── pages │ ├── _app.tsx │ ├── _document.tsx │ └── index.tsx ├── styles │ ├── global-styles.ts │ ├── render-theme.tsx │ └── theme.ts └── templates │ └── Home │ ├── index.tsx │ └── styles.ts ├── tsconfig.json ├── types ├── jest-styled-components.d.ts └── styled-components.d.ts └── vite.config.js /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luizomf/nextjs-12-example-with-typescript-and-styled-components/HEAD/.editorconfig -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luizomf/nextjs-12-example-with-typescript-and-styled-components/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luizomf/nextjs-12-example-with-typescript-and-styled-components/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luizomf/nextjs-12-example-with-typescript-and-styled-components/HEAD/.husky/pre-commit -------------------------------------------------------------------------------- /.lintstagedrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luizomf/nextjs-12-example-with-typescript-and-styled-components/HEAD/.lintstagedrc.json -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luizomf/nextjs-12-example-with-typescript-and-styled-components/HEAD/.prettierrc.json -------------------------------------------------------------------------------- /.storybook/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luizomf/nextjs-12-example-with-typescript-and-styled-components/HEAD/.storybook/main.js -------------------------------------------------------------------------------- /.storybook/preview.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luizomf/nextjs-12-example-with-typescript-and-styled-components/HEAD/.storybook/preview.jsx -------------------------------------------------------------------------------- /.test/setup.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luizomf/nextjs-12-example-with-typescript-and-styled-components/HEAD/.test/setup.js -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luizomf/nextjs-12-example-with-typescript-and-styled-components/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luizomf/nextjs-12-example-with-typescript-and-styled-components/HEAD/README.md -------------------------------------------------------------------------------- /next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luizomf/nextjs-12-example-with-typescript-and-styled-components/HEAD/next-env.d.ts -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luizomf/nextjs-12-example-with-typescript-and-styled-components/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luizomf/nextjs-12-example-with-typescript-and-styled-components/HEAD/package.json -------------------------------------------------------------------------------- /public/_redirects: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luizomf/nextjs-12-example-with-typescript-and-styled-components/HEAD/public/_redirects -------------------------------------------------------------------------------- /public/assets/fonts/montserrat-v24-latin/montserrat-v24-latin-900.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luizomf/nextjs-12-example-with-typescript-and-styled-components/HEAD/public/assets/fonts/montserrat-v24-latin/montserrat-v24-latin-900.woff -------------------------------------------------------------------------------- /public/assets/fonts/montserrat-v24-latin/montserrat-v24-latin-900.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luizomf/nextjs-12-example-with-typescript-and-styled-components/HEAD/public/assets/fonts/montserrat-v24-latin/montserrat-v24-latin-900.woff2 -------------------------------------------------------------------------------- /public/assets/fonts/montserrat-v24-latin/montserrat-v24-latin-900italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luizomf/nextjs-12-example-with-typescript-and-styled-components/HEAD/public/assets/fonts/montserrat-v24-latin/montserrat-v24-latin-900italic.woff -------------------------------------------------------------------------------- /public/assets/fonts/montserrat-v24-latin/montserrat-v24-latin-900italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luizomf/nextjs-12-example-with-typescript-and-styled-components/HEAD/public/assets/fonts/montserrat-v24-latin/montserrat-v24-latin-900italic.woff2 -------------------------------------------------------------------------------- /public/assets/fonts/open-sans-v29-latin/open-sans-v29-latin-700.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luizomf/nextjs-12-example-with-typescript-and-styled-components/HEAD/public/assets/fonts/open-sans-v29-latin/open-sans-v29-latin-700.woff -------------------------------------------------------------------------------- /public/assets/fonts/open-sans-v29-latin/open-sans-v29-latin-700.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luizomf/nextjs-12-example-with-typescript-and-styled-components/HEAD/public/assets/fonts/open-sans-v29-latin/open-sans-v29-latin-700.woff2 -------------------------------------------------------------------------------- /public/assets/fonts/open-sans-v29-latin/open-sans-v29-latin-700italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luizomf/nextjs-12-example-with-typescript-and-styled-components/HEAD/public/assets/fonts/open-sans-v29-latin/open-sans-v29-latin-700italic.woff -------------------------------------------------------------------------------- /public/assets/fonts/open-sans-v29-latin/open-sans-v29-latin-700italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luizomf/nextjs-12-example-with-typescript-and-styled-components/HEAD/public/assets/fonts/open-sans-v29-latin/open-sans-v29-latin-700italic.woff2 -------------------------------------------------------------------------------- /public/assets/fonts/open-sans-v29-latin/open-sans-v29-latin-italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luizomf/nextjs-12-example-with-typescript-and-styled-components/HEAD/public/assets/fonts/open-sans-v29-latin/open-sans-v29-latin-italic.woff -------------------------------------------------------------------------------- /public/assets/fonts/open-sans-v29-latin/open-sans-v29-latin-italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luizomf/nextjs-12-example-with-typescript-and-styled-components/HEAD/public/assets/fonts/open-sans-v29-latin/open-sans-v29-latin-italic.woff2 -------------------------------------------------------------------------------- /public/assets/fonts/open-sans-v29-latin/open-sans-v29-latin-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luizomf/nextjs-12-example-with-typescript-and-styled-components/HEAD/public/assets/fonts/open-sans-v29-latin/open-sans-v29-latin-regular.woff -------------------------------------------------------------------------------- /public/assets/fonts/open-sans-v29-latin/open-sans-v29-latin-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luizomf/nextjs-12-example-with-typescript-and-styled-components/HEAD/public/assets/fonts/open-sans-v29-latin/open-sans-v29-latin-regular.woff2 -------------------------------------------------------------------------------- /public/assets/fonts/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luizomf/nextjs-12-example-with-typescript-and-styled-components/HEAD/public/assets/fonts/styles.css -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luizomf/nextjs-12-example-with-typescript-and-styled-components/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /src/components/Heading/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luizomf/nextjs-12-example-with-typescript-and-styled-components/HEAD/src/components/Heading/index.tsx -------------------------------------------------------------------------------- /src/components/Heading/stories.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luizomf/nextjs-12-example-with-typescript-and-styled-components/HEAD/src/components/Heading/stories.tsx -------------------------------------------------------------------------------- /src/components/Heading/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luizomf/nextjs-12-example-with-typescript-and-styled-components/HEAD/src/components/Heading/styles.ts -------------------------------------------------------------------------------- /src/components/Heading/test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luizomf/nextjs-12-example-with-typescript-and-styled-components/HEAD/src/components/Heading/test.tsx -------------------------------------------------------------------------------- /src/config/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luizomf/nextjs-12-example-with-typescript-and-styled-components/HEAD/src/config/index.ts -------------------------------------------------------------------------------- /src/pages/_app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luizomf/nextjs-12-example-with-typescript-and-styled-components/HEAD/src/pages/_app.tsx -------------------------------------------------------------------------------- /src/pages/_document.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luizomf/nextjs-12-example-with-typescript-and-styled-components/HEAD/src/pages/_document.tsx -------------------------------------------------------------------------------- /src/pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luizomf/nextjs-12-example-with-typescript-and-styled-components/HEAD/src/pages/index.tsx -------------------------------------------------------------------------------- /src/styles/global-styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luizomf/nextjs-12-example-with-typescript-and-styled-components/HEAD/src/styles/global-styles.ts -------------------------------------------------------------------------------- /src/styles/render-theme.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luizomf/nextjs-12-example-with-typescript-and-styled-components/HEAD/src/styles/render-theme.tsx -------------------------------------------------------------------------------- /src/styles/theme.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luizomf/nextjs-12-example-with-typescript-and-styled-components/HEAD/src/styles/theme.ts -------------------------------------------------------------------------------- /src/templates/Home/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luizomf/nextjs-12-example-with-typescript-and-styled-components/HEAD/src/templates/Home/index.tsx -------------------------------------------------------------------------------- /src/templates/Home/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luizomf/nextjs-12-example-with-typescript-and-styled-components/HEAD/src/templates/Home/styles.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luizomf/nextjs-12-example-with-typescript-and-styled-components/HEAD/tsconfig.json -------------------------------------------------------------------------------- /types/jest-styled-components.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luizomf/nextjs-12-example-with-typescript-and-styled-components/HEAD/types/jest-styled-components.d.ts -------------------------------------------------------------------------------- /types/styled-components.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luizomf/nextjs-12-example-with-typescript-and-styled-components/HEAD/types/styled-components.d.ts -------------------------------------------------------------------------------- /vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/luizomf/nextjs-12-example-with-typescript-and-styled-components/HEAD/vite.config.js --------------------------------------------------------------------------------