File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ export default {
35
35
} ,
36
36
spec : {
37
37
type : "page" ,
38
- title : < span className = "after:font-sans after:content-['_↗']" > Spec</ span > ,
38
+ title : " Spec" ,
39
39
href : "https://spec.graphql.org" ,
40
40
newWindow : true ,
41
41
} ,
@@ -81,10 +81,10 @@ export default {
81
81
conf : {
82
82
type : "page" ,
83
83
title : (
84
- < span className = "[a:has(>&)]:[a:has(>&)]:border [a:has(>&)]:border [a:has(>&)]:border-current [a:has(>&)]:text-pri-base dark:[a:has(>&)]:text-pri-light [a:hover:has(>&)]:border-transparent" >
84
+ < Emphasis >
85
85
GraphQLConf
86
86
< span className = "max-xl:hidden" > 2025</ span >
87
- </ span >
87
+ </ Emphasis >
88
88
) ,
89
89
route : "/conf/2025" ,
90
90
} ,
@@ -93,3 +93,11 @@ export default {
93
93
title : "GraphQL.JS Tutorial" ,
94
94
} ,
95
95
}
96
+
97
+ function Emphasis ( { children } : { children : React . ReactNode } ) {
98
+ return (
99
+ < span className = "[a:has(>&)]:[a:has(>&)]:border [a:has(>&)]:border [a:has(>&)]:border-current [a:has(>&)]:text-pri-base dark:[a:has(>&)]:text-pri-light [a:hover:has(>&)]:border-transparent" >
100
+ { children }
101
+ </ span >
102
+ )
103
+ }
You can’t perform that action at this time.
0 commit comments