You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
609 B
24 lines
609 B
import React from 'react';
|
|
import Image from 'next/image';
|
|
|
|
type Props = {
|
|
src: string,
|
|
alt: string,
|
|
};
|
|
|
|
export const CardAdditionally: React.FC<Props> = ({src, alt}) => {
|
|
return(
|
|
<div className={'card_additionally_box'}>
|
|
<div className={'card_additionally_img_box'}>
|
|
<Image
|
|
className = {'additionally_img'}
|
|
src={src}
|
|
alt={alt}
|
|
width={106}
|
|
height={106}
|
|
/>
|
|
</div>
|
|
<p className={'text'}>Coca-Cola</p>
|
|
</div>
|
|
)
|
|
} |