Merge remote-tracking branch 'origin/main' into navbar

This commit is contained in:
zahravaziri
2025-06-02 15:29:46 +03:30
73 changed files with 2751 additions and 110 deletions
@@ -0,0 +1,3 @@
export interface IAachievementTextBoxProps {
title: string;
}
@@ -0,0 +1,11 @@
import { IAachievementTextBoxProps } from './achievementTextBox';
export default function AchievementTextBox({
title,
}: IAachievementTextBoxProps) {
return (
<div className="flex items-center gap-3">
<span className="text-base text-gray-500">{title}</span>
</div>
);
}
+4
View File
@@ -0,0 +1,4 @@
export interface IInnerPageBannerProps {
imageSrc: string;
title: string;
}
@@ -0,0 +1,22 @@
import images from '@/assets/images/images';
import Navbar from '../../navbar';
import Button from '@/components/uikit/button';
import { IInnerPageBannerProps } from './banner';
export default function InnerPageBanner({
title,
imageSrc,
}: IInnerPageBannerProps) {
return (
<header
className="relative h-[50%] w-full bg-cover bg-right bg-no-repeat text-white"
style={{ backgroundImage: `url(${imageSrc})` }}
>
<div className="absolute inset-0 z-0 bg-black opacity-50" />
<Navbar />
<div className="relative z-10 container mx-auto flex flex-col bg-cover bg-right-top py-20 text-white">
<h2 className="text-[4rem] text-white">{title}</h2>
</div>
</header>
);
}
@@ -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;
}