upd
This commit is contained in:
@@ -52,7 +52,7 @@ function SidebarTab2() {
|
||||
.get(
|
||||
`${
|
||||
import.meta.env.VITE_CRM_API_URL
|
||||
}/scheduled_sessions/companies/${companyId}/builds/${buildId}?date=${format(
|
||||
}/scheduledSessions/companies/${companyId}/builds/${buildId}?date=${format(
|
||||
selectedDay,
|
||||
"yyyy-MM-dd"
|
||||
)}`
|
||||
@@ -137,10 +137,10 @@ function SidebarTab2() {
|
||||
}, [schedule]);
|
||||
|
||||
return (
|
||||
<div className="sm:p-8 p-6 flex flex-col justify-between sm:gap-8 gap-6 min-h-full">
|
||||
<div className="flex flex-col justify-between min-h-full gap-6 p-6 sm:p-8 sm:gap-8">
|
||||
<div>
|
||||
<div className="flex items-start justify-between">
|
||||
<p className="text-2xl text-gradient font-semibold font-gilroy w-fit leading-snug">
|
||||
<p className="text-2xl font-semibold leading-snug text-gradient font-gilroy w-fit">
|
||||
<Trans i18nKey={"sidebar.title1"}>Дата и время</Trans>
|
||||
</p>
|
||||
<button
|
||||
@@ -154,7 +154,7 @@ function SidebarTab2() {
|
||||
<div className="mt-2">
|
||||
<div className="grid grid-cols-2 gap-2">
|
||||
<div className="border-b border-[#3D425C] p-4 text-center">
|
||||
<p className="leading-none font-gilroy font-semibold text-sm">
|
||||
<p className="text-sm font-semibold leading-none font-gilroy">
|
||||
{selectedDay &&
|
||||
format(
|
||||
selectedDay,
|
||||
@@ -165,7 +165,7 @@ function SidebarTab2() {
|
||||
</div>
|
||||
|
||||
<div className="border-b border-[#798FFF] p-4 text-center">
|
||||
<p className="leading-none font-gilroy font-semibold text-sm">
|
||||
<p className="text-sm font-semibold leading-none font-gilroy">
|
||||
<Trans i18nKey={"sidebar.time"}>Время</Trans>
|
||||
</p>
|
||||
</div>
|
||||
@@ -179,25 +179,25 @@ function SidebarTab2() {
|
||||
handleSelect={(time) => handleSelectTime(time)}
|
||||
/>
|
||||
) : (
|
||||
<LoaderIcon className="2xl:w-8 2xl:h-8 w-6 h-6 animate-spin" />
|
||||
<LoaderIcon className="w-6 h-6 2xl:w-8 2xl:h-8 animate-spin" />
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="flex flex-col sm:gap-6 gap-4">
|
||||
<p className="text-center text-xs opacity-50 leading-tight">
|
||||
<div className="flex flex-col gap-4 sm:gap-6">
|
||||
<p className="text-xs leading-tight text-center opacity-50">
|
||||
<Trans i18nKey={"sidebar.notice"}>
|
||||
Запись на демонстрацию работает в ознакомительном режиме и не
|
||||
сохраняет введенные данные
|
||||
</Trans>
|
||||
</p>
|
||||
|
||||
<div className="flex sm:gap-4 gap-2">
|
||||
<div className="flex gap-2 sm:gap-4">
|
||||
<button
|
||||
onClick={() => setCurrentTab(currentTab - 1)}
|
||||
className="px-6 sm:py-4 py-3.5 border border-[#3D425C] rounded-full font-medium group w-full"
|
||||
>
|
||||
<span className="opacity-80 transition-opacity group-hover:opacity-100 sm:text-base text-sm">
|
||||
<span className="text-sm transition-opacity opacity-80 group-hover:opacity-100 sm:text-base">
|
||||
<Trans i18nKey={"sidebar.buttonBack"}>Назад</Trans>
|
||||
</span>
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user