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
+2 -2
View File
@@ -57,8 +57,8 @@ export function IslandsSection() {
</svg>
<SectionHeading>Island-based architecture</SectionHeading>
<p>
Fresh ships plain HTML to the client, and then hydrates with
JavaScript only where needed.
Fresh ships plain HTML to the client, then hydrates with JavaScript
only where needed.
</p>
<p>
Because it's Preact, you get best-in-class performance, plus the
+2 -1
View File
@@ -68,7 +68,8 @@ export function PartialsSection() {
<SectionHeading>Stream HTML straight from the server</SectionHeading>
<p>
Fresh Partials let you fetch HTML and slot it directly into the
page, without a full page reload.
page, without a full page reload—perfect for interactive elements
and dynamic apps.
</p>
<FancyLink href="/docs/concepts/partials" class="mt-4">
Learn more about Partials
+1 -1
View File
@@ -58,7 +58,7 @@ export function RenderingSection() {
Freshly server-rendered {new Date().toLocaleString("default", {
dateStyle: "medium",
timeStyle: "medium",
})}
})} UTC
</p>
</DemoBox>
</div>