feat: add AchievementTextBox and InnerPageBanner components with respective types

- Created AchievementTextBox component for displaying achievement titles.
- Implemented InnerPageBanner component for inner page banners with image and title.
- Added SectionTitle component for displaying section titles and descriptions.
- Updated AboutTopInfo component to utilize new AchievementTextBox and SectionTitle components.
- Defined TypeScript interfaces for props in each new component.
This commit is contained in:
2025-06-02 14:13:15 +03:30
parent 95b6c71b7c
commit e4a42d3300
69 changed files with 2642 additions and 80 deletions
@@ -0,0 +1,21 @@
import { ISectionTitleProps } from './sectionTitle';
export default function SectionTitle({
title,
description,
description_bold,
}: ISectionTitleProps) {
return (
<div className="flex flex-col gap-4">
<div className="flex items-center gap-2">
<h3 className="text-sm tracking-[0.175rem] text-gray-500">{title}</h3>
</div>
<h2 className="text-[3.25rem] font-extralight text-gray-500">
{description}
{description_bold && (
<strong className="block font-bold">{description_bold}</strong>
)}
</h2>
</div>
);
}
+5
View File
@@ -0,0 +1,5 @@
export interface ISectionTitleProps {
title: string;
description: string;
description_bold?: string;
}