diff --git a/package-lock.json b/package-lock.json index 0b3b059..a3fb379 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,6 +15,7 @@ "ioredis": "^5.4.1", "next": "14.2.13", "next-plausible": "^3.12.4", + "next-themes": "^0.4.3", "openai": "^4.65.0", "react": "^18", "react-dom": "^18" @@ -10036,6 +10037,16 @@ "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" } }, + "node_modules/next-themes": { + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/next-themes/-/next-themes-0.4.3.tgz", + "integrity": "sha512-nG84VPkTdUHR2YeD89YchvV4I9RbiMAql3GiLEQlPvq1ioaqPaIReK+yMRdg/zgiXws620qS1rU30TiWmmG9lA==", + "license": "MIT", + "peerDependencies": { + "react": "^16.8 || ^17 || ^18 || ^19 || ^19.0.0-rc", + "react-dom": "^16.8 || ^17 || ^18 || ^19 || ^19.0.0-rc" + } + }, "node_modules/next/node_modules/postcss": { "version": "8.4.31", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz", diff --git a/package.json b/package.json index 465f847..a410fe1 100644 --- a/package.json +++ b/package.json @@ -28,6 +28,7 @@ "ioredis": "^5.4.1", "next": "14.2.13", "next-plausible": "^3.12.4", + "next-themes": "^0.4.3", "openai": "^4.65.0", "react": "^18", "react-dom": "^18" diff --git a/src/app/about/page.tsx b/src/app/about/page.tsx index 77de676..e6c8354 100644 --- a/src/app/about/page.tsx +++ b/src/app/about/page.tsx @@ -6,7 +6,7 @@ import Photo from './photo.jpeg' export default async function AboutPage() { return (
-

+

About CheckMVP

@@ -42,7 +42,7 @@ export default async function AboutPage() {
-

+

Just Talk to Your Customers!

@@ -64,7 +64,7 @@ export default async function AboutPage() {
-

+

What We Bring to The Table?

diff --git a/src/app/concepts/[id]/NotWellDefinedProblem.tsx b/src/app/concepts/[id]/NotWellDefinedProblem.tsx index 087346e..0a99498 100644 --- a/src/app/concepts/[id]/NotWellDefinedProblem.tsx +++ b/src/app/concepts/[id]/NotWellDefinedProblem.tsx @@ -46,7 +46,7 @@ const NotWellDefinedProblem = ({ problem, evaluation }: Props) => ( {evaluation.suggestions.map((item, index) => (
{item}
diff --git a/src/app/concepts/[id]/ProblemRequiresChanges.tsx b/src/app/concepts/[id]/ProblemRequiresChanges.tsx index bc14551..5ed1ad0 100644 --- a/src/app/concepts/[id]/ProblemRequiresChanges.tsx +++ b/src/app/concepts/[id]/ProblemRequiresChanges.tsx @@ -117,7 +117,7 @@ const ProblemRequiresChanges = ({ conceptId, problem, evaluation }: Props) => { {evaluation.suggestions.map((item, index) => (

{item} @@ -133,7 +133,7 @@ const ProblemRequiresChanges = ({ conceptId, problem, evaluation }: Props) => { {evaluation.recommendations.map((item, index) => (

{item}

diff --git a/src/app/concepts/[id]/ReportPage.tsx b/src/app/concepts/[id]/ReportPage.tsx index 5c8bf01..c71ba31 100644 --- a/src/app/concepts/[id]/ReportPage.tsx +++ b/src/app/concepts/[id]/ReportPage.tsx @@ -16,7 +16,7 @@ interface Props { concept: Concept } -const reloadInterval = 5000 +const reloadInterval = 500000 const ReportPage = ({ concept }: Props) => { const router = useRouter() diff --git a/src/app/concepts/[id]/WellDefinedProblem.tsx b/src/app/concepts/[id]/WellDefinedProblem.tsx index 5d69e7d..46d65c8 100644 --- a/src/app/concepts/[id]/WellDefinedProblem.tsx +++ b/src/app/concepts/[id]/WellDefinedProblem.tsx @@ -87,7 +87,7 @@ const WellDefinedProblem = ({ conceptId, evaluation }: Props) => { {evaluation.painPoints.map((item, index) => (

{item} @@ -102,7 +102,7 @@ const WellDefinedProblem = ({ conceptId, evaluation }: Props) => { {evaluation.targetAudience.map((item, index) => (

{item.segment} diff --git a/src/app/ideas/[id]/IdeaAnalysisReport.tsx b/src/app/ideas/[id]/IdeaAnalysisReport.tsx index 0a49984..ca495d4 100644 --- a/src/app/ideas/[id]/IdeaAnalysisReport.tsx +++ b/src/app/ideas/[id]/IdeaAnalysisReport.tsx @@ -230,13 +230,13 @@ export const IdeaAnalysisReport = ({ data }: Props) => { return (

-