-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #282 from JaneliaSciComp/add-proposal-page
feat: add proposal page
- Loading branch information
Showing
22 changed files
with
215 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,15 @@ | ||
--- | ||
const { text, url } = Astro.props; | ||
import { twMerge } from "tailwind-merge"; | ||
const { text, url, textClasses } = Astro.props; | ||
--- | ||
|
||
<a | ||
class="underline transition ease-in duration-200 hover:text-primary dark:text-slate-300 dark:hover:text-accent cursor-pointer" | ||
class={twMerge( | ||
"underline transition ease-in duration-200 hover:text-primary dark:text-slate-300 dark:hover:text-accent cursor-pointer", | ||
textClasses | ||
)} | ||
href={url} | ||
target="_blank" | ||
> | ||
{text} | ||
</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
--- | ||
import { getEntries } from "astro:content"; | ||
import Link from "./Link.astro"; | ||
import { TbFileTypePdf } from "react-icons/tb"; | ||
const { proposal } = Astro.props; | ||
const relatedProjects = await getEntries(proposal.data.projects); | ||
--- | ||
|
||
<li | ||
class={`max-w-3xl mx-auto md:max-w-none flex flex-col md:grid gap-6 md:gap-8 dark:bg-slate-900`} | ||
> | ||
<div class="py-4"> | ||
<div | ||
class="text-lg md:text-xl font-bold leading-tight mb-2 font-heading dark:text-slate-300" | ||
> | ||
<a | ||
class="flex gap-2 items-center hover:text-primary dark:hover:text-primary transition ease-in duration-200" | ||
href={proposal.data["OSSI proposal link"]} | ||
target="_blank" | ||
> | ||
<TbFileTypePdf className="min-w-6 h-auto" /> | ||
{proposal.data.title} | ||
</a> | ||
</div> | ||
|
||
<p | ||
class="text-base md:text-lg flex-grow text-muted mb-2 dark:text-slate-400" | ||
> | ||
{proposal.data.authors} | ||
</p> | ||
<div class="flex items-center flex-wrap mb-2 gap-x-3"> | ||
<p class="text-base font-semibold">Funded projects:</p> | ||
{ | ||
relatedProjects.map((project) => { | ||
if (project) { | ||
const slug = project.slug; | ||
const title = project.data.title; | ||
return <Link url={`/projects/${slug}`} text={title} />; | ||
} | ||
}) | ||
} | ||
</div> | ||
</div> | ||
</li> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,21 @@ | ||
--- | ||
const { title = await Astro.slots.render('default'), subtitle = await Astro.slots.render('subtitle') } = Astro.props; | ||
const { | ||
title = await Astro.slots.render("default"), | ||
subtitle = await Astro.slots.render("subtitle"), | ||
} = Astro.props; | ||
--- | ||
|
||
<header class="mb-8 md:mb-16 text-center max-w-3xl mx-auto"> | ||
<h1 class="text-4xl md:text-5xl font-bold leading-tighter tracking-tighter font-heading" set:html={title} /> | ||
<header class="mb-4 md:mb-8 text-center max-w-3xl mx-auto"> | ||
<h1 | ||
class="text-4xl md:text-5xl font-bold leading-tighter tracking-tighter font-heading" | ||
set:html={title} | ||
/> | ||
{ | ||
subtitle && ( | ||
<div class="mt-2 md:mt-3 mx-auto text-xl text-gray-500 dark:text-slate-400 font-medium" set:html={subtitle} /> | ||
<div | ||
class="mt-2 md:mt-3 mx-auto text-xl text-gray-500 dark:text-slate-400 font-medium" | ||
set:html={subtitle} | ||
/> | ||
) | ||
} | ||
</header> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
src/content/proposals/an-open-source-platform-for-single-molecule-localization.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
OSSI proposal link: ../../proposals/single_molecule_localization.pdf | ||
title: An open-source platform for single-molecule localization | ||
authors: Srini Turaga, Jakob Macke, Jonas Ries | ||
projects: [an-open-source-platform-for-single-molecule-localization] | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
OSSI proposal link: ../../proposals/bigwarp.pdf | ||
title: WarpSpeed to accessible registration | ||
authors: John Bogovic, Larissa Heinrich, and Stephan Saalfeld | ||
projects: [bigwarp] | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
OSSI proposal link: ../../proposals/catena.pdf | ||
title: Maintenance and enhancement of Funke lab's automated reconstruction pipeline for volumetric Electron Microscopy | ||
authors: Samia Mohinta, Albert Cardona | ||
projects: [catena] | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
OSSI proposal link: ../../proposals/easifish_pipeline.pdf | ||
title: EASI-FISH pipeline | ||
authors: MultiFISH Project Team | ||
projects: [easi-fish-pipeline] | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
OSSI proposal link: ../../proposals/hortacloud.pdf | ||
title: janeliaHortaCloud | ||
authors: MouseLight Project Team | ||
projects: [hortacloud] | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
OSSI proposal link: ../../proposals/jvm_tool_deployment.pdf | ||
title: User friendly deployment of JVM based tools | ||
authors: Caleb Hulbert, John Bogovic and Stephan Saalfeld | ||
projects: [java-packaging-tool-chain] | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
OSSI proposal link: ../../proposals/kilosort.pdf | ||
title: Kilosort | ||
authors: Marius Pachitariu | ||
projects: [kilosort] | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
OSSI proposal link: ../../proposals/neuvid.pdf | ||
title: Cell videos from high-level descriptions | ||
authors: Philip Hubbard | ||
projects: [neuvid] | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
OSSI proposal link: ../../proposals/ossi_website.pdf | ||
title: Open Science Software Portfolio | ||
authors: Tiago Ferreira and Konrad Rokicki | ||
projects: [ossi-website] | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
OSSI proposal link: ../../proposals/paintera.pdf | ||
title: Paintera | ||
authors: Caleb Hulbert, John Bogovic and Stephan Saalfeld | ||
projects: [paintera] | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
OSSI proposal link: ../../proposals/petascale_lightsheet.pdf | ||
title: Peta-scale lightsheet microscopy reconstruction and maintenance of existing software | ||
authors: Stephan Preibisch, Stephan Saalfeld | ||
projects: [bigstitcher-spark, bigstitcher, stitching-spark] | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
OSSI proposal link: ../../proposals/spatial_transcriptomics_tools.pdf | ||
title: Tools for spatial transcriptomics | ||
authors: Marwan Zouinkhi, Stephan Preibisch | ||
projects: [rs-fish, stim] | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
OSSI proposal link: ../../proposals/suite2p_and_cellpose.pdf | ||
title: Suite2p and Cellpose | ||
authors: Carsen Stringer | ||
projects: [cellpose, suite2p] | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
OSSI proposal link: ../../proposals/video_annotation_library.pdf | ||
title: An adaptable and extensible library for annotation of video | ||
authors: Kristin Branson, Mayank Kabra, Iljung Kwak | ||
projects: [video-annotation-library] | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
OSSI proposal link: ../../proposals/vvdviewer.pdf | ||
title: VVD Viewer | ||
authors: Takashi Kawase, Hideo Otsuna, Stephan Preibisch, Konrad Rokicki | ||
projects: [vvd-viewer] | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
import { getCollection } from "astro:content"; | ||
import BaseLayout from "../../layouts/BaseLayout.astro"; | ||
import Headline from "../../components//blog/BlogHeadline.astro"; | ||
import ProposalListItem from "../../components/ProposalListItem.astro"; | ||
const proposals = await getCollection("proposals"); | ||
--- | ||
|
||
<BaseLayout> | ||
<section class="px-6 pt-28 mx-auto max-w-4xl"> | ||
<Headline subtitle="View proposals for past and current OSSI projects."> | ||
OSSI Proposals | ||
</Headline> | ||
<ul> | ||
{ | ||
proposals.map((proposal) => { | ||
return <ProposalListItem proposal={proposal} />; | ||
}) | ||
} | ||
</ul> | ||
</section> | ||
</BaseLayout> |