-
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 #253 from JaneliaSciComp/fix-broken-images-on-ecos…
…ystem-page-sidebar Fix broken images on ecosystem page sidebar
- Loading branch information
Showing
44 changed files
with
132 additions
and
130 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
This file was deleted.
Oops, something went wrong.
11 changes: 7 additions & 4 deletions
11
src/components/GridItem.astro → src/components/DisplayItem.astro
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,57 @@ | ||
--- | ||
import { getCollection } from "astro:content"; | ||
import Button from "../Button.astro"; | ||
import Item from "../DisplayItem.astro"; | ||
const { | ||
title, | ||
content, | ||
linkText, | ||
linkUrl, | ||
information, | ||
subset, | ||
id, | ||
isDark = false, | ||
classes = {}, | ||
bg = await Astro.slots.render("bg"), | ||
} = Astro.props; | ||
const items = await getCollection(content); | ||
--- | ||
|
||
<section class="max-w-5xl mx-auto px-6"> | ||
<div class="flex flex-col mb-8"> | ||
{ | ||
title && ( | ||
<div class="md:max-w-sm"> | ||
<h2 | ||
class="text-3xl font-bold tracking-tight sm:text-4xl sm:leading-none group font-heading mb-2" | ||
set:html={title} | ||
/> | ||
{linkText && linkUrl && ( | ||
<Button variant="link" href={linkUrl}> | ||
{" "} | ||
{linkText} » | ||
</Button> | ||
)} | ||
</div> | ||
) | ||
} | ||
|
||
{ | ||
information && ( | ||
<p | ||
class="text-muted dark:text-slate-400 lg:text-sm lg:max-w-md" | ||
set:html={information} | ||
/> | ||
) | ||
} | ||
</div> | ||
<div class="-mb-6"> | ||
{ | ||
subset | ||
? subset.map((item) => <Item item={item} content={content} />) | ||
: items.map((item) => <Item item={item} content={content} />) | ||
} | ||
</div> | ||
</section> |
2 changes: 1 addition & 1 deletion
2
...rojects/individual-project/Citation.astro → ...ponents/individual-project/Citation.astro
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
2 changes: 1 addition & 1 deletion
2
...ts/individual-project/ExternalLinks.astro → ...ts/individual-project/ExternalLinks.astro
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
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...ts/projects/individual-project/Readme.jsx → src/components/individual-project/Readme.jsx
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
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
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
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
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
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
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
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
Oops, something went wrong.