Skip to content

Commit

Permalink
fix image for markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
kalidiagne committed Apr 12, 2024
1 parent 0066c55 commit c631930
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions components/AppMarkdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 }) =>
Expand Down
2 changes: 1 addition & 1 deletion content/about.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand Down

0 comments on commit c631930

Please sign in to comment.