This commit is contained in:
2025-09-19 16:40:05 +05:00
parent a6fd699d55
commit b286e84e9b
3 changed files with 11 additions and 9 deletions
@@ -154,7 +154,7 @@ export default function AboutExperience() {
</h3>
<p className="headline1 text-[#7A7A7A]">
Продукты GRAFF.estate уже четыре раза были представлены
на форуме «Движение», Восточном экономическом форуме, Иннопроме,
на форуме «Движение», Восточном экономическом форуме, Иннопроме
и форуме 100+ TechnoBuild
</p>
</div>
@@ -247,14 +247,16 @@ export default function AboutExperience() {
<DisplacementCard
index={1}
className="lg:top-[8.333vw] lg:left-0 md:max-lg:!translate-y-[3.125vw]"
className={
"lg:top-[8.333vw] lg:left-0 md:max-lg:!translate-y-[3.125vw] !aspect-[223/260]"
}
>
<img
src={"/img/pages/about/experience/cards/wow.png"}
className="lg:w-[9.444vw] lg:h-[9.444vw] md:w-[17.708vw] md:h-[17.708vw] w-[33.333vw] h-[33.333vw] my-auto object-cover hover:scale-[1.15] transition-all duration-300"
alt="Заняли 1 место на WOW AWARDS 2024 совместно с застройщиком Upside Development"
/>
<p className="z-10 text-center btns md:max-lg:text-[1.563vw] max-md:text-[3.333vw]">
<p className="z-10 text-center btns !leading-[120%]">
Мы дважды заняли 1 место на WOW AWARDS в 2024 и 2025 году
совместно с застройщиками Upside Development и LEGENDA
</p>
@@ -167,7 +167,7 @@ export default function Accordeon({
display: isFaqPage ? "inline-block" : "inline",
opacity: isFaqPage ? 0.6 : 1,
}}
className="text2"
className={isFaqPage ? "text1" : "text2"}
>
{item.content}
</span>
+5 -5
View File
@@ -1,13 +1,13 @@
import { api } from '@/api';
import { useAuthStore } from '@/stores/useAuthStore';
import { useQuery } from '@tanstack/react-query';
import { api } from "@/api";
import { useAuthStore } from "@/stores/useAuthStore";
import { useQuery } from "@tanstack/react-query";
export function useCheckAuthQuery() {
const { token } = useAuthStore();
return useQuery({
queryKey: ['checkAuth'],
queryFn: () => api.get('auth/check').json<{ auth: boolean }>(),
queryKey: ["checkAuth"],
queryFn: () => api.get("auth/check").json<{ auth: boolean }>(),
select: (data) => data.auth,
enabled: !!token,
});