icone
This commit is contained in:
@@ -7,7 +7,8 @@ import RoundedInput from "@/components/elements/RoundedInput";
|
||||
import useAxios from "@/hooks/useAxios";
|
||||
import toast from "react-hot-toast";
|
||||
import Rate from "rc-rate";
|
||||
import "rc-rate/assets/index.css";
|
||||
import "rc-rate/assets/index.css";
|
||||
import "@/styles/rc-rate-custom.css";
|
||||
import { useUser } from "@/hooks/useUser";
|
||||
import { Course } from "@/types/types";
|
||||
import { useRequireAuth } from "@/lib/auth/useRequireAuth";
|
||||
|
||||
@@ -4,7 +4,8 @@ import RoundedButton from "@/components/elements/RoundedButton";
|
||||
import { IContactInfo, IFeature, Service } from "@/types/types";
|
||||
import React, { useState } from "react";
|
||||
import Rate from "rc-rate";
|
||||
import "rc-rate/assets/index.css";
|
||||
import "rc-rate/assets/index.css";
|
||||
import "@/styles/rc-rate-custom.css";
|
||||
import Image from "next/image";
|
||||
import useAxios from "@/hooks/useAxios";
|
||||
import BillboardServicesModal from "./BillboardServicesModal";
|
||||
|
||||
@@ -40,7 +40,7 @@ export const IMAGE_BASE_URL = getStorageBaseUrl();
|
||||
|
||||
/** نسخه آیکونها — با هر تغییر آیکون این مقدار را افزایش دهید */
|
||||
export const ICON_VERSION =
|
||||
process.env.NEXT_PUBLIC_ICON_VERSION ?? "6";
|
||||
process.env.NEXT_PUBLIC_ICON_VERSION ?? "7";
|
||||
|
||||
/** URL آیکون استاتیک با cache-busting */
|
||||
export function staticIconUrl(path: string): string {
|
||||
|
||||
@@ -5,7 +5,8 @@ import RoundedInput from "@/components/elements/RoundedInput";
|
||||
import useAxios from "@/hooks/useAxios";
|
||||
import toast from "react-hot-toast";
|
||||
import Rate from "rc-rate";
|
||||
import "rc-rate/assets/index.css";
|
||||
import "rc-rate/assets/index.css";
|
||||
import "@/styles/rc-rate-custom.css";
|
||||
import BoldIcon from "@/components/ui/BoldIcon";
|
||||
import ProfileAvatar from "@/components/main/ProfileAvatar";
|
||||
import { useRequireAuth } from "@/lib/auth/useRequireAuth";
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
|
||||
import React, { useState, useEffect } from "react";
|
||||
import Rate from "rc-rate";
|
||||
import "rc-rate/assets/index.css";
|
||||
import "rc-rate/assets/index.css";
|
||||
import "@/styles/rc-rate-custom.css";
|
||||
import useAxios from "@/hooks/useAxios";
|
||||
import RoundedButton from "@/components/elements/RoundedButton";
|
||||
import toast from "react-hot-toast";
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import React, { useState, useEffect } from "react";
|
||||
import Rate from "rc-rate";
|
||||
import "rc-rate/assets/index.css";
|
||||
import "rc-rate/assets/index.css";
|
||||
import "@/styles/rc-rate-custom.css";
|
||||
import Modal from "@/components/elements/Modal";
|
||||
import useAxios from "@/hooks/useAxios";
|
||||
import { IOffers } from "@/types/types";
|
||||
|
||||
11
src/styles/rc-rate-custom.css
Normal file
11
src/styles/rc-rate-custom.css
Normal file
@@ -0,0 +1,11 @@
|
||||
.rc-rate-star-full .rc-rate-star-content:before,
|
||||
.rc-rate-star-half .rc-rate-star-content:before,
|
||||
.rc-rate-star-full i,
|
||||
.rc-rate-star-half i {
|
||||
color: gold !important;
|
||||
}
|
||||
|
||||
.rc-rate-star:hover .rc-rate-star-content:before,
|
||||
.rc-rate-star:hover i {
|
||||
color: gold !important;
|
||||
}
|
||||
Reference in New Issue
Block a user