Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NickAkhmetov/CAT-1072 Add news items to homepage changes list #3665

Merged
merged 1 commit into from
Jan 13, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG-homepage-updates.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Updated homepage news items.
35 changes: 34 additions & 1 deletion context/app/static/js/components/home/Hero/const.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import React from 'react';
import { entityIconMap } from 'js/shared-styles/icons/entityIconMap';
import { SearchIcon, DonorIcon } from 'js/shared-styles/icons';
import { SearchIcon, DonorIcon, DownloadIcon } from 'js/shared-styles/icons';
import { TimelineData } from 'js/shared-styles/Timeline/types';
import ContactUsLink from 'js/shared-styles/Links/ContactUsLink';
import OutboundIconLink from 'js/shared-styles/Links/iconLinks/OutboundIconLink';
import ExternalImageIcon from 'js/shared-styles/icons/ExternalImageIcon';
import { buildSearchLink } from 'js/components/search/store';
import { InternalLink } from 'js/shared-styles/Links';

const timelineIconProps = {
fontSize: '1.5rem',
Expand All @@ -14,6 +15,38 @@ const timelineIconProps = {
} as const;

export const HOME_TIMELINE_ITEMS: TimelineData[] = [
{
title: 'Bulk Download Files Through HuBMAP CLT',
titleHref: '/search/datasets',
description: (
<>
Bulk downloading files from multiple datasets is now available on dataset search pages and individual dataset
pages. The download produces a manifest file that can be used with the{' '}
<OutboundIconLink href="https://docs.hubmapconsortium.org/clt/index.html">
HuBMAP Command Line Transfer (CLT)
</OutboundIconLink>{' '}
tool.
</>
),
date: 'December 2024',
img: <DownloadIcon {...timelineIconProps} />,
},
{
title: 'New Workspaces templates and examples',
titleHref: '/templates',
description: (
<>
New workspace templates are available:
<InternalLink href="/templates/scalable_cell_populations">
“Scalable Cell Population Explorer”
</InternalLink> and{' '}
<InternalLink href="/templates/scfind">“Index and search single cell data with scfind”</InternalLink>. Explore a
sample workspace for either template.
</>
),
date: 'September 2024',
img: <entityIconMap.Workspace {...timelineIconProps} />,
},
{
title: 'Raw & Processed Unified Datasets Page',
titleHref: '/browse/dataset/8690897fced9931da34d66d669c1d698',
Expand Down
Loading