Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Describing the UI #62

Merged
merged 11 commits into from
Jun 21, 2023
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