Skip to content

Commit 61ac267

Browse files
merging all conflicts
2 parents 9bcff55 + 50d6991 commit 61ac267

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+572
-150
lines changed

.github/workflows/analyze_comment.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,11 @@ on:
66
types:
77
- completed
88

9-
permissions: {}
10-
9+
permissions:
10+
contents: read
11+
issues: write
12+
pull-requests: write
13+
1114
jobs:
1215
comment:
1316
runs-on: ubuntu-latest
75.6 KB
Binary file not shown.
64.9 KB
Binary file not shown.
Binary file not shown.

src/components/Layout/HomeContent.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -875,7 +875,8 @@ function ExampleLayout({
875875
</div>
876876
<div
877877
ref={contentRef}
878-
className="relative mt-0 lg:-my-20 w-full p-2.5 xs:p-5 lg:p-10 flex grow justify-center">
878+
className="relative mt-0 lg:-my-20 w-full p-2.5 xs:p-5 lg:p-10 flex grow justify-center"
879+
dir="ltr">
879880
{right}
880881
<div
881882
className={cn(
@@ -1187,7 +1188,7 @@ async function Talks({ confId }) {
11871188
</CodeBlock>
11881189
}
11891190
right={
1190-
<NavContext.Provider value={{slug, navigate}}>
1191+
<NavContext value={{slug, navigate}}>
11911192
<BrowserChrome
11921193
domain="example.com"
11931194
path={'confs/' + slug}
@@ -1207,7 +1208,7 @@ async function Talks({ confId }) {
12071208
</Suspense>
12081209
</ExamplePanel>
12091210
</BrowserChrome>
1210-
</NavContext.Provider>
1211+
</NavContext>
12111212
}
12121213
/>
12131214
);

src/components/Layout/Page.tsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,9 @@ export function Page({
8282
'max-w-7xl mx-auto',
8383
section === 'blog' && 'lg:flex lg:flex-col lg:items-center'
8484
)}>
85-
<TocContext.Provider value={toc}>
86-
<LanguagesContext.Provider value={languages}>
87-
{children}
88-
</LanguagesContext.Provider>
89-
</TocContext.Provider>
85+
<TocContext value={toc}>
86+
<LanguagesContext value={languages}>{children}</LanguagesContext>
87+
</TocContext>
9088
</div>
9189
{!isBlogIndex && (
9290
<DocsPageFooter

src/components/Layout/TopNav/TopNav.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,9 @@ export default function TopNav({
266266
<BrandMenu>
267267
<div className="flex items-center">
268268
<div className="uwu-visible flex items-center justify-center h-full">
269-
<NextLink href="/">
269+
<NextLink
270+
href="/"
271+
className="active:scale-95 transition-transform">
270272
<Image
271273
alt="logo by @sawaratsuki1004"
272274
title="logo by @sawaratsuki1004"

src/components/MDX/MDXComponents.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ function IllustrationBlock({
358358
</figure>
359359
));
360360
return (
361-
<IllustrationContext.Provider value={isInBlockTrue}>
361+
<IllustrationContext value={isInBlockTrue}>
362362
<div className="relative group before:absolute before:-inset-y-16 before:inset-x-0 my-16 mx-0 2xl:mx-auto max-w-4xl 2xl:max-w-6xl">
363363
{sequential ? (
364364
<ol className="mdx-illustration-block flex">
@@ -373,7 +373,7 @@ function IllustrationBlock({
373373
)}
374374
<AuthorCredit author={author} authorLink={authorLink} />
375375
</div>
376-
</IllustrationContext.Provider>
376+
</IllustrationContext>
377377
);
378378
}
379379

src/components/MDX/Sandpack/template.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export const template = {
22
'/src/index.js': {
33
hidden: true,
4-
code: `import React, { StrictMode } from "react";
4+
code: `import { StrictMode } from "react";
55
import { createRoot } from "react-dom/client";
66
import "./styles.css";
77

src/components/PageHeading.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ function PageHeading({
2727
tags = [],
2828
breadcrumbs,
2929
}: PageHeadingProps) {
30-
console.log('version', version);
3130
return (
3231
<div className="px-5 sm:px-12 pt-3.5">
3332
<div className="max-w-4xl ms-0 2xl:mx-auto">

0 commit comments

Comments
 (0)