From b28a898804cda0c24a642d216c5d8ccba662d53e Mon Sep 17 00:00:00 2001 From: slugb0t Date: Wed, 26 Feb 2025 12:58:03 -0800 Subject: [PATCH 1/2] feat: :sparkles: org members section --- public/images/curve-line-card.svg | 1 + public/images/rect-card.svg | 1 + src/pages/index.tsx | 214 +++++++++++++++++++++--------- 3 files changed, 151 insertions(+), 65 deletions(-) create mode 100644 public/images/curve-line-card.svg create mode 100644 public/images/rect-card.svg diff --git a/public/images/curve-line-card.svg b/public/images/curve-line-card.svg new file mode 100644 index 0000000..b07a452 --- /dev/null +++ b/public/images/curve-line-card.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/images/rect-card.svg b/public/images/rect-card.svg new file mode 100644 index 0000000..31ea78c --- /dev/null +++ b/public/images/rect-card.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 3eb4dfb..134d2fe 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -5,10 +5,13 @@ import { motion } from 'framer-motion'; import fs from 'fs'; import matter from 'gray-matter'; import Image from 'next/image'; +import Link from 'next/link'; +import { TbArrowNarrowRight } from 'react-icons/tb'; import StatsText from '@/components/content/StatsText'; import Layout from '@/components/layout/Layout'; import ButtonLink from '@/components/links/ButtonLink'; +import UnstyledLink from '@/components/links/UnstyledLink'; import Seo from '@/components/Seo'; import { WidthFramerContainer } from '@/utils/framer'; @@ -100,6 +103,21 @@ const HomePage: React.FC = ({ slug, frontMatter }) => { }, ]; + const MembersLogosList = [ + { + image: + 'https://fairdataihub.org/_next/image?url=%2Fimages%2Fcollaborators%2Fcalmi-logo.png&w=256&q=75', + imageHeight: 'h-16', + href: 'https://calmi2.org/', + caption: 'California Medical Innovations Institute', + }, + { + image: '/images/member-orgs/uw.png', + imageHeight: 'h-14', + href: 'https://www.washington.edu/', + caption: 'University of Washington', + }, + ]; return ( <> Skip to content @@ -110,6 +128,7 @@ const HomePage: React.FC = ({ slug, frontMatter }) => {
+ {/* Hero Section */}
{/* Left Text Section */} @@ -329,71 +348,6 @@ const HomePage: React.FC = ({ slug, frontMatter }) => {
- -
-
- - Retinal Imaging - -
- -
- -

- Exploring Retinal Changes for Brain Health Insights -

- -

- The EyeACT study goes beyond traditional approaches by - exploring how subtle retinal changes can provide a dynamic - view of brain health over time. These insights are shaping - how we detect and understand neurodegenerative conditions. -

- -

- Bridging Retinal and Cognitive Health -

- -

- EyeACT uniquely correlates retinal imaging findings with - cognitive decline, providing a clearer picture of - Alzheimer’s progression and opening avenues for targeted - intervention strategies. -

-
-
-
-
-
- -
= ({ slug, frontMatter }) => {
+ + {/* Members Section */} +
+ + +
+

+ Eye ACT Members +

+ +

+ The following organizations are part of the Eye ACT project +

+ +
+ + Meet our team + + +
+
+ + {/* Organization Logos */} +
+ {MembersLogosList.map((logo, index) => ( + +
+ + + {logo.caption} + +
+
+ ))} +
+
+
+
+ +
+ + +
+
+ + Retinal Imaging + +
+ +
+ +

+ Exploring Retinal Changes for Brain Health Insights +

+ +

+ The EyeACT study goes beyond traditional approaches by + exploring how subtle retinal changes can provide a + dynamic view of brain health over time. These insights + are shaping how we detect and understand + neurodegenerative conditions. +

+ +

+ Bridging Retinal and Cognitive Health +

+ +

+ EyeACT uniquely correlates retinal imaging findings with + cognitive decline, providing a clearer picture of + Alzheimer’s progression and opening avenues for targeted + intervention strategies. +

+
+
+
+
+
+
From 7817cc67d315e03cb047330e3a5a5b658e2b022c Mon Sep 17 00:00:00 2001 From: slugb0t Date: Wed, 26 Feb 2025 13:02:40 -0800 Subject: [PATCH 2/2] fix: :bug: correct spacing between hero and first section --- src/pages/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 134d2fe..3a4f698 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -129,7 +129,7 @@ const HomePage: React.FC = ({ slug, frontMatter }) => { {/* Hero Section */} -
+
{/* Left Text Section */}
@@ -180,7 +180,7 @@ const HomePage: React.FC = ({ slug, frontMatter }) => {
-
+