File tree Expand file tree Collapse file tree 2 files changed +22
-5
lines changed Expand file tree Collapse file tree 2 files changed +22
-5
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,11 @@ export default function ResourcesPage() {
19
19
return (
20
20
< >
21
21
< NavbarPlaceholder className = "top-0 bg-neu-0 before:bg-white/30 dark:bg-neu-0 dark:before:bg-blk/40" />
22
- < Hero pageName = "Code of conduct" subtitle = "The Linux Foundation" colorScheme = "neutral" >
22
+ < Hero
23
+ pageName = "Code of conduct"
24
+ subtitle = "The Linux Foundation"
25
+ colorScheme = "neutral"
26
+ >
23
27
< Button
24
28
href = "https://events.linuxfoundation.org/about/code-of-conduct/"
25
29
className = "mt-[18px] w-fit"
Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ export function Hero(props: HeroProps) {
23
23
return (
24
24
< article
25
25
className = { clsx (
26
- "gql-conf-navbar-strip relative isolate flex flex-col justify-center text-neu-0 selection:bg-blk/40 before:bg-white/30 dark:bg-pri-darker dark:text-neu-900 dark:selection:bg-white/40 before:dark:bg-blk/40" ,
27
- colorScheme === "primary" ? "bg-pri-base" : "bg-neu-100" ,
26
+ "gql-conf-navbar-strip relative isolate flex flex-col justify-center selection:bg-blk/40 before:bg-white/30 dark:bg-pri-darker dark:text-neu-900 dark:selection:bg-white/40 before:dark:bg-blk/40" ,
27
+ colorScheme === "primary" ? "bg-pri-base text-neu-0 " : "bg-neu-100" ,
28
28
) }
29
29
>
30
30
< article className = "relative" >
@@ -33,7 +33,14 @@ export function Hero(props: HeroProps) {
33
33
< div className = "flex gap-10 max-md:flex-col md:justify-between" >
34
34
{ props . pageName ? (
35
35
< div >
36
- < span className = "typography-h3 text-sec-base" >
36
+ < span
37
+ className = { clsx (
38
+ "typography-h3" ,
39
+ colorScheme === "primary"
40
+ ? "text-sec-base"
41
+ : "text-pri-base" ,
42
+ ) }
43
+ >
37
44
{ props . year ? `GraphQLConf ${ props . year } ` : props . subtitle }
38
45
</ span >
39
46
< h1 className = "typography-d1" > { props . pageName } </ h1 >
@@ -50,7 +57,13 @@ export function Hero(props: HeroProps) {
50
57
< span className = "typography-body-sm whitespace-pre" >
51
58
hosted by
52
59
</ span >
53
- < GraphQLFoundationWordmark width = { 128 } height = { 34.877 } />
60
+ < GraphQLFoundationWordmark
61
+ width = { 128 }
62
+ height = { 34.877 }
63
+ className = {
64
+ colorScheme === "neutral" ? "[&_path]:fill-primary" : ""
65
+ }
66
+ />
54
67
</ div >
55
68
</ div >
56
69
You can’t perform that action at this time.
0 commit comments