-
Notifications
You must be signed in to change notification settings - Fork 2
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 #47 from strudel-science/update/code-content
Update code library pages
- Loading branch information
Showing
5 changed files
with
43 additions
and
13 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.
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,18 @@ | ||
--- | ||
id: 'code-library-overview' | ||
title: 'STRUDEL Kit' | ||
subtitle: 'Code templates for scientific task flow UIs' | ||
--- | ||
import { Hero } from '/src/components/Hero'; | ||
import { PageContainer } from '/src/components/PageContainer'; | ||
|
||
<Hero> | ||
STRUDEL Kit is a React-based JavaScript library for building scientific UIs based on the STRUDEL Design System and Task Flows. The library provides scaffolding and templates to help scientific teams jumpstart the development of task flows. | ||
</Hero> | ||
<PageContainer> | ||
## Getting Started with STRUDEL Kit | ||
|
||
[Checkout the project on GitHub](https://github.com/strudel-science/strudel-kit). | ||
|
||
More details coming soon! | ||
</PageContainer> |
4 changes: 2 additions & 2 deletions
4
...n-system/code-library/react-templates.mdx → .../design-system/code-library/tutorials.mdx
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,17 @@ | ||
import { navigate } from 'gatsby'; | ||
import React, { useEffect } from 'react'; | ||
import Seo from '../../components/Seo'; | ||
|
||
/** | ||
* Redirect to /design-system/code-library/overview because there is no top-level /design-system/code-library page | ||
*/ | ||
const CodeLibraryPage: React.FC = () => { | ||
useEffect(() => { | ||
navigate('/design-system/code-library/overview'); | ||
}, []); | ||
return null; | ||
}; | ||
|
||
export const Head = () => <Seo title="Code Library" /> | ||
|
||
export default CodeLibraryPage |