Skip to content
This repository was archived by the owner on Aug 6, 2024. It is now read-only.

Commit 96b5765

Browse files
authored
Merge pull request #72 from hifis-net/71-update_spotlight
Adds latest Spotlight to frontpage
2 parents 804a844 + f9ca57e commit 96b5765

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed
1.02 MB
Loading

docker-compose.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,9 +221,7 @@ services:
221221
- auth
222222
volumes:
223223
- ./frontend:/app
224-
# - ./deployment/hmz/styles:/app/public/styles
225-
# - ./deployment/hmz/data:/app/public/data
226-
# - ./deployment/hmz/images:/app/public/images
224+
- ./deployment/helmholtz:/app/public
227225
networks:
228226
- net
229227
deploy:

frontend/components/home/helmholtz/index.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@ const RESEARCH_FIELDS = [
4848
]
4949

5050
const SPOTLIGHTS= [
51+
{
52+
name: 'CrystFEL',
53+
description: 'CrystFEL is a suite of programs to process data from "serial crystallography" experiments.',
54+
image: '/images/crystfel.png',
55+
link: '/software/crystfel'
56+
},
5157
{
5258
name: 'MassBank',
5359
description: 'MassBank is an open source mass spectral library for the identification of small chemical molecules of metabolomics, exposomics and environmental relevance.',
@@ -101,7 +107,7 @@ function LatestSpotlight({name, description, image, link}:
101107
alt={name}
102108
layout="fill"
103109
objectFit='cover'
104-
objectPosition='top left'
110+
objectPosition='50% 50%'
105111
className="group-hover:scale-105 transition duration-100"
106112
src={image}
107113
/>

0 commit comments

Comments
 (0)