diff --git a/src/app/conf/2025/components/testimonials/index.tsx b/src/app/conf/2025/components/testimonials/index.tsx index f34c4b8690..110228b31f 100644 --- a/src/app/conf/2025/components/testimonials/index.tsx +++ b/src/app/conf/2025/components/testimonials/index.tsx @@ -85,7 +85,7 @@ export function TestimonialsList({ className="flex shrink-0 snap-start flex-row-reverse items-center gap-6 max-md:flex-col md:px-10" >
+
{testimonial.quote}
{children}
+ },
+}
+
+function isSpanElement(
+ child: React.ReactNode,
+): child is ReactElement<{ children: React.ReactNode }> {
+ return (
+ typeof child === "object" &&
+ !!child &&
+ (child as ReactElement).type === "span"
+ )
+}
+
+export function DataColocation() {
+ const markSector = (event: React.MouseEvent+ GraphQL fragments let you reuse common field selections across + queries, making your code more maintainable and consistent. +
++ Click on + Hover over the components to + see their GraphQL fragments. +
+diff --git a/src/components/index-page/graphql-advantages/versionless.tsx b/src/components/index-page/graphql-advantages/versionless.tsx index 95ea24a76e..97e3d78352 100644 --- a/src/components/index-page/graphql-advantages/versionless.tsx +++ b/src/components/index-page/graphql-advantages/versionless.tsx @@ -32,7 +32,7 @@ export function VersionlessFigure() { return ( +diff --git a/src/components/index-page/powered-by-community.tsx b/src/components/index-page/powered-by-community.tsx index 128e1da1ef..66005b1047 100644 --- a/src/components/index-page/powered-by-community.tsx +++ b/src/components/index-page/powered-by-community.tsx @@ -5,7 +5,7 @@ import ArrowDownIcon from "@/app/conf/_design-system/pixelarticons/arrow-down.sv export function PoweredByCommunity() { return (@@ -18,6 +19,7 @@ export function IndexPage() { + - +) diff --git a/src/components/index-page/trusted-by/index.tsx b/src/components/index-page/trusted-by/index.tsx index b0148cd379..3459171471 100644 --- a/src/components/index-page/trusted-by/index.tsx +++ b/src/components/index-page/trusted-by/index.tsx @@ -32,7 +32,6 @@ const logos: LogoListItem[] = [ /> ), }, - // todo: Netflix? // { // href: "https://netflix.com", @@ -125,7 +124,7 @@ export function TrustedBy() { href={href} target="_blank" rel="noreferrer" - className="group relative flex shrink-0 items-center justify-center bg-neu-0 p-10 *:z-[1] before:absolute before:inset-2 hover:before:bg-neu-100/50 dark:hover:before:bg-[#202219]" + className="group relative flex shrink-0 items-center justify-center bg-neu-0 p-10 *:z-[1] before:absolute before:inset-2 hover:before:bg-neu-100/50 focus-visible:z-[1] dark:hover:before:bg-[#202219]" >Powered by the community @@ -20,21 +20,21 @@ export function PoweredByCommunity() {
Browse libraries Explore events & meetups Learn about GraphQL Foundation diff --git a/src/components/index-page/quotes-from-the-industry.tsx b/src/components/index-page/quotes-from-the-industry.tsx index e336be9b52..dffa2c0698 100644 --- a/src/components/index-page/quotes-from-the-industry.tsx +++ b/src/components/index-page/quotes-from-the-industry.tsx @@ -66,7 +66,7 @@ export function QuotesFromTheIndustry() { diff --git a/tailwind.config.ts b/tailwind.config.ts index b33ded3675..3f1f24f171 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -198,7 +198,16 @@ const config: Config = { }, }) }), + tailwindMediaHover(), ], darkMode: ["class", 'html[class~="dark"]'], } + export default config + +function tailwindMediaHover() { + return plugin(({ addVariant }) => { + addVariant("hover-hover", "@media (hover: hover)") + addVariant("hover-none", "@media (hover: none)") + }) +}