File tree Expand file tree Collapse file tree 3 files changed +10
-9
lines changed
app/build-uis-that-dont-suck Expand file tree Collapse file tree 3 files changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ import { Logo } from "@/components/logo";
4
4
import { GridContainer } from "./grid-container" ;
5
5
import { HeroActions } from "./call-to-action" ;
6
6
import { useRef } from "react" ;
7
+ import Link from "next/link" ;
7
8
8
9
export function HeroSection ( ) {
9
10
let videoRef = useRef < HTMLVideoElement > ( null ) ;
@@ -19,8 +20,10 @@ export function HeroSection() {
19
20
< div className = "absolute inset-0 size-full bg-linear-to-t from-gray-950 to-50%" > </ div >
20
21
</ div >
21
22
< 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 >
24
27
</ div >
25
28
</ GridContainer >
26
29
< div className = "mt-20 flex flex-col gap-4 sm:mt-24" >
Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ function TopNav() {
89
89
</ TopNavLink >
90
90
</ li >
91
91
< li className = "flex items-center gap-3" >
92
- < TopNavLink href = "/course " >
92
+ < TopNavLink href = "/build-uis-that-dont-suck " >
93
93
< svg viewBox = "0 0 16 16" fill = "none" >
94
94
< path data-highlight d = "M8 2 1 6l7 4 7-4-7-4Z" />
95
95
< path
Original file line number Diff line number Diff line change @@ -69,17 +69,15 @@ export function CoursePromo() {
69
69
</ div >
70
70
</ div >
71
71
< 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" >
76
74
Short, tactical video lessons from the creator of Tailwind CSS, delivered directly to your inbox every day for a
77
75
week.
78
76
</ p >
79
77
< p className = "mt-4" >
80
- < LinkButton href = "/course " >
78
+ < LinkButton href = "/build-uis-that-dont-suck " >
81
79
< span className = "absolute inset-0" />
82
- Get the free course →
80
+ Get the free course < span aria-hidden = "true" > →</ span >
83
81
</ LinkButton >
84
82
</ p >
85
83
</ div >
You can’t perform that action at this time.
0 commit comments