Skip to content

Commit 078ef79

Browse files
Merge pull request #34 from nafistiham/manipulating-the-dom-with-refs
Manipulating the dom with refs
2 parents 91bffe1 + e733131 commit 078ef79

File tree

7 files changed

+103
-103
lines changed

7 files changed

+103
-103
lines changed

src/components/MDX/ExpandableExample.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,13 @@ function ExpandableExample({children, excerpt, type}: ExpandableExampleProps) {
7171
{isDeepDive && (
7272
<>
7373
<IconDeepDive className="inline mr-2 dark:text-purple-30 text-purple-40" />
74-
Deep Dive
74+
গভীরভাবে জানুন
7575
</>
7676
)}
7777
{isExample && (
7878
<>
7979
<IconCodeBlock className="inline mr-2 dark:text-yellow-30 text-yellow-50" />
80-
Example
80+
উদাহরণ
8181
</>
8282
)}
8383
</h5>
@@ -101,7 +101,7 @@ function ExpandableExample({children, excerpt, type}: ExpandableExampleProps) {
101101
<span className="mr-1">
102102
<IconChevron displayDirection={isExpanded ? 'up' : 'down'} />
103103
</span>
104-
{isExpanded ? 'Hide Details' : 'Show Details'}
104+
{isExpanded ? 'সংক্ষেপ করুন' : 'বিস্তারিত দেখান'}
105105
</Button>
106106
</summary>
107107
<div

src/components/MDX/Sandpack/CustomPreset.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ const SandboxShell = memo(function SandboxShell({
119119
className="inline mr-1.5 text-xl"
120120
displayDirection={isExpanded ? 'up' : 'down'}
121121
/>
122-
{isExpanded ? 'কম দেখান' : 'আরো দেখান'}
122+
{isExpanded ? 'সংক্ষেপে দেখান' : 'পুরোটা দেখান'}
123123
</span>
124124
</button>
125125
)}

src/components/MDX/Sandpack/DownloadButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ ${css}
103103
onClick={downloadHTML}
104104
title="Download Sandbox"
105105
type="button">
106-
<IconDownload className="inline mr-1" /> Download
106+
<IconDownload className="inline mr-1" /> ডাউনলোড
107107
</button>
108108
);
109109
}

src/components/MDX/Sandpack/OpenInCodeSandboxButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const OpenInCodeSandboxButton = () => {
1515
width="1em"
1616
height="1em"
1717
/>
18-
<span className="hidden md:block">Fork</span>
18+
<span className="hidden md:block">ফর্ক</span>
1919
</UnstyledOpenInCodeSandboxButton>
2020
);
2121
};

src/components/MDX/Sandpack/ResetButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export function ResetButton({onReset}: ResetButtonProps) {
1515
onClick={onReset}
1616
title="Reset Sandbox"
1717
type="button">
18-
<IconRestart className="inline ml-1 mr-1 relative" /> Reset
18+
<IconRestart className="inline ml-1 mr-1 relative" /> রিসেট
1919
</button>
2020
);
2121
}

src/content/learn/manipulating-the-dom-with-refs.md

Lines changed: 94 additions & 94 deletions
Large diffs are not rendered by default.

src/sidebarLearn.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,11 +161,11 @@
161161
"tags": ["advanced"],
162162
"routes": [
163163
{
164-
"title": "Ref দিয়ে কোন value এর রেফারেন্স দেওয়া",
164+
"title": "Ref এর সাহায্যে ভ্যালু রেফারেন্সিং",
165165
"path": "/learn/referencing-values-with-refs"
166166
},
167167
{
168-
"title": "Manipulating the DOM with Refs",
168+
"title": "Ref ব্যবহার করে DOM ম্যানিপুলেশন",
169169
"path": "/learn/manipulating-the-dom-with-refs"
170170
},
171171
{

0 commit comments

Comments
 (0)