Skip to content

Commit

Permalink
Merge pull request #62 from nafistiham/describing-the-ui
Browse files Browse the repository at this point in the history
Describing the UI
  • Loading branch information
moshfiqrony authored Jun 21, 2023
2 parents 02d6099 + 0eb0a6e commit 6fafb52
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 50 deletions.
4 changes: 2 additions & 2 deletions src/components/Layout/Page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export function Page({children, toc, routeTree, meta, section}: PageProps) {
<>
<div className="flex flex-col items-center m-4 p-4">
<p className="font-bold text-primary dark:text-primary-dark text-lg mb-4">
How do you like these docs?
এই ডকুমেন্টেশনগুলো আপনার কতটুকু ভাল লাগছে?
</p>
<div>
<ButtonLink
Expand All @@ -162,7 +162,7 @@ export function Page({children, toc, routeTree, meta, section}: PageProps) {
type="primary"
size="md"
target="_blank">
Take our survey!
আমাদের সার্ভেতে অংশগ্রহণ করুন!
<IconNavArrow
displayDirection="right"
className="inline ml-1"
Expand Down
6 changes: 3 additions & 3 deletions src/components/MDX/MDXComponents.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ function LearnMore({
<section className="p-8 mt-16 mb-16 flex flex-row shadow-inner-border dark:shadow-inner-border-dark justify-between items-center bg-card dark:bg-card-dark rounded-2xl">
<div className="flex-col">
<h2 className="text-primary font-display dark:text-primary-dark font-bold text-2xl leading-tight">
Ready to learn this topic?
এই বিষয়ে শিখতে প্রস্তুত তো?
</h2>
{children}
{path ? (
Expand All @@ -122,7 +122,7 @@ function LearnMore({
label="Read More"
href={path}
type="primary">
Read More
আরো পড়ুন
<IconNavArrow displayDirection="right" className="inline ml-1" />
</ButtonLink>
) : null}
Expand Down Expand Up @@ -173,7 +173,7 @@ function YouWillLearn({
children: any;
isChapter?: boolean;
}) {
let title = isChapter ? 'এই অংশে যা রয়েছে' : 'আপনি যা শিখবেন';
let title = isChapter ? 'এই অধ্যায়ে যা রয়েছে' : 'যা যা আপনি শিখবেন';
return <SimpleCallout title={title}>{children}</SimpleCallout>;
}

Expand Down
Loading

0 comments on commit 6fafb52

Please sign in to comment.