From 4e76c4cd3d28622589f16e299953537bbad16d46 Mon Sep 17 00:00:00 2001 From: HRN Date: Tue, 27 Aug 2024 17:55:53 +0200 Subject: [PATCH 1/6] =?UTF-8?q?Uppdaterad=20mailfooterdesign=20med=20nya?= =?UTF-8?q?=20interaktiva=20f=C3=A4lt.=20Fysisk=20adress=20till=20kontor?= =?UTF-8?q?=20borttagen.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/routes/+page.svelte | 197 +++++++++++----------------------------- 1 file changed, 53 insertions(+), 144 deletions(-) diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index f8a91d0..3b665d8 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,147 +1,56 @@ -

Mail Signature

-

1. Enter your details

-

- Email: @iteam.se
- Name:
- Office: -
- Phone:
- Title:
-

- -

2. Copy your signature to your mail client

- - - - - - - - - -
- Iteam - - - - - - -
- - {name} - - - / {title} - - -
- - {email.toLowerCase()}@iteam.se - - - / {phone} - -

- - - Iteam - -
- - {officeAddress} - -
- - www.iteam.se - -
- - Psst, du vet väl att vi finns i {otherOffice} också? - -
-
- - -
- - +
+

Mail Signature

+

1. Enter your details

+ + + + +
+ + + + +
+ + + + +
+ + + + +
+ +

2. Copy your signature to your mail client

+ +
+ + + + + +
+ Iteam Logo + +

{name}

+

{title}

+

+ {phone} +

+

+ {email} +

+

+ www.iteam.se +

+
+
+
\ No newline at end of file From ef1d451c7cea01b061ef793695f87bfc7d3e8ca1 Mon Sep 17 00:00:00 2001 From: HRN Date: Fri, 30 Aug 2024 10:40:08 +0200 Subject: [PATCH 2/6] fixed errors --- src/routes/+page.svelte | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 3b665d8..caa1fc2 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -10,29 +10,29 @@

1. Enter your details

- - + +
- - + +
- - + +
- - + +

2. Copy your signature to your mail client

- +
Iteam Logo From d5f4d682ae10a04fcbdf09590c9a1a2cd66da3e6 Mon Sep 17 00:00:00 2001 From: HRN Date: Fri, 30 Aug 2024 10:48:35 +0200 Subject: [PATCH 3/6] prettier --- src/routes/+page.svelte | 99 ++++++++++++++++++++++------------------- 1 file changed, 53 insertions(+), 46 deletions(-) diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index caa1fc2..690284a 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,56 +1,63 @@
-

Mail Signature

-

1. Enter your details

+

Mail Signature

+

1. Enter your details

- - - -
+ + + +
- - - -
+ + + +
- - - -
+ + + +
- - - -
+ + + +
-

2. Copy your signature to your mail client

+

2. Copy your signature to your mail client

-
- - - - - -
- Iteam Logo - -

{name}

-

{title}

-

- {phone} -

-

- {email} -

-

- www.iteam.se -

-
-
-
\ No newline at end of file +
+ + + + + +
+ Iteam Logo + +

{name}

+

{title}

+

+ {phone} +

+

+ {email} +

+

+ www.iteam.se +

+
+
+ From d8ca380edf6a1d50bd8249cd165a6f5c497f25b1 Mon Sep 17 00:00:00 2001 From: HRN Date: Fri, 30 Aug 2024 10:52:17 +0200 Subject: [PATCH 4/6] removed office tests --- tests/test.ts | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/tests/test.ts b/tests/test.ts index ec106d9..bddc928 100644 --- a/tests/test.ts +++ b/tests/test.ts @@ -9,17 +9,3 @@ test('index page has expected h2', async ({ page }) => { await page.goto('/'); expect(await page.textContent('h2')).toBe('1. Enter your details'); }); - -test('office', async ({ page }) => { - await page.goto('/'); - - await page.selectOption('[aria-label="office"]', 'Göteborg'); - expect(await page.textContent('#other-office-memo')).toContain( - 'Psst, du vet väl att vi finns i Stockholm också?' - ); - - await page.selectOption('[aria-label="office"]', 'Stockholm'); - expect(await page.textContent('#other-office-memo')).toContain( - 'Psst, du vet väl att vi finns i Göteborg också?' - ); -}); From 94c0b559d540dea6a2cdbf6ea2bcccdd19097df8 Mon Sep 17 00:00:00 2001 From: HRN Date: Fri, 30 Aug 2024 10:57:47 +0200 Subject: [PATCH 5/6] add prerenter constant back --- src/routes/+page.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index 690284a..0433172 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,4 +1,5 @@