1
0
Fork 0
freesewing/sites/dev/components/help-us.mjs
2023-01-29 17:36:15 +01:00

18 lines
584 B
JavaScript

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>
)