Add page titles to mobile organized content pages

This commit is contained in:
William Tran 2021-08-26 18:15:38 -04:00
parent 2b8362f89c
commit f5feea5789
3 changed files with 4 additions and 2 deletions

View File

@ -158,7 +158,7 @@
.burger > svg { .burger > svg {
width: 100%; width: 100%;
height: 100%; height: 100%;
stroke: var(--blue-2); stroke: var(--primary-accent);
} }
.navItem { .navItem {
@ -189,7 +189,7 @@
height: 100%; height: 100%;
top: 0; top: 0;
left: 0; left: 0;
z-index: 9; z-index: 10;
transition: transform 0.3s ease-in-out; transition: transform 0.3s ease-in-out;
transform: translateX(-100%); transform: translateX(-100%);
} }

View File

@ -65,6 +65,7 @@ export function createReadAllPage({
readAllSection.section, readAllSection.section,
...sections.map(({ section }) => section), ...sections.map(({ section }) => section),
]} ]}
pageTitle={title}
link={Link} link={Link}
> >
<readAllSection.Content /> <readAllSection.Content />

View File

@ -38,6 +38,7 @@ export function createSectionPage({
<OrganizedContent <OrganizedContent
sections={sections} sections={sections}
id={sections[current].id} id={sections[current].id}
pageTitle={title}
link={Link} link={Link}
> >
<MDXRemote {...content} /> <MDXRemote {...content} />