Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/components/react/GraphQLEditor/GraphQLLogo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ const GraphQLLogo = ({
>
<path
fill="currentColor"
fill-rule="evenodd"
fillRule="evenodd"
d="m50 6.903 37.323 21.549v43.096L50 93.097 12.677 71.548V28.451L50 6.903ZM16.865 30.87v31.656L44.28 15.041 16.864 30.87ZM50 13.51 18.398 68.246h63.205L50 13.509Zm27.415 58.924h-54.83L50 88.261l27.415-15.828Zm5.72-9.908L55.72 15.041 83.136 30.87v31.656Z"
clip-rule="evenodd"
clipRule="evenodd"
/>
<path
fill="currentColor"
Expand Down
11 changes: 11 additions & 0 deletions src/starlight-overrides/PageFrame.astro
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
---
import MobileMenuFooter from "@astrojs/starlight/components/MobileMenuFooter.astro";
import Default from "@astrojs/starlight/components/PageFrame.astro";
import Analytics from "@components/Analytics.astro";
import SpanishBetaBanner from "@components/SpanishBetaBanner.astro";

const { template } = Astro.locals.starlightRoute.entry.data;

---

<Default {...Astro.props}>
Expand All @@ -11,6 +15,13 @@ import SpanishBetaBanner from "@components/SpanishBetaBanner.astro";
<slot name="sidebar" slot="sidebar" />
<SpanishBetaBanner />
<slot />
{
template === "splash" && (
<div class="md:sl-hidden">
<MobileMenuFooter {...Astro.props} />
</div>
)
}
</Default>

<Analytics />
Loading