work and created develop branch

This commit is contained in:
2024-11-14 17:46:13 -05:00
parent 9cbf394b0c
commit cca47965a6
36 changed files with 2315 additions and 54 deletions

View File

@@ -0,0 +1,14 @@
.card {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
max-width: 80%;
margin: auto;
text-align: center;
padding: 1em;
}
.close {
font-size: 1.5em;
float: right;
cursor: pointer;
}

View File

@@ -0,0 +1,23 @@
import React from "react";
import "./index.css";
class Card extends React.Component {
constructor( props ) {
super(props)
this.state = { show : true };
}
render() {
return (
<div className="card" >
<span
className="close" onClick={this.props.dataclick}
datatitle={this.props.title}>&times;</span>
<h3>{this.props.title}</h3>
<p>{this.props.content}</p>
</div>
);
}
}
export default Card;