feat(dev): Ported dev site to named exports
This commit is contained in:
parent
595417a23b
commit
db789180b6
22 changed files with 287 additions and 315 deletions
18
sites/dev/components/help-us.mjs
Normal file
18
sites/dev/components/help-us.mjs
Normal file
|
@ -0,0 +1,18 @@
|
|||
import { Popout } from 'shared/components/popout.mjs'
|
||||
|
||||
export const HelpUs = ({ slug = '/' }) => (
|
||||
<details className="mt-4">
|
||||
<summary>Click here to learn how you can help us improve this page</summary>
|
||||
<Popout tip className="max-w-prose">
|
||||
<h6>Found a mistake?</h6>
|
||||
You can{' '}
|
||||
<a
|
||||
href={`https://github.com/freesewing/freesewing/edit/develop/markdown/dev/${slug}/en.md`}
|
||||
className="text-secondary font-bold"
|
||||
>
|
||||
edit this page on Github
|
||||
</a>{' '}
|
||||
and help us improve our documentation.
|
||||
</Popout>
|
||||
</details>
|
||||
)
|
Loading…
Add table
Add a link
Reference in a new issue