From ae4ef725ec51fb871ccb87375ff7befa1e67b37d Mon Sep 17 00:00:00 2001 From: Theo Sanderson Date: Wed, 22 May 2024 14:47:54 +0100 Subject: [PATCH 1/6] move more into welcome message --- website/src/components/IndexPage/WelcomeMessage.astro | 3 +++ website/src/pages/index.astro | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/website/src/components/IndexPage/WelcomeMessage.astro b/website/src/components/IndexPage/WelcomeMessage.astro index d49b7aef7c..1b75971f45 100644 --- a/website/src/components/IndexPage/WelcomeMessage.astro +++ b/website/src/components/IndexPage/WelcomeMessage.astro @@ -5,3 +5,6 @@ const websiteName = Astro.props.websiteName;

Welcome to {websiteName}, a system for sharing pathogen genome data.

+ + +

Explore {websiteName} data!

\ No newline at end of file diff --git a/website/src/pages/index.astro b/website/src/pages/index.astro index d8b387a26f..9ec39fc9ec 100644 --- a/website/src/pages/index.astro +++ b/website/src/pages/index.astro @@ -24,7 +24,7 @@ const organismStatisticsMap = await getOrganismStatisticsMap(
{ - getConfiguredOrganisms().map(({ key, displayName, image }) => ( + getConfiguredOrganisms().slice(0,3).map(({ key, displayName, image }) => ( Date: Wed, 22 May 2024 14:48:17 +0100 Subject: [PATCH 2/6] update --- website/src/pages/index.astro | 2 -- 1 file changed, 2 deletions(-) diff --git a/website/src/pages/index.astro b/website/src/pages/index.astro index 9ec39fc9ec..3137907dec 100644 --- a/website/src/pages/index.astro +++ b/website/src/pages/index.astro @@ -20,8 +20,6 @@ const organismStatisticsMap = await getOrganismStatisticsMap(
-

Explore {websiteName} data!

-
{ getConfiguredOrganisms().slice(0,3).map(({ key, displayName, image }) => ( From 8ffd22a4bcf57f6e65daaad8edc413e06a0778c8 Mon Sep 17 00:00:00 2001 From: Theo Sanderson Date: Wed, 22 May 2024 14:48:55 +0100 Subject: [PATCH 3/6] up --- website/src/pages/index.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/pages/index.astro b/website/src/pages/index.astro index 3137907dec..d05fde94a1 100644 --- a/website/src/pages/index.astro +++ b/website/src/pages/index.astro @@ -22,7 +22,7 @@ const organismStatisticsMap = await getOrganismStatisticsMap(
{ - getConfiguredOrganisms().slice(0,3).map(({ key, displayName, image }) => ( + getConfiguredOrganisms().map(({ key, displayName, image }) => ( Date: Wed, 22 May 2024 13:55:05 +0000 Subject: [PATCH 4/6] Automated code formatting --- website/src/components/IndexPage/WelcomeMessage.astro | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/website/src/components/IndexPage/WelcomeMessage.astro b/website/src/components/IndexPage/WelcomeMessage.astro index 1b75971f45..7663d5a4bf 100644 --- a/website/src/components/IndexPage/WelcomeMessage.astro +++ b/website/src/components/IndexPage/WelcomeMessage.astro @@ -6,5 +6,4 @@ const websiteName = Astro.props.websiteName; Welcome to {websiteName}, a system for sharing pathogen genome data.

- -

Explore {websiteName} data!

\ No newline at end of file +

Explore {websiteName} data!

From e419ea563e3ce16602c68579662c94018bf0c78a Mon Sep 17 00:00:00 2001 From: Theo Sanderson Date: Wed, 22 May 2024 14:59:46 +0100 Subject: [PATCH 5/6] make text darker for consistency with pathoplexus below --- website/src/components/IndexPage/OrganismCard.astro | 4 ++-- website/src/components/IndexPage/WelcomeMessage.astro | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/website/src/components/IndexPage/OrganismCard.astro b/website/src/components/IndexPage/OrganismCard.astro index 850555d108..e27a11c0c4 100644 --- a/website/src/components/IndexPage/OrganismCard.astro +++ b/website/src/components/IndexPage/OrganismCard.astro @@ -18,8 +18,8 @@ const { key, image, displayName, organismStatistics, numberDaysAgoStatistics } = class='block rounded border border-gray-300 p-4 m-2 w-64 text-center hover:bg-gray-100' > {image !== undefined && {displayName}} -

{displayName}

-

+

{displayName}

+

{organismStatistics.totalSequences} sequences
(+{organismStatistics.recentSequences} in last {numberDaysAgoStatistics} days)
{organismStatistics.lastUpdatedAt && <>Last updated {organismStatistics.lastUpdatedAt.toRelative()}} diff --git a/website/src/components/IndexPage/WelcomeMessage.astro b/website/src/components/IndexPage/WelcomeMessage.astro index 7663d5a4bf..ddd35dada5 100644 --- a/website/src/components/IndexPage/WelcomeMessage.astro +++ b/website/src/components/IndexPage/WelcomeMessage.astro @@ -2,8 +2,8 @@ const websiteName = Astro.props.websiteName; --- -

+

Welcome to {websiteName}, a system for sharing pathogen genome data.

-

Explore {websiteName} data!

+

Explore {websiteName} data!

From cbee7743e4d697f26c184cf43ce92d02fa8d810c Mon Sep 17 00:00:00 2001 From: Loculus bot Date: Wed, 22 May 2024 14:02:14 +0000 Subject: [PATCH 6/6] Automated code formatting --- website/src/components/IndexPage/OrganismCard.astro | 2 +- website/src/components/IndexPage/WelcomeMessage.astro | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/website/src/components/IndexPage/OrganismCard.astro b/website/src/components/IndexPage/OrganismCard.astro index e27a11c0c4..ec87a71864 100644 --- a/website/src/components/IndexPage/OrganismCard.astro +++ b/website/src/components/IndexPage/OrganismCard.astro @@ -19,7 +19,7 @@ const { key, image, displayName, organismStatistics, numberDaysAgoStatistics } = > {image !== undefined && {displayName}}

{displayName}

-

+

{organismStatistics.totalSequences} sequences
(+{organismStatistics.recentSequences} in last {numberDaysAgoStatistics} days)
{organismStatistics.lastUpdatedAt && <>Last updated {organismStatistics.lastUpdatedAt.toRelative()}} diff --git a/website/src/components/IndexPage/WelcomeMessage.astro b/website/src/components/IndexPage/WelcomeMessage.astro index ddd35dada5..db42efd84b 100644 --- a/website/src/components/IndexPage/WelcomeMessage.astro +++ b/website/src/components/IndexPage/WelcomeMessage.astro @@ -2,7 +2,7 @@ const websiteName = Astro.props.websiteName; --- -

+

Welcome to {websiteName}, a system for sharing pathogen genome data.