Skip to content

Commit

Permalink
feat: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoaerobr committed Dec 17, 2024
1 parent f8eae84 commit ef41a77
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 59 deletions.
1 change: 0 additions & 1 deletion src/pages/announcements/[slug].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ const AnnouncementPage: NextPage<Props> = ({
</Flex>
)}
</Box>
{url && <ShareButton url={url} />}
</Flex>
</header>
<MarkdownRenderer serialized={serialized} />
Expand Down
30 changes: 1 addition & 29 deletions src/pages/faq/[slug].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,35 +101,6 @@ const FaqPage: NextPage<Props> = ({
<Flex sx={styles.innerContainer}>
<Box sx={styles.articleBox}>
<Box sx={styles.contentContainer}>
<article ref={articleRef}>
<header>
<Breadcrumb breadcrumbList={breadcrumbList} />
<Flex sx={styles.flexContainer}>
<Text sx={styles.documentationTitle} className="title">
{serialized.frontmatter?.title}
</Text>
<Flex sx={styles.infoContainer}>
<Text sx={styles.readingTime}>
{intl.formatMessage(
{
id: 'documentation_reading_time.text',
defaultMessage: '',
},
{ minutes: serialized.frontmatter?.readingTime }
)}
</Text>
<CopyLinkButton />
</Flex>
{createdAtDate && updatedAtDate && (
<DateText
createdAt={createdAtDate}
updatedAt={updatedAtDate}
/>
)}
</Flex>
</header>
<MarkdownRenderer serialized={serialized} />
</article>
<Box sx={styles.textContainer}>
<article ref={articleRef}>
<header>
Expand All @@ -149,6 +120,7 @@ const FaqPage: NextPage<Props> = ({
updatedAt={updatedAtDate}
/>
)}
<CopyLinkButton />
</Flex>
</header>
<MarkdownRenderer serialized={serialized} />
Expand Down
30 changes: 1 addition & 29 deletions src/pages/known-issues/[slug].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,35 +104,6 @@ const KnownIssuePage: NextPage<Props> = ({
<Flex sx={styles.innerContainer}>
<Box sx={styles.articleBox}>
<Box sx={styles.contentContainer}>
<article ref={articleRef}>
<header>
<Breadcrumb breadcrumbList={breadcrumbList} />
<Flex sx={styles.flexContainer}>
<Text sx={styles.documentationTitle} className="title">
{serialized.frontmatter?.title}
</Text>
<Flex sx={styles.infoContainer}>
<Text sx={styles.readingTime}>
{intl.formatMessage(
{
id: 'documentation_reading_time.text',
defaultMessage: '',
},
{ minutes: serialized.frontmatter?.readingTime }
)}
</Text>
<CopyLinkButton />
</Flex>
</Flex>
<Box sx={styles.divider}></Box>
<Flex sx={styles.detailedInfo}>
<Flex sx={styles.id}>
<Text>ID: {serialized.frontmatter?.id}</Text>
<Tag>{serialized.frontmatter?.kiStatus}</Tag>
</Flex>
</Flex>
</header>
</article>
<Box sx={styles.textContainer}>
<article ref={articleRef}>
<header>
Expand All @@ -146,6 +117,7 @@ const KnownIssuePage: NextPage<Props> = ({
minutes={serialized.frontmatter.readingTime}
/>
)}
<CopyLinkButton />
</Flex>
<Box sx={styles.divider}></Box>
<Flex sx={styles.detailedInfo}>
Expand Down

0 comments on commit ef41a77

Please sign in to comment.