From 37397f8a7eca0a0ab5a27b0be5acc7381782afd0 Mon Sep 17 00:00:00 2001 From: NimeshaKahingala Date: Sun, 17 Nov 2024 20:17:19 -0600 Subject: [PATCH 1/7] login page added --- packages/front-end/pages/login.vue | 93 +++++++++++++++++++++++++++--- 1 file changed, 85 insertions(+), 8 deletions(-) diff --git a/packages/front-end/pages/login.vue b/packages/front-end/pages/login.vue index 5e6b0ab..a55ef0f 100644 --- a/packages/front-end/pages/login.vue +++ b/packages/front-end/pages/login.vue @@ -1,14 +1,91 @@ +
+
+

Sign In

+
+ + +
+
+ + +
+ + - \ No newline at end of file +} + From 4b9b571f3cf3f048949e219bdca77e5ea3670beb Mon Sep 17 00:00:00 2001 From: NimeshaKahingala Date: Sun, 17 Nov 2024 20:17:51 -0600 Subject: [PATCH 2/7] register page added --- packages/front-end/pages/register.vue | 109 ++++++++++++++++++++++++-- 1 file changed, 104 insertions(+), 5 deletions(-) diff --git a/packages/front-end/pages/register.vue b/packages/front-end/pages/register.vue index 617882b..c9b8e0f 100644 --- a/packages/front-end/pages/register.vue +++ b/packages/front-end/pages/register.vue @@ -1,13 +1,112 @@ + + + + From 2b835ca5be387c3b1f2428c8bdc6b7d9edba4b06 Mon Sep 17 00:00:00 2001 From: NimeshaKahingala Date: Tue, 19 Nov 2024 22:37:18 -0600 Subject: [PATCH 3/7] okh type updated --- packages/front-end/types/OKH.type.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/front-end/types/OKH.type.ts b/packages/front-end/types/OKH.type.ts index f4fd18a..2e79439 100644 --- a/packages/front-end/types/OKH.type.ts +++ b/packages/front-end/types/OKH.type.ts @@ -10,12 +10,13 @@ import { import { type ATOM_TYPE } from "./ATOM.type"; export type OKH_TYPE = { + id: number; title: string; description: string; "intended-use": string; keywords?: string[]; "project-link": string; - image: string; + image: string | string[] | null; made: boolean; "made-independently": boolean; license: From 735f49c970e256d55d08e384ce40d64e5fff5f62 Mon Sep 17 00:00:00 2001 From: NimeshaKahingala Date: Tue, 19 Nov 2024 22:38:22 -0600 Subject: [PATCH 4/7] styles added --- packages/front-end/components/RelatedItems.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/front-end/components/RelatedItems.vue b/packages/front-end/components/RelatedItems.vue index 91f6cb8..29c617e 100644 --- a/packages/front-end/components/RelatedItems.vue +++ b/packages/front-end/components/RelatedItems.vue @@ -4,7 +4,7 @@ From 64449473363ba78dd6f34ef21b2f45f1bf11eac0 Mon Sep 17 00:00:00 2001 From: NimeshaKahingala Date: Thu, 21 Nov 2024 17:04:33 -0600 Subject: [PATCH 7/7] sample data updated --- packages/front-end/pages/products/[id].vue | 72 ++++++++++++++++++---- 1 file changed, 60 insertions(+), 12 deletions(-) diff --git a/packages/front-end/pages/products/[id].vue b/packages/front-end/pages/products/[id].vue index 4b93b30..8b14dd0 100644 --- a/packages/front-end/pages/products/[id].vue +++ b/packages/front-end/pages/products/[id].vue @@ -140,7 +140,11 @@ const products: OKH_TYPE[] = [ description: "", link: "", }, - "product-atom": "", + "product-atom": { + identifier: "", + description: "", + link: "", + }, "making-instructions": [], "maintenance-instructions": "", "health-safety-notice": "", @@ -196,7 +200,11 @@ const products: OKH_TYPE[] = [ description: "", link: "", }, - "product-atom": "", + "product-atom": { + identifier: "", + description: "", + link: "", + }, "making-instructions": [], "maintenance-instructions": "", "health-safety-notice": "", @@ -251,7 +259,11 @@ const products: OKH_TYPE[] = [ description: "", link: "", }, - "product-atom": "", + "product-atom": { + identifier: "", + description: "", + link: "", + }, "making-instructions": [], "maintenance-instructions": "", "health-safety-notice": "", @@ -306,7 +318,11 @@ const products: OKH_TYPE[] = [ description: "", link: "", }, - "product-atom": "", + "product-atom": { + identifier: "", + description: "", + link: "", + }, "making-instructions": [], "maintenance-instructions": "", "health-safety-notice": "", @@ -362,7 +378,11 @@ const products: OKH_TYPE[] = [ description: "", link: "", }, - "product-atom": "", + "product-atom": { + identifier: "", + description: "", + link: "", + }, "making-instructions": [], "maintenance-instructions": "", "health-safety-notice": "", @@ -415,7 +435,11 @@ const products: OKH_TYPE[] = [ description: "", link: "", }, - "product-atom": "", + "product-atom": { + identifier: "", + description: "", + link: "", + }, "making-instructions": [], "maintenance-instructions": "", "health-safety-notice": "", @@ -469,7 +493,11 @@ const products: OKH_TYPE[] = [ description: "", link: "", }, - "product-atom": "", + "product-atom": { + identifier: "", + description: "", + link: "", + }, "making-instructions": [], "maintenance-instructions": "", "health-safety-notice": "", @@ -522,7 +550,11 @@ const products: OKH_TYPE[] = [ description: "", link: "", }, - "product-atom": "", + "product-atom": { + identifier: "", + description: "", + link: "", + }, "making-instructions": [], "maintenance-instructions": "", "health-safety-notice": "", @@ -575,7 +607,11 @@ const products: OKH_TYPE[] = [ description: "", link: "", }, - "product-atom": "", + "product-atom": { + identifier: "", + description: "", + link: "", + }, "making-instructions": [], "maintenance-instructions": "", "health-safety-notice": "", @@ -628,7 +664,11 @@ const products: OKH_TYPE[] = [ description: "", link: "", }, - "product-atom": "", + "product-atom": { + identifier: "", + description: "", + link: "", + }, "making-instructions": [], "maintenance-instructions": "", "health-safety-notice": "", @@ -682,7 +722,11 @@ const products: OKH_TYPE[] = [ description: "", link: "", }, - "product-atom": "", + "product-atom": { + identifier: "", + description: "", + link: "", + }, "making-instructions": [], "maintenance-instructions": "", "health-safety-notice": "", @@ -735,7 +779,11 @@ const products: OKH_TYPE[] = [ description: "", link: "", }, - "product-atom": "", + "product-atom": { + identifier: "", + description: "", + link: "", + }, "making-instructions": [], "maintenance-instructions": "", "health-safety-notice": "",