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
11 changes: 5 additions & 6 deletions src/components/Layout/HomeContent.js
Original file line number Diff line number Diff line change
Expand Up @@ -297,9 +297,9 @@ export function HomeContent() {
<div className="absolute inset-0 bg-gradient-right" />
<div className="bg-wash relative h-14 w-full" />
<div className="relative flex items-start justify-center flex-col flex-1 pb-16 pt-5 gap-3 px-5 lg:px-10 lg:pt-8">
<h4 className="leading-tight text-primary font-semibold text-3xl lg:text-4xl">
<h3 className="leading-tight text-primary font-semibold text-3xl lg:text-4xl">
Stay true to the web
</h4>
</h3>
<p className="lg:text-xl leading-normal text-secondary">
People expect web app pages to load fast. On the server,
React lets you start streaming HTML while you’re still
Expand Down Expand Up @@ -383,9 +383,9 @@ export function HomeContent() {
</div>
</div>
<div className="flex flex-col items-start justify-center pt-0 gap-3 px-2.5 lg:pt-8 lg:px-8">
<h4 className="leading-tight text-primary dark:text-primary-dark font-semibold text-3xl lg:text-4xl">
<h3 className="leading-tight text-primary dark:text-primary-dark font-semibold text-3xl lg:text-4xl">
Go truly native
</h4>
</h3>
<p className="h-full lg:text-xl text-secondary dark:text-secondary-dark leading-normal">
People expect native apps to look and feel like their
platform.{' '}
Expand Down Expand Up @@ -1620,8 +1620,6 @@ function Thumbnail({video}) {
href={video.url}
target="_blank"
rel="noreferrer"
aria-hidden="true"
tabIndex={-1}
className={cn(
'outline-link dark:outline-link outline-offset-2 aspect-video w-32 xs:w-36 select-none flex-col shadow-inner-border rounded-lg flex items-center overflow-hidden justify-center align-middle text-white/50 bg-cover bg-white bg-[conic-gradient(at_top_right,_var(--tw-gradient-stops))]',
image === 'blue' && 'from-yellow-50 via-blue-50 to-purple-60',
Expand All @@ -1637,6 +1635,7 @@ function Thumbnail({video}) {
? 'url(' + image + ')'
: null,
}}>
<span className="sr-only">{video.title}</span>
{typeof image !== 'string' ? (
<>
<div className="transition-opacity mt-2.5 -space-x-2 flex flex-row w-full justify-center">
Expand Down
7 changes: 6 additions & 1 deletion src/components/Layout/Page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,11 @@ export function Page({

return (
<>
<a
href="#main"
className="sr-only focus:not-sr-only focus:absolute focus:z-50 focus:p-4">
Skip to main content
</a>
<Seo
title={title}
titleForTitleTag={meta.titleForTitleTag}
Expand Down Expand Up @@ -166,7 +171,7 @@ export function Page({
)}
{/* No fallback UI so need to be careful not to suspend directly inside. */}
<Suspense fallback={null}>
<main className="min-w-0 isolate">
<main id="main" className="min-w-0 isolate">
<article
className="font-normal break-words text-primary dark:text-primary-dark"
key={asPath}>
Expand Down
2 changes: 1 addition & 1 deletion src/content/reference/react/captureOwnerStack.md
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ pre.nowrap {
<p>
<pre id="error-body"></pre>
</p>
<h2 class="-mb-20">Owner Stack:</h4>
<h2 class="-mb-20">Owner Stack:</h2>
<pre id="error-owner-stack" class="nowrap"></pre>
<button
id="error-close"
Expand Down
Loading