From 6cf7964723272d16684459c6241b07d596680f36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C2=AA=20Rita=20Lopes?= Date: Sat, 16 Nov 2024 15:45:27 +0000 Subject: [PATCH 1/3] Changed overflow to auto --- src/routes/(app)/+layout.svelte | 4 ++-- .../(app)/events/_components/event-hexagon.stories.ts | 8 ++++++-- .../team/_components/team-member-hexagon.stories.ts | 9 +++++++-- 3 files changed, 15 insertions(+), 6 deletions(-) diff --git a/src/routes/(app)/+layout.svelte b/src/routes/(app)/+layout.svelte index 438bf2a..8602f77 100644 --- a/src/routes/(app)/+layout.svelte +++ b/src/routes/(app)/+layout.svelte @@ -22,7 +22,7 @@ :global(html) { height: 100%; min-height: 100vh; - overflow: scroll; + overflow: auto; } :global(body) { @@ -30,6 +30,6 @@ min-height: 100vh; display: flex; flex-direction: column; - overflow: scroll; + overflow: auto; } diff --git a/src/routes/(app)/events/_components/event-hexagon.stories.ts b/src/routes/(app)/events/_components/event-hexagon.stories.ts index c9ed10f..a818326 100644 --- a/src/routes/(app)/events/_components/event-hexagon.stories.ts +++ b/src/routes/(app)/events/_components/event-hexagon.stories.ts @@ -28,10 +28,14 @@ export const SingleDateHexagon = { args: { data: { title: 'Jantar de Curso', - description: 'Muito fixe', + description: 'Muito fixeeeeeeeeeeeeeeee', teamMemberIds: [], registerUrl: 'https://www.google.com/intl/pt-PT/forms/about/', - dateInterval: { startDate: new Date('2023-12-10') }, + + dateInterval: { + startDate: '2023-12-10T00:00:00.000Z' + }, + location: 'Cervejaria Diu', thumbnailPath: 'images/previews/evento.png' } diff --git a/src/routes/(app)/team/_components/team-member-hexagon.stories.ts b/src/routes/(app)/team/_components/team-member-hexagon.stories.ts index 0973d41..aee5914 100644 --- a/src/routes/(app)/team/_components/team-member-hexagon.stories.ts +++ b/src/routes/(app)/team/_components/team-member-hexagon.stories.ts @@ -83,11 +83,16 @@ export const DefaultIconHexagon = { data: { name: 'Bruno Rosendo', email: 'brunorosendo@gmail.com', - role: 'Co-Gestor de Projetos', + role: 'Co-Gestor de Projetosssssssssssssssssssss', photo: 'images/previews/bruno_rosendo.png', linkedin: 'https://pt.linkedin.com/', gitHub: 'https://github.com/', - websites: [{ url: 'https://www.facebook.com/' }] + + websites: [ + { + url: 'https://www.facebook.com/' + } + ] } } }; From b6c6313820b08bfe51e1d011114112ef66628927 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C2=AA=20Rita=20Lopes?= Date: Sat, 16 Nov 2024 15:48:07 +0000 Subject: [PATCH 2/3] Fixed wrong link to homepage --- src/routes/(app)/_components/layout/navbar.svelte | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/routes/(app)/_components/layout/navbar.svelte b/src/routes/(app)/_components/layout/navbar.svelte index 9065d56..336777d 100644 --- a/src/routes/(app)/_components/layout/navbar.svelte +++ b/src/routes/(app)/_components/layout/navbar.svelte @@ -3,15 +3,15 @@ aria-label="Navigation Bar" > From a730e8b3f01770be5ad6bd2cd932457714cf6e39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C2=AA=20Rita=20Lopes?= Date: Sat, 16 Nov 2024 15:52:00 +0000 Subject: [PATCH 3/3] Fixed storrybook test --- .../(app)/events/_components/event-hexagon.stories.ts | 8 ++------ .../team/_components/team-member-hexagon.stories.ts | 9 ++------- 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/src/routes/(app)/events/_components/event-hexagon.stories.ts b/src/routes/(app)/events/_components/event-hexagon.stories.ts index a818326..c9ed10f 100644 --- a/src/routes/(app)/events/_components/event-hexagon.stories.ts +++ b/src/routes/(app)/events/_components/event-hexagon.stories.ts @@ -28,14 +28,10 @@ export const SingleDateHexagon = { args: { data: { title: 'Jantar de Curso', - description: 'Muito fixeeeeeeeeeeeeeeee', + description: 'Muito fixe', teamMemberIds: [], registerUrl: 'https://www.google.com/intl/pt-PT/forms/about/', - - dateInterval: { - startDate: '2023-12-10T00:00:00.000Z' - }, - + dateInterval: { startDate: new Date('2023-12-10') }, location: 'Cervejaria Diu', thumbnailPath: 'images/previews/evento.png' } diff --git a/src/routes/(app)/team/_components/team-member-hexagon.stories.ts b/src/routes/(app)/team/_components/team-member-hexagon.stories.ts index aee5914..0973d41 100644 --- a/src/routes/(app)/team/_components/team-member-hexagon.stories.ts +++ b/src/routes/(app)/team/_components/team-member-hexagon.stories.ts @@ -83,16 +83,11 @@ export const DefaultIconHexagon = { data: { name: 'Bruno Rosendo', email: 'brunorosendo@gmail.com', - role: 'Co-Gestor de Projetosssssssssssssssssssss', + role: 'Co-Gestor de Projetos', photo: 'images/previews/bruno_rosendo.png', linkedin: 'https://pt.linkedin.com/', gitHub: 'https://github.com/', - - websites: [ - { - url: 'https://www.facebook.com/' - } - ] + websites: [{ url: 'https://www.facebook.com/' }] } } };