From 78bf92d9379073b220bf4b7b4d0dd2b0886ea2e9 Mon Sep 17 00:00:00 2001 From: Dan Ko Date: Thu, 31 Aug 2023 16:06:24 -0400 Subject: [PATCH 01/17] fix hot reload in docker --- docker-compose.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index fbbcc4e4..4560cd1c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,6 +11,11 @@ services: - 5555:5555 depends_on: - db + environment: + - WATCHPACK_POLLING=true + volumes: + - .:/usr/src/app + - /usr/src/app/node_modules db: container_name: db image: postgres:latest From 327697fb46b6bc5b7125f1f5f341e493bd19df4e Mon Sep 17 00:00:00 2001 From: Dan Ko Date: Mon, 4 Sep 2023 21:43:21 -0400 Subject: [PATCH 02/17] vote description card --- .../ideation/components/CreateIdeationContainer.tsx | 13 +++++++++++++ src/app/ideation/components/VoteDescriptionCard.tsx | 12 ++++++++++++ src/app/ideation/components/index.ts | 2 ++ src/app/ideation/index.ts | 0 src/app/ideation/page.tsx | 11 +++++++++++ src/app/layout.tsx | 3 +-- 6 files changed, 39 insertions(+), 2 deletions(-) create mode 100644 src/app/ideation/components/CreateIdeationContainer.tsx create mode 100644 src/app/ideation/components/VoteDescriptionCard.tsx create mode 100644 src/app/ideation/components/index.ts create mode 100644 src/app/ideation/index.ts create mode 100644 src/app/ideation/page.tsx diff --git a/src/app/ideation/components/CreateIdeationContainer.tsx b/src/app/ideation/components/CreateIdeationContainer.tsx new file mode 100644 index 00000000..c99557d8 --- /dev/null +++ b/src/app/ideation/components/CreateIdeationContainer.tsx @@ -0,0 +1,13 @@ +import { VoteDescriptionCard } from "."; + +function CreateIdeationContainer() { + return ( +
+
+ +
+
+ ); +} + +export default CreateIdeationContainer; diff --git a/src/app/ideation/components/VoteDescriptionCard.tsx b/src/app/ideation/components/VoteDescriptionCard.tsx new file mode 100644 index 00000000..56e11bf9 --- /dev/null +++ b/src/app/ideation/components/VoteDescriptionCard.tsx @@ -0,0 +1,12 @@ +function VoteDescriptionCard() { + return ( +
+
+

Votes

+
Vote for the projects you are interested in.
+
+
+ ); +} + +export default VoteDescriptionCard; diff --git a/src/app/ideation/components/index.ts b/src/app/ideation/components/index.ts new file mode 100644 index 00000000..26db8003 --- /dev/null +++ b/src/app/ideation/components/index.ts @@ -0,0 +1,2 @@ +export { default as CreateIdeationContainer } from "./CreateIdeationContainer"; +export { default as VoteDescriptionCard } from "./VoteDescriptionCard"; diff --git a/src/app/ideation/index.ts b/src/app/ideation/index.ts new file mode 100644 index 00000000..e69de29b diff --git a/src/app/ideation/page.tsx b/src/app/ideation/page.tsx new file mode 100644 index 00000000..b3ce0121 --- /dev/null +++ b/src/app/ideation/page.tsx @@ -0,0 +1,11 @@ +import { CreateIdeationContainer } from "./components"; + +function IdeationPage() { + return ( +
+ +
+ ); +} + +export default IdeationPage; diff --git a/src/app/layout.tsx b/src/app/layout.tsx index c0cca4d2..e6fe0c97 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -9,7 +9,6 @@ export const metadata: Metadata = { description: "Generated by create next app", }; - // If loading a variable font, you don't need to specify the font weight const inter = Inter({ weight: ["400", "500", "600", "700"], @@ -23,7 +22,7 @@ export default function RootLayout({ children: React.ReactNode; }) { return ( - +