Add page titles to mobile organized content pages
This commit is contained in:
parent
2b8362f89c
commit
f5feea5789
|
@ -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%);
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 />
|
||||||
|
|
|
@ -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} />
|
||||||
|
|
Loading…
Reference in New Issue