cleanup minor details (#5598)

This commit is contained in:
Piotr Monwid-Olechnowicz 2024-09-10 18:35:32 +03:00 committed by GitHub
parent b7c8f34af8
commit 36683ce7d5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 94 additions and 34 deletions

View file

@ -111,7 +111,9 @@
"@oclif/core@3.26.6": "patches/@oclif__core@3.26.6.patch",
"oclif@4.13.6": "patches/oclif@4.13.6.patch",
"@graphiql/react@1.0.0-alpha.3": "patches/@graphiql__react@1.0.0-alpha.3.patch",
"@theguild/components": "patches/@theguild__components.patch"
"@theguild/components": "patches/@theguild__components.patch",
"countup.js": "patches/countup.js.patch",
"nextra-theme-docs": "patches/nextra-theme-docs.patch"
}
}
}

View file

@ -104,7 +104,7 @@ export function CompanyTestimonialsSection({ className }: { className?: string }
>
<Tabs.List
ref={tabsListRef}
className="lg:bg-beige-200 order-1 mt-4 flex flex-row justify-center rounded-2xl lg:order-first lg:my-16"
className="lg:bg-beige-200 z-10 order-1 mt-4 flex flex-row justify-center rounded-2xl lg:order-first lg:my-16"
>
{testimonials.map(testimonial => {
const Logo = testimonial.logo;
@ -122,7 +122,7 @@ export function CompanyTestimonialsSection({ className }: { className?: string }
}
>
<div className="size-2 rounded-full bg-blue-200 transition-colors lg:hidden" />
<Logo title={testimonial.company} height={32} className="hidden lg:block" />
<Logo title={testimonial.company} height={32} className="max-lg:sr-only" />
</Tabs.Trigger>
);
})}

View file

