Add functionality to add note to the roadmaps
This commit is contained in:
1 parent
6187b1dc52
commit
f5e980d8ec
10 files changed
+72
-20
No files matched your search
@@ -0,0 +1,19 @@
|
||||
---
|
||||
import { Debug } from 'astro/components';
|
||||
import { markdownToHtml } from '../lib/markdown';
|
||||
|
||||
export interface Props {
|
||||
text: string;
|
||||
}
|
||||
|
||||
const { text } = Astro.props;
|
||||
---
|
||||
|
||||
<div class='bg-gray-50'>
|
||||
<div class='container pt-1'>
|
||||
<p
|
||||
class='text-sm bg-yellow-100 text-yellow-900 p-2 rounded-md mt-2 sm:mt-5 mb-0 sm:-mb-6 z-10 relative [&>a]:underline'
|
||||
set:html={markdownToHtml(text.trim())}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
Reference in new issue
Block a user