Skip to content

Commit

Permalink
fix: change style for headers
Browse files Browse the repository at this point in the history
  • Loading branch information
gurtatiLND committed Dec 11, 2024
1 parent 81b0136 commit ec94561
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
13 changes: 13 additions & 0 deletions src/app/home/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import { Header } from "../../ui/shared/Header";

export default function HomePage() {
return (
<div className="flex flex-col gap-4">
<Header
title="Home Page"
description="assess your mood before making a decision."
hasInfoButton={true}
/>
</div>
);
}
4 changes: 3 additions & 1 deletion src/app/toolkit/info/CategoriesInfoPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ export default function CategoriesInfoPage() {
};

return (
<div className="bg-twd-background text-white min-h-screen px-10 py-6">
<>
{/* Header */}
<Header title="Categories" isInfoPage={true}/>
<div className="bg-twd-background text-white min-h-screen px-10 py-6">

{/* Subheader */}
<p className="text-gray-400 mt-3 mb-2">
Expand Down Expand Up @@ -90,5 +91,6 @@ export default function CategoriesInfoPage() {
/>
</div>
</div>
</>
);
}
5 changes: 3 additions & 2 deletions src/app/toolkit/info/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ export default function ToolkitInfoPage() {
}

return (
<div className="bg-twd-background text-white min-h-screen px-10 py-6">
<>
{/* Header */}
<Header title="Learn More" isInfoPage={true} />

<div className="bg-twd-background text-white min-h-screen px-10 py-6">
{/* Introduction Section */}
<div className="mt-6">
<h1 className="text-2xl font-bold text-white mb-5">
Expand Down Expand Up @@ -84,5 +84,6 @@ export default function ToolkitInfoPage() {
</ul>
</div>
</div>
</>
);
}

0 comments on commit ec94561

Please sign in to comment.