From 5afbfc74e90172ee3f62c7c12da935134801c04c Mon Sep 17 00:00:00 2001 From: Philip Colmer Date: Fri, 7 Aug 2026 07:03:53 +0100 Subject: [PATCH 1/2] COR-111 changes --- src/pages/working-groups/index.astro | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/src/pages/working-groups/index.astro b/src/pages/working-groups/index.astro index 2c6b19b..1d3f157 100644 --- a/src/pages/working-groups/index.astro +++ b/src/pages/working-groups/index.astro @@ -33,6 +33,7 @@ const data = [ description: 'Targeting application layer support for Windows. From tooling to enablement and optimization of libraries on the Windows platform', googlegroupname: 'windows-on-arm', + githubUrl: 'https://github.com/CoreCollective-dev/windows-on-arm-wg', }, { title: 'Android', @@ -94,8 +95,10 @@ const data = [ > { data.map((item, index) => { - const targetUrl = item.archiveUrl || (item.googlegroupname ? `https://groups.google.com/u/0/a/corecollective.dev/g/${item.googlegroupname}` : null); - const linkText = item.archiveUrl ? 'Learn More' : 'List Archive'; + const archiveUrl = item.archiveUrl || (item.googlegroupname ? `https://groups.google.com/u/0/a/corecollective.dev/g/${item.googlegroupname}` : null); + const archiveText = item.archiveUrl ? 'Learn More' : 'List Archive'; + // The title links to the GitHub URL when provided, otherwise to the archive/group. + const titleUrl = item.githubUrl || archiveUrl; return (
  • @@ -111,8 +114,8 @@ const data = [

    - {targetUrl ? ( - + {titleUrl ? ( + {item.title} ) : ( @@ -126,10 +129,18 @@ const data = [ {item.description}

    - {targetUrl && ( + {item.githubUrl && (

    - - {linkText} + + Learn More + +

    + )} + + {archiveUrl && ( +

    + + {archiveText}

    )} From 55fe3cc88265eebb692ef0209630f7950d241840 Mon Sep 17 00:00:00 2001 From: Philip Colmer Date: Fri, 7 Aug 2026 07:13:56 +0100 Subject: [PATCH 2/2] Rearrange learn more / list archive links --- src/pages/working-groups/index.astro | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/src/pages/working-groups/index.astro b/src/pages/working-groups/index.astro index 1d3f157..4ae04b9 100644 --- a/src/pages/working-groups/index.astro +++ b/src/pages/working-groups/index.astro @@ -129,19 +129,18 @@ const data = [ {item.description}

    - {item.githubUrl && ( -

    - - Learn More - -

    - )} - - {archiveUrl && ( -

    - - {archiveText} - + {(item.githubUrl || archiveUrl) && ( +

    + {item.githubUrl && ( + + Learn More + + )} + {archiveUrl && ( + + {archiveText} + + )}

    )}