Add empty AST cache file for version 0.8.44 with non-object root data

This commit is contained in:
hamed
2026-07-08 17:38:32 +03:30
parent 082f54cf4d
commit ee47b535d8
110 changed files with 415 additions and 790 deletions
+6 -7
View File
@@ -37,7 +37,8 @@ function buildSocialUrl(name, value) {
case "telegram":
return `https://t.me/${handle}`;
case "whatsapp":
return `https://wa.me/${handle.replace(/\D/g, "")}`;
// wa.me needs international format: 09xx… → 989xx…
return `https://wa.me/${handle.replace(/\D/g, "").replace(/^0/, "98")}`;
default:
return value;
}
@@ -76,8 +77,7 @@ function Footer({ matchedCity }) {
onClick={(e) => !item.link && e.preventDefault}
>
<div
className="flex flex-col lg:flex-row items-center cursor-pointer justify-start gap-1 p-[6px] hover:transition-all
transition-all duration-300 hover:duration-300 rounded-[8px] border-solid border border-[#EFEFEF] bg-[#F7F7F7] hover:bg-none hover:border-[#FDBD9F]"
className="flex flex-col lg:flex-row items-center cursor-pointer justify-start gap-1 p-[6px] hover:transition-all transition-all duration-300 hover:duration-300 rounded-[8px] border-solid border border-[#EFEFEF] bg-[#F7F7F7] hover:bg-none hover:border-[#FDBD9F]"
>
{item.icon}
<p className="text-[#2F2F2F] text-center text-[12px] sm:text-[14px] md:text-[16px] font-medium">
@@ -89,15 +89,14 @@ function Footer({ matchedCity }) {
</div>
<span className="h-px bg-[#D7D7D7] mb-[40px] mt-[48px] w-full block"></span>
<div
className="pb-[16px] sm:pb-[18px] md:pb-[19px] lg:pb-[21px]
flex flex-col gap-[16px] lg:gap-0 lg:flex-row items-start justify-between"
className="pb-[16px] sm:pb-[18px] md:pb-[19px] lg:pb-[21px] flex flex-col gap-[16px] lg:gap-0 lg:flex-row items-start justify-between"
>
{/* Right */}
<div className="w-full lg:w-fit flex gap-[12px] lg:gap-[30px] flex-col items-start">
{/* Icon */}
<Logo matchedCity={matchedCity} />
<p className="w-full lg:w-fit lg:max-w-[260px] text-[#616161] text-[14px] font-normal">
{matchedCity?.footerDescription}
{matchedCity?.footer_description}
</p>
<div className="hidden lg:flex">
<LogoNamad />
@@ -131,7 +130,7 @@ function Footer({ matchedCity }) {
</p>
<ul className="flex items-center gap-[8px] sm:gap-[11px] md:gap-[13px] lg:gap-[15px]">
{socialMedias.map((item, idx) => {
const url = buildSocialUrl(item.name, matchedCity?.socialMedia?.[item.name]);
const url = buildSocialUrl(item.name, matchedCity?.social_media?.[item.name]);
return (
<li
key={idx}
+1 -4
View File
@@ -9,10 +9,7 @@ function HeadMenu({ title, name, isOpen, changeMenu }) {
>
<p className="text-[#262866] text-[14px] font-medium">{title.name}</p>
<div
className={`
transition-all duration-500
${isOpen ? "rotate-180" : "rotate-0"}
`}
className={` transition-all duration-500 ${isOpen ? "rotate-180" : "rotate-0"} `}
>
<ArrowDownF />
</div>
+2 -13
View File
@@ -4,23 +4,12 @@ import React from "react";
function ListMenu({ list, isOpen }) {
return (
<ul
className={`
mt-3 lg:mt-0 w-full lg:w-fit lg:!max-h-fit flex flex-col overflow-hidden transition-all duration-500 gap-3
${isOpen ? "max-h-[150px]" : "max-h-0"}
`}
className={` mt-3 lg:mt-0 w-full lg:w-fit lg:!max-h-fit flex flex-col overflow-hidden transition-all duration-500 gap-3 ${isOpen ? "max-h-[150px]" : "max-h-0"} `}
>
{list.map((item, idx) => (
<li
key={idx}
className={`
relative cursor-pointer after:absolute after:right-0 after:h-0.5 after:bottom-0 after:w-0
${
idx === 0
? "hidden lg:flex text-[#3B3B3B] after:hover:w-full after:!duration-500 after:transition-all after:hover:bg-[#F17732] font-bold pb-1.5"
: "text-[#616161] border-transparent font-normal"
}
text-[16px] w-fit
`}
className={` relative cursor-pointer after:absolute after:right-0 after:h-0.5 after:bottom-0 after:w-0 ${ idx === 0 ? "hidden lg:flex text-[#3B3B3B] after:hover:w-full after:!duration-500 after:transition-all after:hover:bg-[#F17732] font-bold pb-1.5" : "text-[#616161] border-transparent font-normal" } text-[16px] w-fit `}
>
{item.link ? <Link href={item.link}>{item.name}</Link> : item.name}
</li>