add rate feature to orders page & enhance menu page

This commit is contained in:
2025-12-30 01:22:49 +03:00
parent 0edd13f2fb
commit a64f92d1fd
10 changed files with 218 additions and 33 deletions

View File

@@ -16,6 +16,7 @@ import { Link, useParams } from "react-router-dom";
import { useGetRestaurantDetailsQuery } from "redux/api/others";
import { useAppDispatch, useAppSelector } from "redux/hooks";
import styles from "./restaurant.module.css";
import ScheduleOrderIcon from "components/Icons/ScheduleOrderIcon";
export default function RestaurantServices() {
const { t } = useTranslation();
@@ -149,7 +150,7 @@ export default function RestaurantServices() {
title: t("common.scheduledOrder"),
description: t("home.services.scheduledOrder"),
icon: (
<ScheduleFilled
<ScheduleOrderIcon
className={styles.serviceIcon + " " + styles.scheduledOrderIcon}
/>
),
@@ -220,9 +221,11 @@ export default function RestaurantServices() {
<ProTitle
level={5}
style={{
margin: 0,
fontWeight: 500,
fontSize: 14,
fontWeight: 600,
lineHeight: "140%",
letterSpacing: "0%",
verticalAlign: "middle",
}}
>
{s?.title}