کار بر روی ظاهر | 60

temp
mahdi andalib 2 years ago
parent 66a498e6f0
commit b4830c9b77
  1. 2
      src/views/Product/Desktop/ProductOverAll/index.js
  2. 4
      src/views/Products/layouts/Desktop/Main.js

@ -79,7 +79,7 @@ export const ProductOverAll = ({ book, grades, isDark, loading }) => {
/> />
<a <a
href={`https://dnvn.ir/xpdf/${book?.sampleFileId}`} href={`https://dnvn.ir/xpdf/${book?.sampleFileId}`}
className="flex-1 py-4 border border-solid border-red19 rounded-md text-tiny font-bold text-red19 text-center" className="flex-1 py-4 text-sm border border-solid border-red19 rounded-md font-bold text-red19 text-center"
> >
مشاهده نمونه مشاهده نمونه
</a> </a>

@ -137,7 +137,7 @@ export const Main = ({
useEffect(() => { useEffect(() => {
const fetchPosts = async () => { const fetchPosts = async () => {
setLoading(true); setLoading(true);
const res = await axios.get("https://dnvn.ir/api/v1/userProduct/list"); const res = await axios.get("https://jsonplaceholder.typicode.com/posts");
setPosts(res.data); setPosts(res.data);
setLoading(false); setLoading(false);
}; };
@ -297,7 +297,7 @@ export const Main = ({
</Carousel> </Carousel>
</div> </div>
)} )}
<div className="w-full flex flex-row flex-wrap bg-blue-400 mt-0 border-t-2 border-solid border-gray-100 overflow-y-hidden gap-4 justify-evenly pt-3"> <div className="w-full flex flex-row flex-wrap mt-0 border-t-2 border-solid border-gray-100 overflow-y-hidden gap-4 justify-evenly pt-3">
{Items(1)} {Items(1)}
</div> </div>
</div> </div>

Loading…
Cancel
Save