Chore: styling and verbiage cleanup (#2451)

- Better responsive styling of header, logo, nav menu and docs sidebar
- Specify UTC on homepage (since we can't localize server-side)
- Minor copy updates
This commit is contained in:
Josh Collinsworth
2024-05-23 12:12:47 -05:00
committed by GitHub
parent baac482cf0
commit 990357629e
7 changed files with 17 additions and 15 deletions
+1 -1
View File
@@ -165,7 +165,7 @@ export default function DocsPage(props: PageProps<Data>) {
<Header title="docs" active="/docs" />
<div f-client-nav={true}>
<MobileSidebar page={page} />
<div class="flex mx-auto max-w-screen-2xl px-4 md:px-0 md:py-0 justify-end bg-gray-100">
<div class="flex mx-auto max-w-screen-2xl px-0 md:px-4 md:py-0 justify-start bg-gray-100">
<label
for="docs_sidebar"
class="px-4 py-3 lg:hidden flex items-center hover:bg-gray-100 rounded gap-2 cursor-pointer"
+2 -2
View File
@@ -24,7 +24,7 @@ export default function ThanksForSubscribing(
<PageSection>
<DemoBox>
<div class="space-y-2">
<h1 class="text-lg sm:text-2xl md:text-3xl lg:text-4xl">
<h1 class="text-2xl md:text-3xl lg:text-4xl">
{vote
? `Thanks for voting for ${vote}!`
: `Form submitted successfully`}
@@ -60,7 +60,7 @@ export default function ThanksForSubscribing(
<path d="M13 18l6 -6" />
<path d="M13 6l6 6" />
</svg>
Back home
Back
</a>
</div>
</DemoBox>