File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,13 +6,20 @@ import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
66import styles from "./index.module.css" ;
77import HomepageFeatures from "../components/HomepageFeatures" ;
88import LogoUrl from "@site/static/img/logo.png" ;
9+ import UwuLogoUrl from "@site/static/img/uwulogo.png" ;
910
1011function HomepageHeader ( ) {
1112 const { siteConfig } = useDocusaurusContext ( ) ;
13+ const uwu = new URLSearchParams ( window . location . search ) . get ( "uwu" ) !== null ;
14+
1215 return (
1316 < header className = { clsx ( "hero hero--primary" , styles . heroBanner ) } >
1417 < 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+ ) }
1623 < p className = "hero__subtitle" > { siteConfig . tagline } </ p >
1724 < div className = { styles . buttons } >
1825 < Link
You can’t perform that action at this time.
0 commit comments