diff --git a/src/app/[name]/(Dialogs)/game/page.tsx b/src/app/[name]/(Dialogs)/game/page.tsx index 4e5a192..a193424 100644 --- a/src/app/[name]/(Dialogs)/game/page.tsx +++ b/src/app/[name]/(Dialogs)/game/page.tsx @@ -4,6 +4,7 @@ import { type FC } from 'react' import { useRouter } from 'next/navigation' import Seperator from '@/components/utils/Seperator' import Image from 'next/image' +import { glassSurfaceCardFlat } from '@/lib/styles/glassSurface' const GamePage: FC = () => { @@ -46,7 +47,7 @@ const GamePage: FC = () => {
{notification.content}
diff --git a/src/app/[name]/(Dialogs)/order/checkout/[id]/components/AddressSection.tsx b/src/app/[name]/(Dialogs)/order/checkout/[id]/components/AddressSection.tsx index ecc2faa..d8d4444 100644 --- a/src/app/[name]/(Dialogs)/order/checkout/[id]/components/AddressSection.tsx +++ b/src/app/[name]/(Dialogs)/order/checkout/[id]/components/AddressSection.tsx @@ -8,6 +8,7 @@ import Link from 'next/link'; import { useParams } from 'next/navigation'; import { useEffect, useMemo } from 'react'; import { useTranslation } from 'react-i18next'; +import { glassSurfaceCard } from '@/lib/styles/glassSurface'; import { useCheckoutStore } from '../../store/Store'; import useToggle from '@/hooks/helpers/useToggle'; import { AddressSelectionModal } from './AddressSelectionModal'; @@ -66,7 +67,7 @@ export const AddressSection = () => { // اگر آدرس ندارد if (addresses.length === 0) { return ( -
@@ -89,7 +90,7 @@ export const AddressSection = () => {
return (
<>
- {restaurant.address}{t("SectionAddress.Title")}
diff --git a/src/app/[name]/(Dialogs)/order/checkout/[id]/components/CarAddressSection.tsx b/src/app/[name]/(Dialogs)/order/checkout/[id]/components/CarAddressSection.tsx
index c791156..8d864be 100644
--- a/src/app/[name]/(Dialogs)/order/checkout/[id]/components/CarAddressSection.tsx
+++ b/src/app/[name]/(Dialogs)/order/checkout/[id]/components/CarAddressSection.tsx
@@ -1,6 +1,7 @@
'use client';
import InputField from '@/components/input/InputField';
+import { glassSurfaceCard } from '@/lib/styles/glassSurface';
import { useCheckoutStore } from '../../store/Store';
import { useCallback, useEffect } from 'react';
@@ -42,7 +43,7 @@ export const CarAddressSection = () => {
}, [carAddress, setCarAddress]);
return (
-
اطلاعات خودرو
diff --git a/src/app/[name]/(Dialogs)/order/checkout/[id]/components/CouponSection.tsx b/src/app/[name]/(Dialogs)/order/checkout/[id]/components/CouponSection.tsx
index a46c235..002d15e 100644
--- a/src/app/[name]/(Dialogs)/order/checkout/[id]/components/CouponSection.tsx
+++ b/src/app/[name]/(Dialogs)/order/checkout/[id]/components/CouponSection.tsx
@@ -8,6 +8,7 @@ import { useApplyCoupon, useRemoveCoupon } from '../../hooks/useOrderData';
import Button from '@/components/button/PrimaryButton';
import { extractErrorMessage } from '@/lib/func';
import { toast } from '@/components/Toast';
+import { glassSurfaceCard } from '@/lib/styles/glassSurface';
import { useEffect, useState } from 'react';
import { useGetCartItems } from '@/app/[name]/(Main)/cart/hooks/useCartData';
@@ -73,7 +74,7 @@ export const CouponSection = ({
}, [cartItems, onCouponCodeChange]);
return (
-
{t("SectionCoupon.Title")}
diff --git a/src/app/[name]/(Dialogs)/order/checkout/[id]/components/PaymentSection.tsx b/src/app/[name]/(Dialogs)/order/checkout/[id]/components/PaymentSection.tsx
index 2dfb3c1..99998e0 100644
--- a/src/app/[name]/(Dialogs)/order/checkout/[id]/components/PaymentSection.tsx
+++ b/src/app/[name]/(Dialogs)/order/checkout/[id]/components/PaymentSection.tsx
@@ -8,6 +8,7 @@ import { RadioGroup, RadioGroupItem } from "@/components/ui/radio-group";
import { extractErrorMessage } from "@/lib/func";
import { Card, Icon, Wallet2 } from "iconsax-react";
import Image from "next/image";
+import { glassSurfaceCard } from "@/lib/styles/glassSurface";
import { useCallback, useMemo, useRef } from "react";
import { useTranslation } from "react-i18next";
import { PaymentMethodEnum } from "../../enum/Enum";
@@ -121,7 +122,7 @@ export const PaymentSection = ({ paymentType, onPaymentTypeChange }: PaymentSect
};
return (
- {tOrderDetail("SectionPayment.Title")}
diff --git a/src/app/[name]/(Dialogs)/order/checkout/[id]/components/ShippingSection.tsx b/src/app/[name]/(Dialogs)/order/checkout/[id]/components/ShippingSection.tsx
index 16bd6b2..1f0f080 100644
--- a/src/app/[name]/(Dialogs)/order/checkout/[id]/components/ShippingSection.tsx
+++ b/src/app/[name]/(Dialogs)/order/checkout/[id]/components/ShippingSection.tsx
@@ -6,6 +6,7 @@ import { useTranslation } from 'react-i18next';
import { useGetShipmentMethod } from '../../hooks/useOrderData';
import { DeliveryMethod } from '../../types/Types';
import { useCheckoutStore } from '../../store/Store';
+import { glassSurfaceCard } from '@/lib/styles/glassSurface';
type ShippingSectionProps = {
deliveryType: string;
@@ -57,7 +58,7 @@ export const ShippingSection = ({ deliveryType, onDeliveryTypeChange }: Shipping
})) || [];
return (
- {tOrderDetail("SectionShipping.Title")}
{t("SectionTable.Title")}
diff --git a/src/app/[name]/(Dialogs)/verify/[id]/page.tsx b/src/app/[name]/(Dialogs)/verify/[id]/page.tsx
index 11fd65f..19a0eef 100644
--- a/src/app/[name]/(Dialogs)/verify/[id]/page.tsx
+++ b/src/app/[name]/(Dialogs)/verify/[id]/page.tsx
@@ -8,6 +8,7 @@ import React, { useEffect, useState } from 'react'
import { useVerify } from '../hooks/useVerifyData';
import { toast } from '@/components/Toast';
import { VerifyData } from '../types/Types';
+import { glassSurfaceCard } from '@/lib/styles/glassSurface';
type Props = object
@@ -74,7 +75,7 @@ export default function VerifyIndex({ }: Props) {
return (
{foodName}
@@ -264,7 +265,7 @@ function FoodPage({}: Props) {
diff --git a/src/app/[name]/(Main)/about/AboutPage.tsx b/src/app/[name]/(Main)/about/AboutPage.tsx
index 83db909..df93658 100644
--- a/src/app/[name]/(Main)/about/AboutPage.tsx
+++ b/src/app/[name]/(Main)/about/AboutPage.tsx
@@ -13,6 +13,7 @@ import Image from 'next/image';
import React from 'react'
import { useGetAbout, useGetReviews, useGetSchedules } from './hooks/useAboutData';
import AboutSkeleton from './components/AboutSkeleton';
+import { glassSurfaceCard, glassSurfaceCardFlat, glassSurfaceFlat } from '@/lib/styles/glassSurface';
const sortings = [
'جدیدترین',
@@ -81,7 +82,7 @@ function AboutPage() {
return (
{restaurant.name}
@@ -123,7 +124,7 @@ function AboutPage() {
{(restaurant.phone || restaurant.telegram || restaurant.whatsapp || restaurant.instagram) && (
ارتباط
آدرس
نظرات کاربران
-