├── .env.example ├── .eslintrc.cjs ├── .gitignore ├── .prettierrc ├── .vscode └── launch.json ├── LICENSE ├── README.md ├── components.json ├── next.config.mjs ├── package.json ├── postcss.config.js ├── prettier.config.js ├── prisma ├── init.sql └── schema.prisma ├── public └── favicon.ico ├── src ├── app │ ├── [lang] │ │ ├── layout.tsx │ │ ├── page.tsx │ │ └── template.tsx │ ├── api │ │ └── auth │ │ │ └── [...nextauth] │ │ │ └── route.ts │ ├── layout.tsx │ ├── robots.ts │ └── sitemap.ts ├── components │ ├── choose-language │ │ └── index.tsx │ ├── faq │ │ └── index.tsx │ ├── fonts │ │ └── index.tsx │ ├── footer │ │ └── index.tsx │ ├── google-adsense │ │ └── index.tsx │ ├── header │ │ └── index.tsx │ ├── icons │ │ └── index.tsx │ ├── loading │ │ └── index.tsx │ ├── login │ │ └── index.tsx │ ├── main-nav │ │ └── index.tsx │ ├── plausible │ │ └── index.tsx │ ├── pricing │ │ └── index.tsx │ ├── product-hunt │ │ └── index.tsx │ ├── prompt-form │ │ ├── actions.ts │ │ ├── index.tsx │ │ └── pending-spinner.tsx │ ├── tailwind-indicator │ │ └── index.tsx │ ├── theme-provider │ │ └── index.tsx │ ├── theme-toggle │ │ └── index.tsx │ └── ui │ │ ├── accordion │ │ └── index.tsx │ │ ├── avatar │ │ └── index.tsx │ │ ├── badge │ │ └── index.tsx │ │ ├── button │ │ └── index.tsx │ │ ├── card │ │ └── index.tsx │ │ ├── dialog │ │ └── index.tsx │ │ ├── dropdown-menu │ │ └── index.tsx │ │ ├── form │ │ └── index.tsx │ │ ├── input │ │ └── index.tsx │ │ ├── label │ │ └── index.tsx │ │ ├── spinner │ │ └── index.tsx │ │ └── textarea │ │ └── index.tsx ├── config │ ├── atom.ts │ ├── fonts.ts │ └── site.ts ├── dictionaries │ ├── en.json │ └── zh.json ├── hooks │ ├── use-dark-model.tsx │ ├── use-localstore.ts │ └── use-mouse-position.ts ├── lib │ ├── arrays.ts │ ├── request.ts │ └── utils.ts ├── middleware.ts ├── server │ ├── auth.ts │ ├── locale.ts │ ├── mapper │ │ └── user-mapper.ts │ └── prisma.ts ├── styles │ ├── globals.css │ └── loading.css └── types │ └── site-config.ts ├── tailwind.config.ts ├── tsconfig.json └── yarn.lock /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/.env.example -------------------------------------------------------------------------------- /.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/.eslintrc.cjs -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/.prettierrc -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/README.md -------------------------------------------------------------------------------- /components.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/components.json -------------------------------------------------------------------------------- /next.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/next.config.mjs -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/postcss.config.js -------------------------------------------------------------------------------- /prettier.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/prettier.config.js -------------------------------------------------------------------------------- /prisma/init.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/prisma/init.sql -------------------------------------------------------------------------------- /prisma/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/prisma/schema.prisma -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /src/app/[lang]/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/app/[lang]/layout.tsx -------------------------------------------------------------------------------- /src/app/[lang]/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/app/[lang]/page.tsx -------------------------------------------------------------------------------- /src/app/[lang]/template.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/app/[lang]/template.tsx -------------------------------------------------------------------------------- /src/app/api/auth/[...nextauth]/route.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/app/api/auth/[...nextauth]/route.ts -------------------------------------------------------------------------------- /src/app/layout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/app/layout.tsx -------------------------------------------------------------------------------- /src/app/robots.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/app/robots.ts -------------------------------------------------------------------------------- /src/app/sitemap.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/app/sitemap.ts -------------------------------------------------------------------------------- /src/components/choose-language/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/components/choose-language/index.tsx -------------------------------------------------------------------------------- /src/components/faq/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/components/faq/index.tsx -------------------------------------------------------------------------------- /src/components/fonts/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/components/fonts/index.tsx -------------------------------------------------------------------------------- /src/components/footer/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/components/footer/index.tsx -------------------------------------------------------------------------------- /src/components/google-adsense/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/components/google-adsense/index.tsx -------------------------------------------------------------------------------- /src/components/header/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/components/header/index.tsx -------------------------------------------------------------------------------- /src/components/icons/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/components/icons/index.tsx -------------------------------------------------------------------------------- /src/components/loading/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/components/loading/index.tsx -------------------------------------------------------------------------------- /src/components/login/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/components/login/index.tsx -------------------------------------------------------------------------------- /src/components/main-nav/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/components/main-nav/index.tsx -------------------------------------------------------------------------------- /src/components/plausible/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/components/plausible/index.tsx -------------------------------------------------------------------------------- /src/components/pricing/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/components/pricing/index.tsx -------------------------------------------------------------------------------- /src/components/product-hunt/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/components/product-hunt/index.tsx -------------------------------------------------------------------------------- /src/components/prompt-form/actions.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/components/prompt-form/actions.ts -------------------------------------------------------------------------------- /src/components/prompt-form/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/components/prompt-form/index.tsx -------------------------------------------------------------------------------- /src/components/prompt-form/pending-spinner.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/components/prompt-form/pending-spinner.tsx -------------------------------------------------------------------------------- /src/components/tailwind-indicator/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/components/tailwind-indicator/index.tsx -------------------------------------------------------------------------------- /src/components/theme-provider/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/components/theme-provider/index.tsx -------------------------------------------------------------------------------- /src/components/theme-toggle/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/components/theme-toggle/index.tsx -------------------------------------------------------------------------------- /src/components/ui/accordion/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/components/ui/accordion/index.tsx -------------------------------------------------------------------------------- /src/components/ui/avatar/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/components/ui/avatar/index.tsx -------------------------------------------------------------------------------- /src/components/ui/badge/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/components/ui/badge/index.tsx -------------------------------------------------------------------------------- /src/components/ui/button/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/components/ui/button/index.tsx -------------------------------------------------------------------------------- /src/components/ui/card/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/components/ui/card/index.tsx -------------------------------------------------------------------------------- /src/components/ui/dialog/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/components/ui/dialog/index.tsx -------------------------------------------------------------------------------- /src/components/ui/dropdown-menu/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/components/ui/dropdown-menu/index.tsx -------------------------------------------------------------------------------- /src/components/ui/form/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/components/ui/form/index.tsx -------------------------------------------------------------------------------- /src/components/ui/input/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/components/ui/input/index.tsx -------------------------------------------------------------------------------- /src/components/ui/label/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/components/ui/label/index.tsx -------------------------------------------------------------------------------- /src/components/ui/spinner/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/components/ui/spinner/index.tsx -------------------------------------------------------------------------------- /src/components/ui/textarea/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/components/ui/textarea/index.tsx -------------------------------------------------------------------------------- /src/config/atom.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/config/atom.ts -------------------------------------------------------------------------------- /src/config/fonts.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/config/fonts.ts -------------------------------------------------------------------------------- /src/config/site.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/config/site.ts -------------------------------------------------------------------------------- /src/dictionaries/en.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/dictionaries/en.json -------------------------------------------------------------------------------- /src/dictionaries/zh.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/dictionaries/zh.json -------------------------------------------------------------------------------- /src/hooks/use-dark-model.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/hooks/use-dark-model.tsx -------------------------------------------------------------------------------- /src/hooks/use-localstore.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/hooks/use-localstore.ts -------------------------------------------------------------------------------- /src/hooks/use-mouse-position.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/hooks/use-mouse-position.ts -------------------------------------------------------------------------------- /src/lib/arrays.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/lib/arrays.ts -------------------------------------------------------------------------------- /src/lib/request.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/lib/request.ts -------------------------------------------------------------------------------- /src/lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/lib/utils.ts -------------------------------------------------------------------------------- /src/middleware.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/middleware.ts -------------------------------------------------------------------------------- /src/server/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/server/auth.ts -------------------------------------------------------------------------------- /src/server/locale.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/server/locale.ts -------------------------------------------------------------------------------- /src/server/mapper/user-mapper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/server/mapper/user-mapper.ts -------------------------------------------------------------------------------- /src/server/prisma.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/server/prisma.ts -------------------------------------------------------------------------------- /src/styles/globals.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/styles/globals.css -------------------------------------------------------------------------------- /src/styles/loading.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/styles/loading.css -------------------------------------------------------------------------------- /src/types/site-config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/src/types/site-config.ts -------------------------------------------------------------------------------- /tailwind.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/tailwind.config.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/tsconfig.json -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/story-has-you/reavid-nextjs-template/HEAD/yarn.lock --------------------------------------------------------------------------------