feat(ux): optimize mobile spacing, padding and density across landing sections without removing content
Deploy Canina / deploy (push) Successful in 2m6s
Deploy Canina / deploy (push) Successful in 2m6s
This commit is contained in:
1 parent
9149e2b5ab
commit
d77ddd4bb2
6 files changed
+25
-22
No files matched your search
@@ -13,10 +13,13 @@ export default function TickerBanner() {
|
||||
const textFa = getText("site_logo_text_fa", "ایران");
|
||||
const isBlobOrData = typeof logoUrl === 'string' && (logoUrl.startsWith('blob:') || logoUrl.startsWith('data:'));
|
||||
|
||||
const announcementText = getText(
|
||||
const rawNotice = getText(
|
||||
"shipping_notice",
|
||||
"ارسال رایگان برای سفارشهای بالای ۱۵۰ هزار تومان — گارانتی اصالت کنینا آلمان — مشاوره تخصصی مکملهای دارویی سگ و گربه با کادر دامپزشکان مجرب"
|
||||
);
|
||||
const announcementText = typeof rawNotice === 'string'
|
||||
? rawNotice.replace(/ /g, ' ').replace(/&/g, '&').replace(/"/g, '"').replace(/</g, '<').replace(/>/g, '>')
|
||||
: '';
|
||||
|
||||
return (
|
||||
<div className="bg-canina-gold text-canina-dark select-none shadow-xs border-b border-amber-300/40">
|
||||
|
||||
Reference in new issue
Block a user