Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/img/brand-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/img/corazon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/img/human-body.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/img/libro.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/img/maletin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
89 changes: 89 additions & 0 deletions src/js/components/Body.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
.body-container {
/* border-radius: 25%; */
/* width: 100%;
height: 100vh; */
}

img {
max-width: 100%;
min-height: 100%;
object-fit: cover;
position: relative;
}

/* .buds img {
width: 50px;
height: 50px;
} */

.emoticons {
display: flex;
flex-direction: column;
justify-content: center;
border-radius: 2rem 2rem 10% 10%;
/* clip-path: polygon(0 0, 100% 0%, 7% 100%, 0% 100%); */
width: 70px;
height: 250px;
align-items: center;
background-color: white;
position: absolute;
top: 50%;
left: 10%;
gap: 5px;
border: 1px solid lightgrey;
}

.emoticon {
width: fit-content;
height: fit-content;
padding: 5px;
background-color: lightgrey;
border-radius: 50%;
}

.super-happy {
font-size: xx-large;
width: 50px;
height: 50px;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
}

.happy {
font-size: x-large;
width: 45px;
height: 45px;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
}
.neutral {
font-size: larger;
width: 40px;
height: 40px;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
}
.sad {
font-size: medium;
width: 35px;
height: 35px;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
}
.angry {
font-size: smaller;
width: 30px;
height: 30px;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
}
51 changes: 51 additions & 0 deletions src/js/components/Body.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
import React from "react";
import Buds from "./Buds.jsx";
import "./Body.css";

//include images into your bundle
import humanBody from "../../img/human-body.jpg";

//create your first component
function Body({ children }) {
return (
<>
<div className="container body-container text-center">
<div>
{children}
<Buds />
</div>

<div className="justify-content-center">
<img className="text-center" src={humanBody} />
</div>
{/* Body Parts */}
</div>
<div>
{/* Emoticons */}
<div className="col emoticons rounded-pill">
<div className="emoticon super-happy">😆</div>
<div className="emoticon happy">🙂</div>
<div className="emoticon neutral">😑</div>
<div className="emoticon sad">😕</div>
<div className="emoticon angry">😡</div>
</div>
</div>
</>
);
}

export default Body;

{
/* Buds
<div className="row buds">
<div className="card">
<div className="card-body">
<h5 className="card-title">Buds</h5>
<p className="card-text">
Hurted
</p>
</div>
</div>
</div> */
}
23 changes: 23 additions & 0 deletions src/js/components/Botonera.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
function Botonera() {
return (
<>
<div className="d-flex flex-column">
<div className="nav-pills">
<ul class="nav flex-column">
<li class="nav-item rounded-circle">
<a
class="nav-link active bg-warning rounded-circle m-1"
aria-current="page"
href="#"
>
<img src="Src/img/libro.png" alt="" />
</a>
</li>
</ul>
</div>
</div>
</>
);
}

export default Botonera;
30 changes: 30 additions & 0 deletions src/js/components/Buds.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
function Buds() {
return (
<>
<div className="">
<div className="card mb-3" style={{ maxWidth: "540px" }}>
<div className="row g-0">
<div className="col-md-4">
<img src="" className="img-fluid rounded-start" alt="..." />
</div>
<div className="col-md-8">
<div className="card-body">
<h5 className="card-title">Card title</h5>
<p className="card-text">
This is a wider card with supporting text below as a natural
lead-in to additional content. This content is a little bit
longer.
</p>
<p className="card-text">
<small className="text-muted">Last updated 3 mins ago</small>
</p>
</div>
</div>
</div>
</div>
</div>
</>
);
}

