Skip to content

Commit c95026c

Browse files
committed
New entry to gallery with some updates to css for spacing
1 parent 22356af commit c95026c

File tree

5 files changed

+27
-4
lines changed

5 files changed

+27
-4
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
title: 'Substrate Prediction using Graph Neural Networks '
3+
slug: 'substrate-prediction'
4+
contributors: ['Saad Naseem']
5+
appType: 'Prototype'
6+
repoUrl: ''
7+
liveUrl: ''
8+
primaryImage: '../images/gallery/substrate-prediction-1.png'
9+
otherImages: ['../images/gallery/substrate-prediction-2.png', '../images/gallery/substrate-prediction-3.png']
10+
---
11+
12+
This is a minimal web app prototype built during STRUDEL AI workshop, that lets users input a chemical name or SMILES ID and instantly receive predictions from a pre-trained ML model. Inspired by the CATNIP interface, this tool bridges cheminformatics and machine learning to explore molecular data in a user-friendly and browser based way.
141 KB
Loading
75.2 KB
Loading
135 KB
Loading

src/pages/gallery.tsx

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Link, PageProps, graphql, navigate } from 'gatsby';
22
import React, { useEffect } from 'react';
33
import Seo from '../components/Seo';
44
import { Box, Chip, Grid, Stack, Link as MuiLink, Typography } from '@mui/material';
5-
import EventIcon from '@mui/icons-material/Event';
5+
import CircleIcon from '@mui/icons-material/Circle';
66
import ArrowForwardIcon from '@mui/icons-material/ArrowForward';
77
import { PageHeader } from '../components/PageHeader';
88
import BaseLayout from '../components/layouts/BaseLayout';
@@ -69,7 +69,7 @@ const GalleryPage: React.FC<PageProps<DataProps>> = ({ data }) => {
6969
</Stack>
7070
</PageHeader>
7171
<PageContainer>
72-
<Stack>
72+
<Stack spacing={3}>
7373
{allItems.map((node) => (
7474
<ContentCard key={node.id} variant="outlined" sx={{ padding: 0 }}>
7575
<Grid container spacing={2}>
@@ -81,12 +81,23 @@ const GalleryPage: React.FC<PageProps<DataProps>> = ({ data }) => {
8181
>
8282
{node.frontmatter.title}
8383
</Typography>
84-
<Typography>
84+
<Stack
85+
direction="row"
86+
spacing={1}
87+
sx={{
88+
alignItems: 'center',
89+
}}
90+
>
91+
<Chip label={node.frontmatter.appType} variant="outlined"/>
92+
<CircleIcon sx={{ fontSize: '0.75rem' }} />
93+
<span>Contributed by {node.frontmatter.contributors.join(', ')}</span>
94+
</Stack>
95+
{/* <Typography>
8596
Contributed by {node.frontmatter.contributors.join(', ')}
8697
</Typography>
8798
<Stack direction="row">
8899
<Chip label={node.frontmatter.appType} />
89-
</Stack>
100+
</Stack> */}
90101
<Typography>
91102
{node.excerpt}
92103
</Typography>

0 commit comments

Comments
 (0)