File tree Expand file tree Collapse file tree 5 files changed +9
-56
lines changed
app/conf/2025/components/testimonials Expand file tree Collapse file tree 5 files changed +9
-56
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,8 @@ export function TestimonialAuthor({
115
115
width = { 128 }
116
116
height = { 128 }
117
117
className = "size-16 saturate-[.1] dark:opacity-90 xl:size-32"
118
- fetchPriority = "low"
118
+ // @ts -expect-error React doesn't know it exists yet, but @types/react do
119
+ fetchpriority = "low"
119
120
/>
120
121
< div className = "absolute inset-0 z-[1] bg-pri-darker opacity-80 mix-blend-plus-lighter dark:mix-blend-color" />
121
122
< Stripes />
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- import React , { useState } from "react"
2
1
import { graphql } from "graphql"
2
+ import React , { useState } from "react"
3
3
4
+ import { getVariableToType } from "@/components/interactive-code-block/get-variable-to-type"
4
5
import { QueryEditor } from "@/components/interactive-code-block/query-editor"
5
6
import { ResultViewer } from "@/components/interactive-code-block/result-viewer"
6
- import { getVariableToType } from "@/components/interactive-code-block/get-variable-to-type"
7
7
import { VariableEditor } from "@/components/interactive-code-block/variable-editor"
8
8
import { CodeBlockLabel } from "@/components/pre/code-block-label"
9
9
10
10
import { HowItWorksListItem } from "./how-it-works-list-item"
11
11
import { PlayButton } from "./play-button"
12
12
import {
13
- projectsSchema as schema ,
14
13
INITIAL_QUERY_TEXT ,
15
14
INITIAL_RESULTS_TEXT ,
15
+ projectsSchema as schema ,
16
16
} from "./schema"
17
17
18
18
export default function InteractiveEditor ( ) {
@@ -91,7 +91,7 @@ export default function InteractiveEditor() {
91
91
}
92
92
code = {
93
93
Object . keys ( variableTypes ) . length > 0 ? (
94
- < div className = "hasVariables flex flex-col" >
94
+ < div className = "flex flex-col" >
95
95
{ editor }
96
96
< div className = "flex flex-col border-neu-200 dark:border-neu-50" >
97
97
< CodeBlockLabel
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ export default class MiniGraphiQL extends Component<
96
96
return (
97
97
< div className = "[&:not(:first-child)]:_mt-6 grid grid-cols-2 border border-neu-200 text-sm dark:border-neu-50" >
98
98
{ Object . keys ( this . state . variableToType ) . length > 0 ? (
99
- < div className = "hasVariables flex flex-col" >
99
+ < div className = "flex flex-col" >
100
100
{ editor }
101
101
< div className = "flex flex-col border-neu-200 dark:border-neu-50" >
102
102
< CodeBlockLabel
Original file line number Diff line number Diff line change 63
63
background : var (--cm-background );
64
64
color : var (--cm-foreground );
65
65
position : relative;
66
+ max-height : 184px ;
66
67
67
68
& .cm-content {
68
69
padding : 16px 0 ;
75
76
& .cm-scroller {
76
77
line-height : 1.5 ;
77
78
font-family : var (--font-mono );
79
+ overflow : auto;
78
80
-webkit-font-smoothing : auto;
79
81
}
80
82
}
You can’t perform that action at this time.
0 commit comments