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:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -58,7 +58,7 @@ export function RenderingSection() {
|
||||
Freshly server-rendered {new Date().toLocaleString("default", {
|
||||
dateStyle: "medium",
|
||||
timeStyle: "medium",
|
||||
})}
|
||||
})} UTC
|
||||
</p>
|
||||
</DemoBox>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user