Skip to content

Commit f62cec7

Browse files
committed
Update H1s on my courses and all courses to match profile heading size
1 parent 71fb13f commit f62cec7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

frontend/src/pages/AllCourses.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function AllCourses() {
1616

1717
return (
1818
<div className="max-w-5xl mx-auto mt-10 pb-5">
19-
<h1 className="text-4xl font-extrabold mb-8 text-gray-800">All Courses</h1>
19+
<h1 className="text-3xl font-extrabold mb-8 text-gray-800">All Courses</h1>
2020
<div className="overflow-x-auto">
2121
<table className="table-auto min-w-full bg-white shadow-xl border border-gray-100">
2222
<thead>

frontend/src/pages/MyCourses.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,15 @@ function MyCourses({user}: { user: User | null }) {
5252
if (courses.length === 0) {
5353
return (
5454
<div className="max-w-5xl mx-auto mt-10 pb-5">
55-
<h1 className="text-4xl font-extrabold mb-8 text-gray-800">My Courses</h1>
55+
<h1 className="text-3xl font-extrabold mb-8 text-gray-800">My Courses</h1>i
5656
<div className="text-lg text-gray-600"> You are not enrolled in any courses yet.</div>
5757
</div>
5858
);
5959
}
6060

6161
return (
6262
<div className="max-w-5xl mx-auto mt-10 pb-5">
63-
<h1 className="text-4xl font-extrabold mb-8 text-gray-800">My Courses</h1>
63+
<h1 className="text-3xl font-extrabold mb-8 text-gray-800">My Courses</h1>
6464
<div className="overflow-x-auto">
6565
<table className="table-auto min-w-full bg-white shadow-xl border border-gray-100">
6666
<thead>

0 commit comments

Comments
 (0)