add: loading to menu page

This commit is contained in:
Mahyar Khanbolooki
2025-07-12 22:28:03 +03:30
parent 3ba691da3a
commit 3ac533956e
2 changed files with 11 additions and 1 deletions
+10
View File
@@ -0,0 +1,10 @@
import LoadingOverlay from '@/components/overlays/LoadingOverlay'
import React from 'react'
function Loading() {
return (
<LoadingOverlay />
)
}
export default Loading
+1 -1
View File
@@ -211,7 +211,7 @@ const MenuIndex = () => {
<section className="w-full"> <section className="w-full">
<div className="flex justify-between items-center"> <div className="flex justify-between items-center">
<span className="text-base font-semibold"> <span className="text-base font-medium">
{categories[selectedCategory]?.title} {categories[selectedCategory]?.title}
</span> </span>
<div className="inline-flex gap-2 justify-around items-center"> <div className="inline-flex gap-2 justify-around items-center">