Main Page start

This commit is contained in:
ishitb
2020-07-28 03:23:27 +05:30
parent c261fd8897
commit d5cf3818a7
7 changed files with 216 additions and 18 deletions

20
src/assets/card.js Normal file
View File

@@ -0,0 +1,20 @@
import React, { useState, useEffect } from "react";
import "./card.css";
function Card({ name, image, network }) {
return (
<div
className="card"
style={
{
background: `url(${image}) no-repeat center center/cover`
}
}
>
<h1>{name}</h1>
<p>Network : {network} </p>
</div>
);
}
export default Card;