fix: update WhatsApp contact link and correct footer company name
This commit is contained in:
parent
c246c51ee6
commit
42781e36bf
Binary file not shown.
|
Before Width: | Height: | Size: 80 KiB After Width: | Height: | Size: 14 KiB |
@ -52,8 +52,8 @@ export async function POST(request: Request) {
|
|||||||
const messages = await readMessages();
|
const messages = await readMessages();
|
||||||
messages.push(entry);
|
messages.push(entry);
|
||||||
|
|
||||||
await mkdir(DATA_DIR, { recursive: true });
|
// await mkdir(DATA_DIR, { recursive: true });
|
||||||
await writeFile(DATA_FILE, JSON.stringify(messages, null, 2), "utf-8");
|
// await writeFile(DATA_FILE, JSON.stringify(messages, null, 2), "utf-8");
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error("[contact] gagal menyimpan pesan:", error);
|
console.error("[contact] gagal menyimpan pesan:", error);
|
||||||
return NextResponse.json({ status: 500, message: "Gagal menyimpan pesan" }, { status: 500 });
|
return NextResponse.json({ status: 500, message: "Gagal menyimpan pesan" }, { status: 500 });
|
||||||
|
|||||||
@ -2,7 +2,7 @@ import { WhatsappLogoIcon } from '@phosphor-icons/react/ssr'
|
|||||||
|
|
||||||
const WhatsAppBubble = () => {
|
const WhatsAppBubble = () => {
|
||||||
return (
|
return (
|
||||||
<a href="https://wa.me/02129755506" target="_blank" rel="noopener noreferrer" className=' z-40 bottom-4 bg-[#25D366] cursor-pointer w-14 h-14 rounded-full flex items-center justify-center right-4 fixed'>
|
<a href="https://wa.me/6285163123476?text=Hi%2C+Mulia+Informasi+Teknologi%21%0ASaya+tertarik+dengan+layanan+yang+ditawarkan+dan+ingin+berdiskusi+lebih+lanjut.%0A%0ATerima+kasih%21" target="_blank" rel="noopener noreferrer" className=' z-40 bottom-4 bg-[#25D366] cursor-pointer w-14 h-14 rounded-full flex items-center justify-center right-4 fixed'>
|
||||||
<WhatsappLogoIcon className='size-8 text-white' />
|
<WhatsappLogoIcon className='size-8 text-white' />
|
||||||
</a>
|
</a>
|
||||||
)
|
)
|
||||||
|
|||||||
@ -24,7 +24,7 @@ export default function Footer() {
|
|||||||
<p className="text-sm lg:text-lg">connect@muliainformasi.co.id</p>
|
<p className="text-sm lg:text-lg">connect@muliainformasi.co.id</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="w-full pt-4 border-t border-primary-600 hidden lg:flex text-lg">Mulia Informasi Teknologi @2026. All Right Reserved</div>
|
<div className="w-full pt-4 border-t border-primary-600 hidden lg:flex text-lg">PT Mulia Informasi Teknologi @2026. All Right Reserved</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="flex flex-col gap-4">
|
<div className="flex flex-col gap-4">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user