Skip to content

Commit 7728a96

Browse files
committed
implement latest changes in templates
1 parent 11e74ca commit 7728a96

File tree

5 files changed

+41
-31
lines changed

5 files changed

+41
-31
lines changed

public/content/translations/ro/developers/docs/programming-languages/dot-net/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ Căutaţi şi alte resurse? Accesează [ethereum.org/developers](/developers/).
7878

7979
Pe noi, cei de la Nethereum, ne puteţi găsi pe [Gitter](https://gitter.im/Nethereum/Nethereum), unde toată lumea poate să pună întrebări și să dea răspunsuri, să primească ajutor sau pur și simplu să se relaxeze. Puteţi crea un PR sau ridica o problemă în [Repo-ul GitHub Nethereum](https://github.com/Nethereum) sau puteţi descoperi numeroasele noastre proiecte secundare/de exemplificare. Ne puteţi găsi și pe [Discord](https://discord.gg/jQPrR58FxX)!
8080

81-
La Nethermind, vă invităm să ne contactaţi prin [Gitter](//gitter.im/nethermindeth/nethermind). Pentru PR sau probleme, accesaţi [Repo-ul GitHub Nethermind](https://github.com/NethermindEth/nethermind).
81+
La Nethermind, vă invităm să ne contactaţi prin [Gitter](https://gitter.im/nethermindeth/nethermind). Pentru PR sau probleme, accesaţi [Repo-ul GitHub Nethermind](https://github.com/NethermindEth/nethermind).
8282

8383
## Alte liste agregate {#other-aggregated-lists}
8484

src/layouts/Roadmap.tsx

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
1-
import { Box, Flex, Show, SimpleGrid, Wrap, WrapItem } from "@chakra-ui/react"
1+
import {
2+
Box,
3+
Flex,
4+
Show,
5+
SimpleGrid,
6+
Wrap,
7+
WrapItem,
8+
useToken,
9+
} from "@chakra-ui/react"
210

311
import type { ChildOnlyProp, Lang, TranslationKey } from "@/lib/types"
412
import type { MdPageContent, RoadmapFrontmatter } from "@/lib/interfaces"
@@ -62,6 +70,9 @@ export const RoadmapLayout: React.FC<IProps> = ({
6270
slug,
6371
tocItems,
6472
}) => {
73+
// TODO: Replace with direct token implementation after UI migration is completed
74+
const lgBp = useToken("breakpoints", "lg")
75+
6576
const isRightToLeft = isLangRightToLeft(frontmatter.lang as Lang)
6677

6778
const dropdownLinks: ButtonDropdownList = {
@@ -178,13 +189,13 @@ export const RoadmapLayout: React.FC<IProps> = ({
178189
</Flex>
179190
</HeroContainer>
180191
<Page dir={isRightToLeft ? "rtl" : "ltr"}>
181-
<Show above="lg">
182-
<LeftNavBar
183-
dropdownLinks={dropdownLinks}
184-
maxDepth={frontmatter.sidebarDepth!}
185-
tocItems={tocItems}
186-
/>
187-
</Show>
192+
{/* TODO: Switch to `above="lg"` after completion of Chakra Migration */}
193+
<LeftNavBar
194+
hideBelow={lgBp}
195+
dropdownLinks={dropdownLinks}
196+
maxDepth={frontmatter.sidebarDepth!}
197+
tocItems={tocItems}
198+
/>
188199
<ContentContainer id="content">
189200
{children}
190201
<FeedbackCard />

src/layouts/Staking.tsx

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -291,14 +291,13 @@ export const StakingLayout: React.FC<IProps> = ({
291291
/>
292292
</HeroContainer>
293293
<Page dir={isRightToLeft ? "rtl" : "ltr"}>
294-
{/* // TODO: Switch to `above="lg"` after completion of Chakra Migration */}
295-
<Show above={lgBp}>
296-
<LeftNavBar
297-
dropdownLinks={dropdownLinks}
298-
tocItems={tocItems}
299-
maxDepth={frontmatter.sidebarDepth!}
300-
/>
301-
</Show>
294+
{/* TODO: Switch to `above="lg"` after completion of Chakra Migration */}
295+
<LeftNavBar
296+
hideBelow={lgBp}
297+
dropdownLinks={dropdownLinks}
298+
tocItems={tocItems}
299+
maxDepth={frontmatter.sidebarDepth!}
300+
/>
302301
<ContentContainer id="content">
303302
{children}
304303
<StakingCommunityCallout my={16} />

src/layouts/Upgrade.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -213,13 +213,13 @@ export const UpgradeLayout: React.FC<IProps> = ({
213213
</MoreContent>
214214
</Show>
215215
<Page dir={isRightToLeft ? "rtl" : "ltr"}>
216-
<Show above={lgBreakpoint}>
217-
<LeftNavBar
218-
dropdownLinks={dropdownLinks}
219-
tocItems={tocItems}
220-
maxDepth={frontmatter.sidebarDepth!}
221-
/>
222-
</Show>
216+
{/* TODO: Switch to `above="lg"` after completion of Chakra Migration */}
217+
<LeftNavBar
218+
hideBelow={lgBreakpoint}
219+
dropdownLinks={dropdownLinks}
220+
tocItems={tocItems}
221+
maxDepth={frontmatter.sidebarDepth!}
222+
/>
223223
<ContentContainer id="content">
224224
{children}
225225
<FeedbackCard />

src/layouts/UseCases.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -243,13 +243,13 @@ export const UseCasesLayout: React.FC<IProps> = ({
243243
</Flex>
244244
</Show>
245245
<Page dir={isRightToLeft ? "rtl" : "ltr"}>
246-
<Show above={lgBp}>
247-
<LeftNavBar
248-
dropdownLinks={dropdownLinks}
249-
tocItems={tocItems}
250-
maxDepth={frontmatter.sidebarDepth!}
251-
/>
252-
</Show>
246+
{/* TODO: Switch to `above="lg"` after completion of Chakra Migration */}
247+
<LeftNavBar
248+
hideBelow={lgBp}
249+
dropdownLinks={dropdownLinks}
250+
tocItems={tocItems}
251+
maxDepth={frontmatter.sidebarDepth!}
252+
/>
253253
<ContentContainer id="content">
254254
{children}
255255
<FeedbackCard />

0 commit comments

Comments
 (0)