Skip to content

Commit 681333b

Browse files
committed
Update URL, tweak promo
1 parent 5849753 commit 681333b

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

src/app/build-uis-that-dont-suck/hero-section.tsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { Logo } from "@/components/logo";
44
import { GridContainer } from "./grid-container";
55
import { HeroActions } from "./call-to-action";
66
import { useRef } from "react";
7+
import Link from "next/link";
78

89
export function HeroSection() {
910
let videoRef = useRef<HTMLVideoElement>(null);
@@ -19,8 +20,10 @@ export function HeroSection() {
1920
<div className="absolute inset-0 size-full bg-linear-to-t from-gray-950 to-50%"></div>
2021
</div>
2122
<GridContainer>
22-
<div className="p-2">
23-
<Logo className="h-7" />
23+
<div className="flex p-2">
24+
<Link href="/" aria-label="Home" className="inline-flex">
25+
<Logo className="h-7" />
26+
</Link>
2427
</div>
2528
</GridContainer>
2629
<div className="mt-20 flex flex-col gap-4 sm:mt-24">

src/components/docs-sidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ function TopNav() {
8989
</TopNavLink>
9090
</li>
9191
<li className="flex items-center gap-3">
92-
<TopNavLink href="/course">
92+
<TopNavLink href="/build-uis-that-dont-suck">
9393
<svg viewBox="0 0 16 16" fill="none">
9494
<path data-highlight d="M8 2 1 6l7 4 7-4-7-4Z" />
9595
<path

src/components/promos.tsx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,17 +69,15 @@ export function CoursePromo() {
6969
</div>
7070
</div>
7171
<p className="text-[0.815rem]/6 font-semibold text-sky-500 dark:text-sky-400">5-day mini-course</p>
72-
<p className="mt-1.5 text-[0.9375rem]/5 font-semibold text-gray-950 dark:text-white">
73-
Build UIs that don’t suck.
74-
</p>
75-
<p className="mt-6 text-[0.8125rem]/5 text-gray-600 dark:text-gray-400">
72+
<p className="mt-1.5 text-base/5 font-semibold text-gray-950 dark:text-white">Build UIs that don’t suck.</p>
73+
<p className="mt-3 text-[0.8125rem]/5 text-gray-600 dark:text-gray-400">
7674
Short, tactical video lessons from the creator of Tailwind CSS, delivered directly to your inbox every day for a
7775
week.
7876
</p>
7977
<p className="mt-4">
80-
<LinkButton href="/course">
78+
<LinkButton href="/build-uis-that-dont-suck">
8179
<span className="absolute inset-0" />
82-
Get the free course &rarr;
80+
Get the free course <span aria-hidden="true">&rarr;</span>
8381
</LinkButton>
8482
</p>
8583
</div>

0 commit comments

Comments
 (0)