1+ import * as React from "react" ;
12import BrowserOnly from "@docusaurus/BrowserOnly" ;
23import Link from "@docusaurus/Link" ;
34import { MDXProvider } from "@mdx-js/react" ;
@@ -26,7 +27,17 @@ export default function MDXPage(props: ComponentProps<typeof OriginalMDXPage>) {
2627 // return <OriginalMDXPage {...props} />;
2728 // }
2829
29- const { title, image, description, type, tags, author, date, wrapperClassName, communityPortalTopicId } = frontMatter ;
30+ const {
31+ title,
32+ image,
33+ description,
34+ type,
35+ tags,
36+ author,
37+ date,
38+ wrapperClassName,
39+ communityPortalTopicId,
40+ } = frontMatter ;
3041 const url = `https://web3auth.io${ permalink } ` ;
3142 const facebookLink = `https://www.facebook.com/sharer/sharer.php?${ url } ` ;
3243 const twitterLink = `http://twitter.com/share?text=Checkout ${ title } published by @Web3Auth&url=${ url } ` ;
@@ -77,7 +88,13 @@ export default function MDXPage(props: ComponentProps<typeof OriginalMDXPage>) {
7788 < div className = { styles . socialButtonContainer } >
7889 < Link to = { facebookLink } >
7990 < button type = "button" className = { styles . socialButton } >
80- < svg width = "16" height = "16" viewBox = "0 0 16 16" fill = "none" xmlns = "http://www.w3.org/2000/svg" >
91+ < svg
92+ width = "16"
93+ height = "16"
94+ viewBox = "0 0 16 16"
95+ fill = "none"
96+ xmlns = "http://www.w3.org/2000/svg"
97+ >
8198 < g clipPath = "url(#clip0_1_9)" >
8299 < path
83100 d = "M16 8C16 3.58172 12.4183 0 8 0C3.58172 0 0 3.58172 0 8C0 11.993 2.92547 15.3027 6.75 15.9028V10.3125H4.71875V8H6.75V6.2375C6.75 4.2325 7.94438 3.125 9.77172 3.125C10.6467 3.125 11.5625 3.28125 11.5625 3.28125V5.25H10.5538C9.56 5.25 9.25 5.86672 9.25 6.5V8H11.4688L11.1141 10.3125H9.25V15.9028C13.0745 15.3027 16 11.993 16 8Z"
@@ -95,7 +112,13 @@ export default function MDXPage(props: ComponentProps<typeof OriginalMDXPage>) {
95112 </ Link >
96113 < Link to = { twitterLink } >
97114 < button type = "button" className = { styles . socialButton } >
98- < svg width = "16" height = "16" viewBox = "0 0 16 16" fill = "none" xmlns = "http://www.w3.org/2000/svg" >
115+ < svg
116+ width = "16"
117+ height = "16"
118+ viewBox = "0 0 16 16"
119+ fill = "none"
120+ xmlns = "http://www.w3.org/2000/svg"
121+ >
99122 < path
100123 d = "M5.03168 14.5003C11.0694 14.5003 14.3718 9.4981 14.3718 5.16018C14.3718 5.0181 14.3718 4.87666 14.3622 4.73586C15.0047 4.27117 15.5593 3.69579 16 3.03666C15.4009 3.30227 14.7654 3.47637 14.1146 3.55314C14.7999 3.14294 15.3128 2.49767 15.5578 1.73746C14.9134 2.11987 14.2084 2.38935 13.4733 2.53426C12.9783 2.00798 12.3237 1.65949 11.6108 1.54272C10.8978 1.42595 10.1663 1.54741 9.52931 1.8883C8.89234 2.22919 8.38548 2.77051 8.08716 3.4285C7.78884 4.08648 7.71569 4.82444 7.87904 5.52818C6.57393 5.46272 5.29717 5.12354 4.13164 4.53267C2.9661 3.9418 1.93784 3.11244 1.1136 2.09842C0.693819 2.82109 0.565248 3.67658 0.754066 4.49071C0.942885 5.30484 1.43489 6.01639 2.12992 6.4805C1.60749 6.4652 1.09643 6.32426 0.64 6.06962V6.11122C0.640207 6.86912 0.902567 7.60362 1.38258 8.19014C1.86259 8.77665 2.53071 9.17907 3.2736 9.32914C2.79032 9.46097 2.28325 9.48024 1.79136 9.38546C2.00121 10.0377 2.40962 10.608 2.95949 11.0168C3.50937 11.4255 4.17322 11.6522 4.85824 11.6651C4.17763 12.2001 3.39821 12.5957 2.56458 12.8291C1.73096 13.0626 0.859476 13.1294 0 13.0258C1.50122 13.9891 3.24795 14.5001 5.03168 14.4978"
101124 fill = "currentColor"
@@ -105,7 +128,13 @@ export default function MDXPage(props: ComponentProps<typeof OriginalMDXPage>) {
105128 </ button >
106129 </ Link >
107130 < button type = "button" className = { styles . socialButton } onClick = { handleClick } >
108- < svg width = "13" height = "14" viewBox = "0 0 13 14" fill = "none" xmlns = "http://www.w3.org/2000/svg" >
131+ < svg
132+ width = "13"
133+ height = "14"
134+ viewBox = "0 0 13 14"
135+ fill = "none"
136+ xmlns = "http://www.w3.org/2000/svg"
137+ >
109138 < path
110139 fillRule = "evenodd"
111140 clipRule = "evenodd"
@@ -119,7 +148,13 @@ export default function MDXPage(props: ComponentProps<typeof OriginalMDXPage>) {
119148 < BrowserOnly >
120149 { ( ) => (
121150 < Bookmark className = { styles . bookmarkButton } href = { url } title = { title } >
122- < svg width = "16" height = "20" viewBox = "0 0 16 20" fill = "none" xmlns = "http://www.w3.org/2000/svg" >
151+ < svg
152+ width = "16"
153+ height = "20"
154+ viewBox = "0 0 16 20"
155+ fill = "none"
156+ xmlns = "http://www.w3.org/2000/svg"
157+ >
123158 < path
124159 d = "M1.58579 1.58579C1.21071 1.96086 1 2.46957 1 3V19L8 15.5L15 19V3C15 2.46957 14.7893 1.96086 14.4142 1.58579C14.0391 1.21071 13.5304 1 13 1H3C2.46957 1 1.96086 1.21071 1.58579 1.58579Z"
125160 stroke = "currentColor"
@@ -132,7 +167,7 @@ export default function MDXPage(props: ComponentProps<typeof OriginalMDXPage>) {
132167 ) }
133168 </ BrowserOnly >
134169 </ div >
135- { communityPortalTopicId && < DiscourseComment topicId = { communityPortalTopicId } /> }
170+ < DiscourseComment />
136171 </ div >
137172 { MDXPageContent . toc && (
138173 < div className = "col col--3" style = { { paddingRight : "30px" } } >
0 commit comments