@ -268,6 +268,9 @@ function Feature(props: {
{documentationLink && (
<CallToAction variant="primary" href={documentationLink}>
Learn more
<span className="sr-only">
{/* descriptive text for screen readers and SEO audits */} about {props.title}
</span>
<ArrowIcon />
</CallToAction>
)}

View file

@ -62,9 +62,9 @@ function Plan(props: {
<ul className="mt-8 text-green-800">
{props.features.map((feature, i) =>
feature === PlanFeaturesSeparator ? (
<div key={i} className="py-2 font-medium">
<li key={i} className="py-2 font-medium">
Plus:
</div>
</li>
) : (
<li key={i} className="border-green-200 py-2 [&+&]:border-t">
{feature}

View file

@ -123,7 +123,9 @@ function TeamGallery(props: React.HTMLAttributes<HTMLElement>) {
)}
>
{team.map((member, i) => (
<TeamAvatar key={i} data={member} />
<li key={i}>
<TeamAvatar data={member} />
</li>
))}
</ul>
);

View file

@ -31,3 +31,7 @@
.light .nextra-sidebar-container .nextra-sidebar-footer:is(html[class~='dark'] *) {
border-color: #e5e7eb;
}
._fixed._z-10:has(+ .nextra-sidebar-container) {
@apply md:hidden;
}

28
patches/countup.js.patch Normal file

File diff suppressed because one or more lines are too long

View file

@ -0,0 +1,15 @@
diff --git a/dist/index.js b/dist/index.js
index 788fff4cb15ddd9ea3d19493cc80dd69951caca6..5efca5acdbf794d5e01d1355d7af37103e46a1c2 100644
--- a/dist/index.js
+++ b/dist/index.js
@@ -1500,8 +1500,8 @@ var classes3 = {
function FolderImpl({ item, anchors }) {
const routeOriginal = useFSRoute3();
const [route] = routeOriginal.split("#");
- const active = [route, route + "/"].includes(item.route + "/");
- const activeRouteInside = active || route.startsWith(item.route + "/");
+ const active = item.route && [route, route + "/"].includes(item.route + "/");
+ const activeRouteInside = active || (route !== '/' && item.route !== '') && route.startsWith(item.route + "/");
const focusedRoute = useContext5(FocusedItemContext);
const focusedRouteInside = !!(focusedRoute == null ? void 0 : focusedRoute.startsWith(item.route + "/"));
const level = useContext5(FolderLevelContext);

View file

@ -26,6 +26,9 @@ patchedDependencies:
'@theguild/editor@1.2.5':
hash: pz2nlsfawfhpo6sw62ecmp2yum
path: patches/@theguild__editor@1.2.5.patch
countup.js:
hash: nfqgtlg7dcp6sipx7lntl54mvi
path: patches/countup.js.patch
eslint@8.57.0:
hash: fjbpfrtrjd6idngyeqxnwopfva
path: patches/eslint@8.57.0.patch
@ -35,6 +38,9 @@ patchedDependencies:
mjml-core@4.14.0:
hash: zxxsxbqejjmcwuzpigutzzq6wa
path: patches/mjml-core@4.14.0.patch
nextra-theme-docs:
hash: oobd7laghezthwuxw7xfebpywq
path: patches/nextra-theme-docs.patch
oclif@4.13.6:
hash: fkmkpwec6wqhte6g47j3tlprse
path: patches/oclif@4.13.6.patch
@ -17385,10 +17391,10 @@ snapshots:
dependencies:
'@aws-crypto/sha256-browser': 3.0.0
'@aws-crypto/sha256-js': 3.0.0
'@aws-sdk/client-sso-oidc': 3.596.0
'@aws-sdk/client-sts': 3.596.0(@aws-sdk/client-sso-oidc@3.596.0)
'@aws-sdk/client-sso-oidc': 3.596.0(@aws-sdk/client-sts@3.596.0)
'@aws-sdk/client-sts': 3.596.0
'@aws-sdk/core': 3.592.0
'@aws-sdk/credential-provider-node': 3.596.0(@aws-sdk/client-sso-oidc@3.596.0)(@aws-sdk/client-sts@3.596.0(@aws-sdk/client-sso-oidc@3.596.0))
'@aws-sdk/credential-provider-node': 3.596.0(@aws-sdk/client-sso-oidc@3.596.0(@aws-sdk/client-sts@3.596.0))(@aws-sdk/client-sts@3.596.0)
'@aws-sdk/middleware-host-header': 3.577.0
'@aws-sdk/middleware-logger': 3.577.0
'@aws-sdk/middleware-recursion-detection': 3.577.0
@ -17493,13 +17499,13 @@ snapshots:
transitivePeerDependencies:
- aws-crt
'@aws-sdk/client-sso-oidc@3.596.0':
'@aws-sdk/client-sso-oidc@3.596.0(@aws-sdk/client-sts@3.596.0)':
dependencies:
'@aws-crypto/sha256-browser': 3.0.0
'@aws-crypto/sha256-js': 3.0.0
'@aws-sdk/client-sts': 3.596.0(@aws-sdk/client-sso-oidc@3.596.0)
'@aws-sdk/client-sts': 3.596.0
'@aws-sdk/core': 3.592.0
'@aws-sdk/credential-provider-node': 3.596.0(@aws-sdk/client-sso-oidc@3.596.0)(@aws-sdk/client-sts@3.596.0(@aws-sdk/client-sso-oidc@3.596.0))
'@aws-sdk/credential-provider-node': 3.596.0(@aws-sdk/client-sso-oidc@3.596.0(@aws-sdk/client-sts@3.596.0))(@aws-sdk/client-sts@3.596.0)
'@aws-sdk/middleware-host-header': 3.577.0
'@aws-sdk/middleware-logger': 3.577.0
'@aws-sdk/middleware-recursion-detection': 3.577.0
@ -17536,6 +17542,7 @@ snapshots:
'@smithy/util-utf8': 3.0.0
tslib: 2.7.0
transitivePeerDependencies:
- '@aws-sdk/client-sts'
- aws-crt
'@aws-sdk/client-sso-oidc@3.637.0(@aws-sdk/client-sts@3.637.0)':
@ -17669,13 +17676,13 @@ snapshots:
transitivePeerDependencies:
- aws-crt
'@aws-sdk/client-sts@3.596.0(@aws-sdk/client-sso-oidc@3.596.0)':
'@aws-sdk/client-sts@3.596.0':
dependencies:
'@aws-crypto/sha256-browser': 3.0.0
'@aws-crypto/sha256-js': 3.0.0
'@aws-sdk/client-sso-oidc': 3.596.0
'@aws-sdk/client-sso-oidc': 3.596.0(@aws-sdk/client-sts@3.596.0)
'@aws-sdk/core': 3.592.0
'@aws-sdk/credential-provider-node': 3.596.0(@aws-sdk/client-sso-oidc@3.596.0)(@aws-sdk/client-sts@3.596.0(@aws-sdk/client-sso-oidc@3.596.0))
'@aws-sdk/credential-provider-node': 3.596.0(@aws-sdk/client-sso-oidc@3.596.0(@aws-sdk/client-sts@3.596.0))(@aws-sdk/client-sts@3.596.0)
'@aws-sdk/middleware-host-header': 3.577.0
'@aws-sdk/middleware-logger': 3.577.0
'@aws-sdk/middleware-recursion-detection': 3.577.0
@ -17712,7 +17719,6 @@ snapshots:
'@smithy/util-utf8': 3.0.0
tslib: 2.7.0
transitivePeerDependencies:
- '@aws-sdk/client-sso-oidc'
- aws-crt
'@aws-sdk/client-sts@3.637.0':
@ -17821,14 +17827,14 @@ snapshots:
'@smithy/util-stream': 3.1.3
tslib: 2.7.0
'@aws-sdk/credential-provider-ini@3.596.0(@aws-sdk/client-sso-oidc@3.596.0)(@aws-sdk/client-sts@3.596.0(@aws-sdk/client-sso-oidc@3.596.0))':
'@aws-sdk/credential-provider-ini@3.596.0(@aws-sdk/client-sso-oidc@3.596.0(@aws-sdk/client-sts@3.596.0))(@aws-sdk/client-sts@3.596.0)':
dependencies:
'@aws-sdk/client-sts': 3.596.0(@aws-sdk/client-sso-oidc@3.596.0)
'@aws-sdk/client-sts': 3.596.0
'@aws-sdk/credential-provider-env': 3.587.0
'@aws-sdk/credential-provider-http': 3.596.0
'@aws-sdk/credential-provider-process': 3.587.0
'@aws-sdk/credential-provider-sso': 3.592.0(@aws-sdk/client-sso-oidc@3.596.0)
'@aws-sdk/credential-provider-web-identity': 3.587.0(@aws-sdk/client-sts@3.596.0(@aws-sdk/client-sso-oidc@3.596.0))
'@aws-sdk/credential-provider-sso': 3.592.0(@aws-sdk/client-sso-oidc@3.596.0(@aws-sdk/client-sts@3.596.0))
'@aws-sdk/credential-provider-web-identity': 3.587.0(@aws-sdk/client-sts@3.596.0)
'@aws-sdk/types': 3.577.0
'@smithy/credential-provider-imds': 3.2.0
'@smithy/property-provider': 3.1.3
@ -17857,14 +17863,14 @@ snapshots:
- '@aws-sdk/client-sso-oidc'
- aws-crt
'@aws-sdk/credential-provider-node@3.596.0(@aws-sdk/client-sso-oidc@3.596.0)(@aws-sdk/client-sts@3.596.0(@aws-sdk/client-sso-oidc@3.596.0))':
'@aws-sdk/credential-provider-node@3.596.0(@aws-sdk/client-sso-oidc@3.596.0(@aws-sdk/client-sts@3.596.0))(@aws-sdk/client-sts@3.596.0)':
dependencies:
'@aws-sdk/credential-provider-env': 3.587.0
'@aws-sdk/credential-provider-http': 3.596.0
'@aws-sdk/credential-provider-ini': 3.596.0(@aws-sdk/client-sso-oidc@3.596.0)(@aws-sdk/client-sts@3.596.0(@aws-sdk/client-sso-oidc@3.596.0))
'@aws-sdk/credential-provider-ini': 3.596.0(@aws-sdk/client-sso-oidc@3.596.0(@aws-sdk/client-sts@3.596.0))(@aws-sdk/client-sts@3.596.0)
'@aws-sdk/credential-provider-process': 3.587.0
'@aws-sdk/credential-provider-sso': 3.592.0(@aws-sdk/client-sso-oidc@3.596.0)
'@aws-sdk/credential-provider-web-identity': 3.587.0(@aws-sdk/client-sts@3.596.0(@aws-sdk/client-sso-oidc@3.596.0))
'@aws-sdk/credential-provider-sso': 3.592.0(@aws-sdk/client-sso-oidc@3.596.0(@aws-sdk/client-sts@3.596.0))
'@aws-sdk/credential-provider-web-identity': 3.587.0(@aws-sdk/client-sts@3.596.0)
'@aws-sdk/types': 3.577.0
'@smithy/credential-provider-imds': 3.2.0
'@smithy/property-provider': 3.1.3
@ -17911,10 +17917,10 @@ snapshots:
'@smithy/types': 3.3.0
tslib: 2.7.0
'@aws-sdk/credential-provider-sso@3.592.0(@aws-sdk/client-sso-oidc@3.596.0)':
'@aws-sdk/credential-provider-sso@3.592.0(@aws-sdk/client-sso-oidc@3.596.0(@aws-sdk/client-sts@3.596.0))':
dependencies:
'@aws-sdk/client-sso': 3.592.0
'@aws-sdk/token-providers': 3.587.0(@aws-sdk/client-sso-oidc@3.596.0)
'@aws-sdk/token-providers': 3.587.0(@aws-sdk/client-sso-oidc@3.596.0(@aws-sdk/client-sts@3.596.0))
'@aws-sdk/types': 3.577.0
'@smithy/property-provider': 3.1.3
'@smithy/shared-ini-file-loader': 3.1.4
@ -17937,9 +17943,9 @@ snapshots:
- '@aws-sdk/client-sso-oidc'
- aws-crt
'@aws-sdk/credential-provider-web-identity@3.587.0(@aws-sdk/client-sts@3.596.0(@aws-sdk/client-sso-oidc@3.596.0))':
'@aws-sdk/credential-provider-web-identity@3.587.0(@aws-sdk/client-sts@3.596.0)':
dependencies:
'@aws-sdk/client-sts': 3.596.0(@aws-sdk/client-sso-oidc@3.596.0)
'@aws-sdk/client-sts': 3.596.0
'@aws-sdk/types': 3.577.0
'@smithy/property-provider': 3.1.3
'@smithy/types': 3.3.0
@ -18104,9 +18110,9 @@ snapshots:
'@smithy/types': 3.3.0
tslib: 2.7.0
'@aws-sdk/token-providers@3.587.0(@aws-sdk/client-sso-oidc@3.596.0)':
'@aws-sdk/token-providers@3.587.0(@aws-sdk/client-sso-oidc@3.596.0(@aws-sdk/client-sts@3.596.0))':
dependencies:
'@aws-sdk/client-sso-oidc': 3.596.0
'@aws-sdk/client-sso-oidc': 3.596.0(@aws-sdk/client-sts@3.596.0)
'@aws-sdk/types': 3.577.0
'@smithy/property-provider': 3.1.3
'@smithy/shared-ini-file-loader': 3.1.4
@ -25104,7 +25110,7 @@ snapshots:
next: 14.2.6(@babel/core@7.22.9)(@opentelemetry/api@1.9.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
next-videos: 1.5.0(webpack@5.92.1(@swc/core@1.7.18(@swc/helpers@0.5.11))(esbuild@0.23.0))
nextra: 3.0.0-alpha.32(@types/react@18.3.3)(next@14.2.6(@babel/core@7.22.9)(@opentelemetry/api@1.9.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.5.4)
nextra-theme-docs: 3.0.0-alpha.32(next@14.2.6(@babel/core@7.22.9)(@opentelemetry/api@1.9.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(nextra@3.0.0-alpha.32(@types/react@18.3.3)(next@14.2.6(@babel/core@7.22.9)(@opentelemetry/api@1.9.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.5.4))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
nextra-theme-docs: 3.0.0-alpha.32(patch_hash=oobd7laghezthwuxw7xfebpywq)(next@14.2.6(@babel/core@7.22.9)(@opentelemetry/api@1.9.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(nextra@3.0.0-alpha.32(@types/react@18.3.3)(next@14.2.6(@babel/core@7.22.9)(@opentelemetry/api@1.9.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.5.4))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
react: 18.3.1
react-dom: 18.3.1(react@18.3.1)
react-paginate: 8.2.0(react@18.3.1)
@ -27144,7 +27150,7 @@ snapshots:
optionalDependencies:
typescript: 5.5.4
countup.js@2.8.0: {}
countup.js@2.8.0(patch_hash=nfqgtlg7dcp6sipx7lntl54mvi): {}
cpu-features@0.0.9:
dependencies:
@ -32162,7 +32168,7 @@ snapshots:
- '@babel/core'
- babel-plugin-macros
nextra-theme-docs@3.0.0-alpha.32(next@14.2.6(@babel/core@7.22.9)(@opentelemetry/api@1.9.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(nextra@3.0.0-alpha.32(@types/react@18.3.3)(next@14.2.6(@babel/core@7.22.9)(@opentelemetry/api@1.9.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.5.4))(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
nextra-theme-docs@3.0.0-alpha.32(patch_hash=oobd7laghezthwuxw7xfebpywq)(next@14.2.6(@babel/core@7.22.9)(@opentelemetry/api@1.9.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(nextra@3.0.0-alpha.32(@types/react@18.3.3)(next@14.2.6(@babel/core@7.22.9)(@opentelemetry/api@1.9.0)(react-dom@18.3.1(react@18.3.1))(react@18.3.1))(react-dom@18.3.1(react@18.3.1))(react@18.3.1)(typescript@5.5.4))(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
dependencies:
'@headlessui/react': 1.7.19(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
'@popperjs/core': 2.11.8
@ -33463,7 +33469,7 @@ snapshots:
react-countup@6.5.3(react@18.3.1):
dependencies:
countup.js: 2.8.0
countup.js: 2.8.0(patch_hash=nfqgtlg7dcp6sipx7lntl54mvi)
react: 18.3.1
react-day-picker@8.10.1(date-fns@3.6.0)(react@18.3.1):