PHP Classes

File: frontend/src/components/SimpleShopCard/index.tsx

Recommend this page to a friend!
  Classes of Carlos Carvalho   yrprey PHP application   frontend/src/components/SimpleShopCard/index.tsx   Download  
File: frontend/src/components/SimpleShopCard/index.tsx
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: yrprey PHP application
Web app to learn about OWASP API vulnerabilities
Author: By
Last change:
Date: 8 months ago
Size: 717 bytes
 

Contents

Class file image Download
import Image from "next/image"; import Link from "next/link"; import { StyledCardShopClean } from "./style"; import { ICardShopClean } from "@/interfaces/IChildren/ICardShop"; const CardShopClean = ({ image, title_image, title }: ICardShopClean) => { return ( <StyledCardShopClean> <Link href="/shop/collection/red" className="link"> <div className="card-shop-clean"> <Image className="card-img" src={image} fill alt={title_image} ></Image> </div> <div className="card-details"> <p className="text-title">{title}</p> </div> </Link> </StyledCardShopClean> ); } export default CardShopClean;