Skip to content

Commit b3cae76

Browse files
committed
fix text color in download page
1 parent 2054742 commit b3cae76

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

apps/web/app/(org)/dashboard/_components/Navbar/Items.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ const NavItem = ({
491491
>
492492
{name}
493493
</p>
494-
{extraText && !sidebarCollapsed && (
494+
{extraText !== null && !sidebarCollapsed && (
495495
<p className="ml-auto text-xs font-medium text-gray-11">
496496
{extraText}
497497
</p>

apps/web/app/(org)/dashboard/layout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export default async function DashboardLayout({
3333
}
3434

3535
let organizationSelect: Organization[] = [];
36-
let userCapsCount: number | null = null;
36+
let userCapsCount: number | null = 0;
3737
let organizationSettings: OrganizationSettings | null = null;
3838
let spacesData: Spaces[] = [];
3939
let anyNewNotifications = false;
@@ -49,7 +49,7 @@ export default async function DashboardLayout({
4949
} catch (error) {
5050
console.error("Failed to load dashboard data", error);
5151
organizationSelect = [];
52-
userCapsCount = null;
52+
userCapsCount = 0;
5353
organizationSettings = null;
5454
spacesData = [];
5555
anyNewNotifications = false;

apps/web/components/pages/DownloadPage.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export const DownloadPage = () => {
2121
<h1 className="text-2xl fade-in-down animate-delay-1 md:text-4xl">
2222
Download Cap
2323
</h1>
24-
<p className="px-4 text-sm fade-in-down animate-delay-2 md:text-base md:px-0">
24+
<p className="px-4 text-sm fade-in-down text-gray-11 animate-delay-2 md:text-base md:px-0">
2525
The quickest way to share your screen. Pin to your dock and record in
2626
seconds.
2727
</p>
@@ -116,8 +116,8 @@ export const DownloadPage = () => {
116116
</div>
117117

118118
{/* Discreet SEO Links */}
119-
<div className="pt-8 mt-32 text-xs border-t border-gray-200 opacity-70 text-gray-1">
120-
<div className="flex flex-wrap gap-y-2 gap-x-4 justify-center mx-auto max-w-lg">
119+
<div className="pt-8 mt-32 text-xs border-t border-gray-5 text-gray-12">
120+
<div className="flex flex-wrap gap-y-2 gap-x-4 justify-center items-center mx-auto max-w-lg">
121121
<Link
122122
href="/screen-recorder"
123123
className="text-xs hover:text-gray-8 hover:underline"

0 commit comments

Comments
 (0)