Mass replace irelax with homaroma across project

This commit is contained in:
Your Name committed 2026-06-03 11:01:01 +07:00
1 parent 5e6cb851de
commit d9c79aa900
57 files changed
+117 -117

No files matched your search

+2 -2
View File
@@ -14,7 +14,7 @@ export default function Footer({ categories = [] }: FooterProps) {
<div className="max-w-7xl mx-auto grid grid-cols-1 md:grid-cols-4 gap-12">
<div className="space-y-6">
<div className="text-2xl font-bold tracking-widest">
iRelax <span className="text-cyan-glow text-sm font-light italic">Essential</span>
HomAroma <span className="text-cyan-glow text-sm font-light italic">Essential</span>
</div>
<p className="text-slate-500 text-sm leading-relaxed">
{t('footer.catchphrase')}
@@ -65,7 +65,7 @@ export default function Footer({ categories = [] }: FooterProps) {
</button>
</div>
<p className="text-[10px] text-slate-600 uppercase tracking-widest">
© {new Date().getFullYear()} iRelax Essential. {t('footer.rights')}
© {new Date().getFullYear()} HomAroma. {t('footer.rights')}
</p>
</div>
</div>
+3 -3
View File
@@ -27,7 +27,7 @@ export default function Navbar({ categories = [] }: NavbarProps) {
const toggleLanguage = () => {
const newLang = i18n.language.startsWith('en') ? 'th' : 'en'
i18n.changeLanguage(newLang)
localStorage.setItem('irelax_lang', newLang)
localStorage.setItem('homaroma_lang', newLang)
}
// Detect scroll for navbar bg change
@@ -36,7 +36,7 @@ export default function Navbar({ categories = [] }: NavbarProps) {
window.addEventListener('scroll', onScroll, { passive: true })
// Check local orders periodically (or just on mount)
const stored = localStorage.getItem('irelax_local_orders')
const stored = localStorage.getItem('homaroma_local_orders')
if (stored) {
try { setLocalOrdersCount(JSON.parse(stored).length) } catch (e) {}
}
@@ -75,7 +75,7 @@ export default function Navbar({ categories = [] }: NavbarProps) {
>
{/* Logo */}
<Link href="/" onClick={() => setMobileOpen(false)} className="text-xl md:text-2xl font-bold tracking-widest text-white uppercase italic shrink-0">
iRelax <span className="text-cyan-glow text-xs md:text-sm not-italic font-light opacity-60">Essential</span>
HomAroma <span className="text-cyan-glow text-xs md:text-sm not-italic font-light opacity-60">Essential</span>
</Link>
{/* ── DESKTOP NAV ── */}