├── .env ├── .eslintrc.json ├── .gitignore ├── README.md ├── app ├── [lang] │ ├── about │ │ └── page.tsx │ ├── error.tsx │ ├── index.module.scss │ ├── layout.tsx │ ├── loading.tsx │ ├── not-found.tsx │ └── page.tsx └── api │ └── hello │ └── route.ts ├── appOld ├── index.module.scss ├── layout.js ├── loading.js ├── login │ └── page.js ├── page.js ├── post │ └── [slug] │ │ ├── layout.js │ │ ├── loading.js │ │ └── page.js └── users │ └── page.js ├── locales ├── index.ts └── locales │ ├── en │ └── common.json │ ├── get-common.ts │ └── vi │ └── common.json ├── middleware.ts ├── next.config.js ├── package.json ├── public ├── favicon.ico ├── static │ ├── fonts │ │ ├── Gilroy-Black1.otf │ │ ├── Gilroy-Bold1.otf │ │ ├── Gilroy-Extrabold1.otf │ │ ├── Gilroy-Heavy1.otf │ │ ├── Gilroy-Light1.otf │ │ ├── Gilroy-Medium1.otf │ │ ├── Gilroy-Regular1.otf │ │ ├── Gilroy-Semibold1.otf │ │ ├── Gilroy-Thin1.otf │ │ └── Gilroy-UltraLight1.otf │ └── images │ │ └── bg-intro-page.webp └── vercel.svg ├── src ├── components │ ├── Hello │ │ └── Hello.tsx │ ├── HelloClient │ │ └── HelloClient.js │ └── Language │ │ ├── Language.tsx │ │ └── index.module.scss ├── store │ ├── StoreSyncDataFromServerToClient.js │ ├── post.js │ └── profile │ │ ├── profile.ts │ │ └── useProfileStore.ts └── utils │ └── cookies.js ├── styles ├── Home.module.css └── globals.css └── tsconfig.json /.env: -------------------------------------------------------------------------------- 1 | PORT=4000 2 | -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/README.md -------------------------------------------------------------------------------- /app/[lang]/about/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/app/[lang]/about/page.tsx -------------------------------------------------------------------------------- /app/[lang]/error.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/app/[lang]/error.tsx -------------------------------------------------------------------------------- /app/[lang]/index.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/app/[lang]/index.module.scss -------------------------------------------------------------------------------- /app/[lang]/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/app/[lang]/layout.tsx -------------------------------------------------------------------------------- /app/[lang]/loading.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/app/[lang]/loading.tsx -------------------------------------------------------------------------------- /app/[lang]/not-found.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/app/[lang]/not-found.tsx -------------------------------------------------------------------------------- /app/[lang]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/app/[lang]/page.tsx -------------------------------------------------------------------------------- /app/api/hello/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/app/api/hello/route.ts -------------------------------------------------------------------------------- /appOld/index.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/appOld/index.module.scss -------------------------------------------------------------------------------- /appOld/layout.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/appOld/layout.js -------------------------------------------------------------------------------- /appOld/loading.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/appOld/loading.js -------------------------------------------------------------------------------- /appOld/login/page.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/appOld/login/page.js -------------------------------------------------------------------------------- /appOld/page.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/appOld/page.js -------------------------------------------------------------------------------- /appOld/post/[slug]/layout.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/appOld/post/[slug]/layout.js -------------------------------------------------------------------------------- /appOld/post/[slug]/loading.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/appOld/post/[slug]/loading.js -------------------------------------------------------------------------------- /appOld/post/[slug]/page.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/appOld/post/[slug]/page.js -------------------------------------------------------------------------------- /appOld/users/page.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/appOld/users/page.js -------------------------------------------------------------------------------- /locales/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/locales/index.ts -------------------------------------------------------------------------------- /locales/locales/en/common.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/locales/locales/en/common.json -------------------------------------------------------------------------------- /locales/locales/get-common.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/locales/locales/get-common.ts -------------------------------------------------------------------------------- /locales/locales/vi/common.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/locales/locales/vi/common.json -------------------------------------------------------------------------------- /middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/middleware.ts -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/package.json -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/static/fonts/Gilroy-Black1.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/public/static/fonts/Gilroy-Black1.otf -------------------------------------------------------------------------------- /public/static/fonts/Gilroy-Bold1.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/public/static/fonts/Gilroy-Bold1.otf -------------------------------------------------------------------------------- /public/static/fonts/Gilroy-Extrabold1.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/public/static/fonts/Gilroy-Extrabold1.otf -------------------------------------------------------------------------------- /public/static/fonts/Gilroy-Heavy1.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/public/static/fonts/Gilroy-Heavy1.otf -------------------------------------------------------------------------------- /public/static/fonts/Gilroy-Light1.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/public/static/fonts/Gilroy-Light1.otf -------------------------------------------------------------------------------- /public/static/fonts/Gilroy-Medium1.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/public/static/fonts/Gilroy-Medium1.otf -------------------------------------------------------------------------------- /public/static/fonts/Gilroy-Regular1.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/public/static/fonts/Gilroy-Regular1.otf -------------------------------------------------------------------------------- /public/static/fonts/Gilroy-Semibold1.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/public/static/fonts/Gilroy-Semibold1.otf -------------------------------------------------------------------------------- /public/static/fonts/Gilroy-Thin1.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/public/static/fonts/Gilroy-Thin1.otf -------------------------------------------------------------------------------- /public/static/fonts/Gilroy-UltraLight1.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/public/static/fonts/Gilroy-UltraLight1.otf -------------------------------------------------------------------------------- /public/static/images/bg-intro-page.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/public/static/images/bg-intro-page.webp -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /src/components/Hello/Hello.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/src/components/Hello/Hello.tsx -------------------------------------------------------------------------------- /src/components/HelloClient/HelloClient.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/src/components/HelloClient/HelloClient.js -------------------------------------------------------------------------------- /src/components/Language/Language.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/src/components/Language/Language.tsx -------------------------------------------------------------------------------- /src/components/Language/index.module.scss: -------------------------------------------------------------------------------- 1 | .wrap {} 2 | -------------------------------------------------------------------------------- /src/store/StoreSyncDataFromServerToClient.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/src/store/StoreSyncDataFromServerToClient.js -------------------------------------------------------------------------------- /src/store/post.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/src/store/post.js -------------------------------------------------------------------------------- /src/store/profile/profile.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/src/store/profile/profile.ts -------------------------------------------------------------------------------- /src/store/profile/useProfileStore.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/src/store/profile/useProfileStore.ts -------------------------------------------------------------------------------- /src/utils/cookies.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/src/utils/cookies.js -------------------------------------------------------------------------------- /styles/Home.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/styles/Home.module.css -------------------------------------------------------------------------------- /styles/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/styles/globals.css -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hunghg255/next13/HEAD/tsconfig.json --------------------------------------------------------------------------------