export default Buds;
116 changes: 116 additions & 0 deletions src/js/components/Calendario.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
const Calendario = () => {
return (
<>
<div className="All vh-100 container-fluid vh-100 m-auto d-flex flex-column">
<div className="calendar h-10 d-flex flex-row align-items-center justify-content-center gap-3 my-4">
<div className="calendarday rounded-5 shadow border-0 bg-light text-center justify-content-center w-25 p-1 bg-opacity-50">
<p className="fs-4 m-0 p-0 d-flex justify-content-center align-items-center">Mon</p>
<p className="fs-4 m-0 p-0 d-flex justify-content-center align-items-center">20</p>
<a>❌</a>
</div>
<div className="calendarday rounded-5 shadow border-0 bg-light text-center justify-content-center w-25 p-1 bg-opacity-50">
<p className="fs-4 m-0 p-0 d-flex justify-content-center align-items-center">Tue</p>
<p className="fs-4 m-0 p-0 d-flex justify-content-center align-items-center">21</p>
<a>❌</a>
</div>
<div className="calendarday rounded-5 shadow border-0 bg-light text-center justify-content-center w-25 p-1">
<p className="fs-4 m-0 p-0 d-flex justify-content-center align-items-center">Wed</p>
<p className="fs-4 m-0 p-0 d-flex justify-content-center align-items-center">22</p>
<a>❌</a>
</div>
<div className="calendarday rounded-5 shadow border-0 bg-light text-center justify-content-center w-25 p-1 bg-opacity-50">
<p className="fs-4 m-0 p-0 d-flex justify-content-center align-items-center">Thu</p>
<p className="fs-4 m-0 p-0 d-flex justify-content-center align-items-center">23</p>
<a>✔️</a>
</div>
<div className="calendarday rounded-5 shadow border-0 bg-light text-center justify-content-center w-25 p-1 bg-opacity-50">
<p className="fs-4 m-0 p-0 d-flex justify-content-center align-items-center">Fri</p>
<p className="fs-4 m-0 p-0 d-flex justify-content-center align-items-center">24</p>
<a>✔️</a>
</div>
</div>

<div className="location rounded-5 w-100 py-4 my-2 h-30 d-flex flex-column align-items-center justify-content-center bg-light">

<div className="location-top m-2 h-30 w-100 d-flex flex-row align-items-center justify-content-center">

<div className="location-top-left shadow p-2 px-3 m-2 h-100 w-75 rounded-5 d-flex flex-row align-items-center justify-content-center">
<div className="car-left shadow h-100 w-25 rounded-circle d-flex align-items-center justify-content-center fs-3">📍</div>

<div className="car-middle shadow m-3 h-100 w-50 rounded-5 d-flex align-items-center justify-content-center fs-5">56 min</div>

<div className="car-right shadow m-3 h-100 w-25 rounded-circle d-flex align-items-center justify-content-center">⚫</div>
</div>

<div className="location-top-right shadow m-2 h-100 w-50 rounded-5 d-flex flex-row align-items-center justify-content-center p-1">

<div className="weather-left m-3 h-100 w-50 rounded-circle d-flex align-items-center justify-content-center fs-1">⛅</div>

<div className="weather-right m-4 w-50 d-flex flex-column justify-content-center align-items-start p-2">
<div className="fs-5 d-flex align-items-start"><strong>48° F</strong></div>
<div className="d-flex align-items-start">Cloudy</div>
</div>
</div>
</div>

<div className="location-bottom my-3 mb-3 w-100 h-70 d-flex flex-row align-items-center justify-content-center">

<div className="location-bottom-left h-100 w-50 rounded-5 d-flex flex-column align-items-center justify-content-center">

<div className="location-bottom-left-1 my-1 h-100 w-75 rounded-5 d-flex flex-row align-items-center justify-content-center">
<button type="button" className="btn btn-light btn-lg w-100 shadow d-flex flex-row rounded-5 p-1 border-0">
<div className="icon m-2 h-100 w-25 rounded-5 d-flex justify-content-end align-items-center">💊</div>
<div className="pill m-2 h-100 w-75 d-flex justify-content-start align-items-center">Atenolol</div>
</button>
</div>

<div className="location-bottom-left-2 my-1 h-100 w-75 rounded-5 d-flex flex-row align-items-center justify-content-center">
<button type="button" className="btn btn-light btn-lg w-100 shadow d-flex flex-row rounded-5 p-1 border-0">
<div className="icon m-2 h-100 w-25 rounded-5 d-flex justify-content-end align-items-center">💊</div>
<div className="pill m-2 h-100 w-75 d-flex justify-content-start align-items-center">Lisinopril</div>
</button>
</div>

<div className="location-bottom-left-3 my-1 h-100 w-75 rounded-5 d-flex flex-row align-items-center justify-content-center">
<button type="button" className="btn btn-light btn-lg w-100 shadow d-flex flex-row rounded-5 p-1 border-0">
<div className="icon m-2 h-100 w-25 rounded-circle d-flex justify-content-end align-items-center">💊</div>
<div className="pill m-2 h-100 w-75 d-flex justify-content-start align-items-center">Astorvastatin</div>
</button>
</div>
</div>

<div className="location-bottom-right m-2 h-100 w-50 rounded-5 d-flex flex-row align-items-center justify-content-center">
<img src="https://www.jaspersoft.com/content/dam/jaspersoft/images/graphics/infographics/donut-chart-example.svg" className="img-fluid "></img>
</div>
</div>
</div>

<div className="quality my-2 h-60 rounded-5 d-flex flex-column align-items-center justify-content-center bg-light">

<div className="quality-top my-3 h-10 rounded-5 w-100 d-flex flex-row align-items-center justify-content-center bg-light">

<div className="quality-top-1 mx-3 h-100 w-50 rounded-5 d-flex align-items-center fs-3">Life Quality</div>

<div className="quality-top-2 m-2 h-100 rounded-circle d-flex align-items-center justify-content-center fs-1 ">...</div>

<div className="quality-top-3 m-2 h-100 w-25 rounded-5 d-flex flex-row align-items-center justify-content-center">
<div className="Week m-2 h-100 w-50 rounded-5 d-flex flex-row align-items-center justify-content-center fs-4">Week</div>
<div className="dots m-2 h-100 w-50 rounded-5 d-flex flex-row align-items-center justify-content-center text-center fs-1">...</div>
</div>
</div>
<div className="quality-middle my-2 h-30 w-100 d-flex flex-row align-items-center justify-content-center bg-light">
<div className="quality-middle-1 m-2 h-100 w-25 d-flex flex-column align-items-center justify-content-center ">
<div className="fs-2">1.765</div>
<div className="">Quality Points</div>
</div>
<div className="quality-middle-2 m-2 h-100 w-75 d-flex flex-row align-items-center justify-content-center">2</div>
</div>
<div className="quality-bottom m-2 h-60 d-flex align-items-center justify-content-center bg-light">3</div>

</div>
</div>
</>
);
};

export default Calendario;
28 changes: 28 additions & 0 deletions src/js/components/Header.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
function Header() {
return (
<>
<ul class="nav justify-content-center">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="#">
Active
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">
Link
</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">
Link
</a>
</li>
<li class="nav-item">
<a class="nav-link disabled">Disabled</a>
</li>
</ul>
</>
);
}

export default Header;
28 changes: 0 additions & 28 deletions src/js/components/Home.jsx

This file was deleted.

Loading