diff --git a/src/components/Title.jsx b/src/components/Title.jsx index ca9d4cf..c9c2f7c 100644 --- a/src/components/Title.jsx +++ b/src/components/Title.jsx @@ -3,10 +3,13 @@ import { twMerge } from "tailwind-merge"; const { Text } = Typography; -export const Title = ({ text, className }) => { +export const Title = ({ text, className, classNameText }) => { return (
- + {text}
diff --git a/src/modules/Sidebar/Legend.jsx b/src/modules/Sidebar/Legend.jsx index f162057..feadc65 100644 --- a/src/modules/Sidebar/Legend.jsx +++ b/src/modules/Sidebar/Legend.jsx @@ -12,7 +12,12 @@ const types = [ export function Legend() { return (
- + <Title text={"Тип объекта размещения"} className={"text-center"} /> + <Title + text={"Размер кружка пропорционален востребованности точки"} + className={"text-center mb-1"} + classNameText={"lowercase"} + /> <div className="space-y-2"> {types.map((type) => ( <div className="flex gap-2 items-center" key={type.id}> @@ -24,7 +29,11 @@ export function Legend() { </div> ))} </div> - <Title text={"Востребованность постамата"} className={"mb-1 mt-3"} /> + + <Title + text={"Востребованность постамата"} + className={"mb-1 mt-3 text-center"} + /> <div className={"w-full h-[10px] rounded-xl"} style={{