Skip to content

Commit

Permalink
update links
Browse files Browse the repository at this point in the history
  • Loading branch information
mfshao committed Feb 4, 2025
1 parent 272e612 commit f8891f7
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 21 deletions.
2 changes: 1 addition & 1 deletion config/heal/home/SlideData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const slideData = [
text: 'View the latest studies who have shared their data!',
},
{
href: 'https://healdata.org',
href: '/portal/resource-browser',
icon: IconAnalyses,
text: 'Explore example analyses!',
},
Expand Down
12 changes: 6 additions & 6 deletions config/heal/home/resourceCalloutData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ export const resourceCalloutsData = [
},
{
title: 'Submit Study-Level Metadata',
href: 'https://healdata.org',
href: '/documentation/slmd_submission',
},
{
title: 'Submit Variable-Level Metadata',
href: 'https://healdata.org',
href: '/documentation/vlmd',
},
{
title: 'Link Data to the HEAL Platform',
Expand All @@ -30,20 +30,20 @@ export const resourceCalloutsData = [
},
{
title: 'Request Access to Workspaces',
href: 'https://healdata.org',
href: '/documentation/workspaces/heal_workspace_registration',
},
{
title: 'Explore Example Analyses',
href: 'https://healdata.org',
href: '/documentation/platform_example_analyses',
},
{
title: 'View answers to FAQs',
href: 'https://healdata.org',
href: '/documentation/faqs',
},
{
title:
'Watch tutorial videos to learn how to interact with the HEAL Platform',
href: 'https://healdata.org',
href: '/documentation/platform_tutorial_videos',
},
],
},
Expand Down
10 changes: 5 additions & 5 deletions src/lib/HealNav/HealFooter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,14 @@ const HealFooter: React.FC = () => {
</div>
<div className="mt-3">
<a
href="https://healdata.org"
href="https://heal.nih.gov/"
className="underline hover:opacity-85"
>
NIH HEAL Initiative
</a>
<span className="hidden md:inline">&nbsp;|&nbsp;</span>
<a
href="https://healdata.org"
href="https://hhs.responsibledisclosure.com/hc/en-us"
className="underline hover:opacity-85 block sm:inline mt-3 sm:mt-0"
>
HHS Responsible Disclosure Form
Expand All @@ -69,7 +69,7 @@ const HealFooter: React.FC = () => {
</a>
</li>
<li>
<a className="hover:underline" href="https://healdata.org/">
<a className="hover:underline" href="/documentation/contact">
Contact Us
</a>
</li>
Expand All @@ -79,12 +79,12 @@ const HealFooter: React.FC = () => {
<div className="mb-3 font-bold">HELP</div>
<ul className="text-sm">
<li>
<a className="hover:underline" href="https://healdata.org/">
<a className="hover:underline" href="/documentation">
Documentation
</a>
</li>
<li>
<a className="hover:underline" href="https://healdata.org/">
<a className="hover:underline" href="/documentation/faqs">
FAQ
</a>
</li>
Expand Down
17 changes: 9 additions & 8 deletions src/lib/HealNav/HealHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,37 +5,38 @@ import workspacesIcon from '../../../public/icons/HealIcons/Icon-Workspaces.svg'
import analysesIconNav from '../../../public/icons/HealIcons/Icon-Analyses-Nav.svg';
import profileIcon from '../../../public/icons/HealIcons/Icon-Profile.svg';
import helpIcon from '../../../public/icons/HealIcons/Icon-Help.svg';
import Link from 'next/link';

const navLinks = [
{
text: 'Discovery',
icon: discoveryIcon,
iconClassNames: 'fill-current',
href: 'https://healdata.org',
href: '/portal',
},
{
text: 'Workspaces',
icon: workspacesIcon,
iconClassNames: 'fill-current',
href: 'https://healdata.org',
href: '/portal/workspace',
},
{
text: 'Example Analyses',
icon: analysesIconNav,
iconClassNames: 'fill-current',
href: 'https://healdata.org',
href: '/portal/resource-browser',
},
{
text: 'Profile',
icon: profileIcon,
iconClassNames: 'fill-current',
href: 'https://healdata.org',
href: '/portal/identity',
},
{
text: 'Help',
icon: helpIcon,
iconClassNames: '',
href: 'https://healdata.org',
href: '/documentation',
},
];

Expand All @@ -54,8 +55,8 @@ const HealHeader: React.FC = () => {
<div className="bg-carousel-gradient h-2"></div>
<div className="container mx-auto px-1 md:px-1 lg:px-6 py-4 text-xs">
<div className="lg:flex justify-between">
<a
href="https://healdata.org"
<Link
href="/"
className="flex hover:underline justify-center mb-5 md:mb-0 lg:justify-normal"
>
<Image
Expand All @@ -66,7 +67,7 @@ const HealHeader: React.FC = () => {
<div className="text-heal-dark_gray font-semibold text-base pl-3 mt-1">
HEAL Data Platform
</div>
</a>
</Link>

<div className="flex flex-wrap justify-center lg:justify-normal mt-4 lg:mt-1">
{navLinks.map((link, i) => (
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Home/Components/Hero/Hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const Hero: React.FC = () => {
is a single web interface which allows visitors to discover,
access, and analyze data generated by HEAL Studies.
</p>
<HealButtonLink href={'#'} label={'Search for HEAL Data'} />
<HealButtonLink href={'/portal'} label={'Search for HEAL Data'} />
</div>
<div className="hidden lg:block lg:w-1/2">
<Image
Expand Down

0 comments on commit f8891f7

Please sign in to comment.