fix image for markdown

This commit is contained in:
Kalidou Diagne
2024-04-12 11:49:34 +02:00
parent 0066c55b2f
commit c6319308e2
2 changed files with 3 additions and 3 deletions

View File

@@ -11,9 +11,9 @@ const createMarkdownElement = (tag: keyof JSX.IntrinsicElements, props: any) =>
// Styling for HTML attributes for markdown component
const REACT_MARKDOWN_CONFIG: Components = {
img: ({ node, ...props }) =>
img: ({ node, className, ...props }) =>
createMarkdownElement("img", {
className: "py-10 w-full",
className: `${className} py-10`,
...props,
}),
a: ({ node, ...props }) =>

View File

@@ -14,7 +14,7 @@ export const ABOUT_CONTENT = {
HOW_IT_WORKS: {
TITLE: "How it works",
DESCRIPTION: `TLSNotary is a protocol which allows people to export data from any web application and prove facts about it to a third-party in a privacy-preserving way by leveraging secure multi-party computation (MPC) to authenticate data communicated between a Prover and a TLS-enabled web server.
<img src="/images/ts-notaly-diagram.svg" />
<img class="w-full" src="/images/ts-notaly-diagram.svg" />
`,
STEPS: [