Files
SusMarket/reactapp/src/components/ProfilePurchases.tsx
RailTH 717d6b913c Coding catalog menu & products with API request and other
Coding rendering categories and products by API request, sorting of products by categories, reset sorting by clicking heading 1 'SusMarket' & other fixes
2024-05-05 14:16:09 +11:00

28 lines
1.1 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import React from "react";
import { Link } from "react-router-dom";
import '../ProfileStyle.scss';
import ProfileInfo from "./ProfileInfo";
import ProductCard from "./ProductCard";
export default function ProfilePurchases() {
return(
<section className="purchases-section">
<nav className="profile-page__nav">
<Link to="/profile" className="profile-link">
Мои заказы
</Link>
<Link to="purchases" className="profile-link active">
Мои покупки
</Link>
</nav>
<div className="purchases-container">
<ProfileInfo />
<div className="purchases-div">
{/* <ProductCard ProductImg={ProductImage} ProductName="Абеме" Price={150}/>
<ProductCard ProductImg={ProductImage} ProductName="Абеме" Price={1234523453}/>
<ProductCard ProductImg={ProductImage} ProductName="Абеме" Price={10}/> */}
</div>
</div>
</section>
)
}