Mobile Organized Content #79

Merged
w25tran merged 53 commits from feat/organized-content into main 2021-08-27 15:18:56 -04:00
2 changed files with 5 additions and 5 deletions
Showing only changes of commit 83d6d73134 - Show all commits

View File

@ -97,7 +97,6 @@ export function OrganizedContent({
}`}
onClick={() => setMobileNavOpen(!mobileNavOpen)}
>
{/* this is copied from hamburger.svg with changed colors */}
<Burger />
</button>
</div>
@ -110,7 +109,7 @@ interface NavProps {
link: Link;
pageTitle: string;
mobileNavOpen: boolean;
setMobileNavOpen: React.Dispatch<React.SetStateAction<boolean>>;
setMobileNavOpen: (mobileNavOpen: boolean) => void;
}
function Nav({
@ -342,6 +341,7 @@ function useBurger(componentIsVisible: boolean): boolean {
return burgerVisible;
}
// Inlining this svg because we want to fill in colors using css variables
function Burger() {
return (
<svg

6
next-env.d.ts vendored
View File

@ -1,3 +1,3 @@
/// <reference types="next" />
/// <reference types="next/types/global" />
/// <reference types="next/image-types/global" />
/// <reference types="next" />
/// <reference types="next/types/global" />
/// <reference types="next/image-types/global" />