├── .env.example ├── .eslintrc.json ├── .gitignore ├── README.md ├── components ├── ArticleList.tsx ├── BlogCardWithImage.tsx ├── Blogcard.tsx ├── Footer.tsx ├── Navbar.tsx ├── Pagination.tsx └── Tabs.tsx ├── http └── index.ts ├── next-env.d.ts ├── next.config.js ├── package.json ├── pages ├── _app.tsx ├── api │ └── hello.ts ├── article │ └── [slug].tsx ├── category │ └── [category].tsx └── index.tsx ├── postcss.config.js ├── public ├── favicon.ico ├── gitbook.svg ├── logo.png ├── pie.png └── vercel.svg ├── styles ├── Home.module.css └── globals.css ├── tailwind.config.js ├── tsconfig.json ├── types └── index.ts ├── utils └── index.ts └── yarn.lock /.env.example: -------------------------------------------------------------------------------- 1 | API_BASE_URL= 2 | BACKEND_API_KEY= -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersgyan/nextjs-typescript-blog/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersgyan/nextjs-typescript-blog/HEAD/README.md -------------------------------------------------------------------------------- /components/ArticleList.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersgyan/nextjs-typescript-blog/HEAD/components/ArticleList.tsx -------------------------------------------------------------------------------- /components/BlogCardWithImage.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersgyan/nextjs-typescript-blog/HEAD/components/BlogCardWithImage.tsx -------------------------------------------------------------------------------- /components/Blogcard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersgyan/nextjs-typescript-blog/HEAD/components/Blogcard.tsx -------------------------------------------------------------------------------- /components/Footer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersgyan/nextjs-typescript-blog/HEAD/components/Footer.tsx -------------------------------------------------------------------------------- /components/Navbar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersgyan/nextjs-typescript-blog/HEAD/components/Navbar.tsx -------------------------------------------------------------------------------- /components/Pagination.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersgyan/nextjs-typescript-blog/HEAD/components/Pagination.tsx -------------------------------------------------------------------------------- /components/Tabs.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersgyan/nextjs-typescript-blog/HEAD/components/Tabs.tsx -------------------------------------------------------------------------------- /http/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersgyan/nextjs-typescript-blog/HEAD/http/index.ts -------------------------------------------------------------------------------- /next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersgyan/nextjs-typescript-blog/HEAD/next-env.d.ts -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersgyan/nextjs-typescript-blog/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersgyan/nextjs-typescript-blog/HEAD/package.json -------------------------------------------------------------------------------- /pages/_app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersgyan/nextjs-typescript-blog/HEAD/pages/_app.tsx -------------------------------------------------------------------------------- /pages/api/hello.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersgyan/nextjs-typescript-blog/HEAD/pages/api/hello.ts -------------------------------------------------------------------------------- /pages/article/[slug].tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersgyan/nextjs-typescript-blog/HEAD/pages/article/[slug].tsx -------------------------------------------------------------------------------- /pages/category/[category].tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersgyan/nextjs-typescript-blog/HEAD/pages/category/[category].tsx -------------------------------------------------------------------------------- /pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersgyan/nextjs-typescript-blog/HEAD/pages/index.tsx -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersgyan/nextjs-typescript-blog/HEAD/postcss.config.js -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersgyan/nextjs-typescript-blog/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/gitbook.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersgyan/nextjs-typescript-blog/HEAD/public/gitbook.svg -------------------------------------------------------------------------------- /public/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersgyan/nextjs-typescript-blog/HEAD/public/logo.png -------------------------------------------------------------------------------- /public/pie.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersgyan/nextjs-typescript-blog/HEAD/public/pie.png -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersgyan/nextjs-typescript-blog/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /styles/Home.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersgyan/nextjs-typescript-blog/HEAD/styles/Home.module.css -------------------------------------------------------------------------------- /styles/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersgyan/nextjs-typescript-blog/HEAD/styles/globals.css -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersgyan/nextjs-typescript-blog/HEAD/tailwind.config.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersgyan/nextjs-typescript-blog/HEAD/tsconfig.json -------------------------------------------------------------------------------- /types/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersgyan/nextjs-typescript-blog/HEAD/types/index.ts -------------------------------------------------------------------------------- /utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersgyan/nextjs-typescript-blog/HEAD/utils/index.ts -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/codersgyan/nextjs-typescript-blog/HEAD/yarn.lock --------------------------------------------------------------------------------