Add empty AST cache file for version 0.8.44 with non-object root data
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user