Skip to content

Commit 93a0cdc

Browse files
committed
docs: re-order elements on homepage to prioritize text content
1 parent 1d7ffe8 commit 93a0cdc

File tree

1 file changed

+26
-16
lines changed

1 file changed

+26
-16
lines changed

www/pages/index.tsx

Lines changed: 26 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ export default function IndexPage({ features }: IndexPageProps) {
3434

3535
return (
3636
<Layout title={site.name} description={site.description}>
37-
TODO - Re-order elements on home page TODO - A Last docs wide search for
38-
TODO - check for broken links
37+
TODO - A Last docs wide search for TODO - check for broken links
3938
<section className="relative px-6 pt-12 pb-8 md:py-12 md:pb-8">
4039
<div className="container max-w-4xl mx-auto text-center">
4140
<Link
@@ -46,12 +45,12 @@ export default function IndexPage({ features }: IndexPageProps) {
4645
<span>Next.js 14, Drupal 11 and App Router Support</span>
4746
</Link>
4847
<h1 className="text-4xl font-black tracking-tight text-center md:text-6xl lg:tracking-tighter lg:text-8xl">
49-
The future of Drupal is headless
48+
Next.js for Drupal
5049
</h1>
51-
<p className="mx-auto mt-4 text-lg text-center text-gray-700 leading-1 md:px-20 lg:leading-normal lg:text-2xl">
50+
{/* <p className="mx-auto mt-4 text-lg text-center text-gray-700 leading-1 md:px-20 lg:leading-normal lg:text-2xl">
5251
Next.js for Drupal has everything you need to build a
5352
next-generation front-end for your Drupal site.
54-
</p>
53+
</p> */}
5554
<div className="flex flex-col items-center justify-center py-4 sm:flex-row md:py-8 lg:py-10">
5655
<Link
5756
href="/learn/quick-start"
@@ -70,19 +69,9 @@ export default function IndexPage({ features }: IndexPageProps) {
7069
See a demo
7170
</Link>
7271
</div>
73-
<div className="overflow-hidden border-2 border-black rounded-md shadow-2xl aspect-w-16 aspect-h-9">
74-
<iframe
75-
src="https://www.youtube-nocookie.com/embed/dn2PSAcG71Y?controls=0"
76-
title="YouTube video player"
77-
frameBorder="0"
78-
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
79-
allowFullScreen
80-
className="w-full"
81-
/>
82-
</div>
8372
</div>
8473
</section>
85-
<section className="px-6 py-6 md:py-12 lg:py-20">
74+
<section className="px-6">
8675
<div className="container max-w-5xl mx-auto">
8776
<h2 className="text-3xl font-black tracking-tight text-center md:text-5xl lg:tracking-tighter lg:text-6xl">
8877
Everything you expect from Drupal.
@@ -196,6 +185,27 @@ export default function IndexPage({ features }: IndexPageProps) {
196185
/>
197186
</div>
198187
</section>
188+
<section id="video">
189+
<div className="container max-w-4xl mx-auto text-center">
190+
<h2 className="text-3xl font-black tracking-tight text-center md:text-5xl lg:tracking-tighter lg:text-6xl">
191+
The future of Drupal is headless
192+
</h2>
193+
<p className="mx-auto mt-4 text-lg text-center text-gray-700 leading-1 md:px-16 lg:leading-normal lg:text-2xl">
194+
Next.js for Drupal has everything you need to build a
195+
next-generation front-end for your Drupal site.
196+
</p>
197+
<div className="overflow-hidden border-2 border-black rounded-md shadow-2xl aspect-w-16 aspect-h-9 my-6 lg:my-10">
198+
<iframe
199+
src="https://www.youtube-nocookie.com/embed/dn2PSAcG71Y?controls=0"
200+
title="YouTube video player"
201+
frameBorder="0"
202+
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
203+
allowFullScreen
204+
className="w-full"
205+
/>
206+
</div>
207+
</div>
208+
</section>
199209
</Layout>
200210
)
201211
}

0 commit comments

Comments
 (0)