File tree 2 files changed +8
-1
lines changed
2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -6,13 +6,20 @@ import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
6
6
import styles from "./index.module.css" ;
7
7
import HomepageFeatures from "../components/HomepageFeatures" ;
8
8
import LogoUrl from "@site/static/img/logo.png" ;
9
+ import UwuLogoUrl from "@site/static/img/uwulogo.png" ;
9
10
10
11
function HomepageHeader ( ) {
11
12
const { siteConfig } = useDocusaurusContext ( ) ;
13
+ const uwu = new URLSearchParams ( window . location . search ) . get ( "uwu" ) !== null ;
14
+
12
15
return (
13
16
< header className = { clsx ( "hero hero--primary" , styles . heroBanner ) } >
14
17
< div className = "container" >
15
- < h1 className = "hero__title" > { siteConfig . title } </ h1 >
18
+ { uwu ? (
19
+ < img alt = "OC uwu logo" src = { UwuLogoUrl } />
20
+ ) : (
21
+ < h1 className = "hero__title" > { siteConfig . title } </ h1 >
22
+ ) }
16
23
< p className = "hero__subtitle" > { siteConfig . tagline } </ p >
17
24
< div className = { styles . buttons } >
18
25
< Link
You can’t perform that action at this time.
0 commit comments