Skip to content

Commit

Permalink
Deploying to gh-pages from @ 6d33482 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
VasylievYurii committed Nov 20, 2023
1 parent ec26bbd commit 28ed5b3
Show file tree
Hide file tree
Showing 20 changed files with 53 additions and 53 deletions.
2 changes: 1 addition & 1 deletion 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap" rel="stylesheet" />

<script type="module" crossorigin src="/PowerPulse2.0/assets/index-ae26fe96.js"></script>
<script type="module" crossorigin src="/PowerPulse2.0/assets/index-1be14bae.js"></script>
<link rel="stylesheet" href="/PowerPulse2.0/assets/index-4e1c0f05.css">
</head>

Expand Down
4 changes: 2 additions & 2 deletions assets/Diary-293258bf.js → assets/Diary-46c49cd4.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{f as V,s as r,r as p,j as e,d,u as C,W as X,c as D,X as S,a as I,Y as Z,Z as M,$ as J,a0 as K,a1 as Q,a2 as U,S as ee}from"./index-ae26fe96.js";import{T as te}from"./TitlePage-33a99b15.js";import{b as ie,c as re,t as ne}from"./react-datepicker-d05c4cd5.js";import{f as $}from"./createClass-3ee96c4c.js";const oe=V`
import{f as V,s as r,r as p,j as e,d,u as C,W as X,c as D,X as S,a as I,Y as Z,Z as M,$ as J,a0 as K,a1 as Q,a2 as U,S as ee}from"./index-1be14bae.js";import{T as te}from"./TitlePage-9840b8b3.js";import{b as ie,c as re,t as ne}from"./react-datepicker-0f30db79.js";import{f as $}from"./createClass-ad8dc051.js";const oe=V`
.react-datepicker__wrapper {
position: relative;
Expand Down Expand Up @@ -507,7 +507,7 @@ import{f as V,s as r,r as p,j as e,d,u as C,W as X,c as D,X as S,a as I,Y as Z,Z
width: 14px;
height: 14px;
border-radius: 10px;
background: ${i=>i.color?"var(--color-approved-two)":"var(--color-wrong-two)"};
background: ${i=>i.color==="true"?"var(--color-approved-two)":"var(--color-wrong-two)"};
`,we=({meal:i,points:t})=>{let{_id:s,product:{title:a,category:{name:o},groupBloodNotAllowed:x},profile:{blood:n},calories:l,weight:c}=i;const u=C(),f=j=>{u(X(j))};return e.jsxs(A,{children:[e.jsxs(m,{children:[e.jsx(g,{children:"Title"}),e.jsx(w,{width:t<1440&&t>=768?"204px":t>=1440?"212px":"100%",children:a})]}),e.jsxs(m,{children:[e.jsx(g,{children:"Category"}),e.jsx(w,{width:t<1440&&t>=768?"128px":t>=1440?"166px":"100%",children:o})]}),e.jsxs(F,{children:[e.jsxs(m,{children:[e.jsx(g,{children:"Calories"}),e.jsx(w,{$maxwidth:"81px",width:t<1440&&t>=768?"90px":t>=1440?"105px":"100%",children:l})]}),e.jsxs(m,{children:[e.jsx(g,{children:"Weight"}),e.jsx(w,{$maxwidth:"80px",width:t<1440&&t>=768?"90px":t>=1440?"105px":"100%",children:c})]}),e.jsxs(m,{children:[e.jsx(g,{children:"Recommend"}),e.jsxs(w,{$maxwidth:"76px",display:"flex",width:t<1440&&t>=768?"80px":t>=1440?"110px":"100%",children:[e.jsx(ge,{color:`${x[n]}`}),x[n]?"Yes":"No"]})]}),e.jsx(Y,{type:"button",onClick:()=>f(s),children:e.jsx(G,{children:e.jsx("use",{href:`${d}#icon-trash`})})})]})]},s)},ue=()=>{const i=D(S),[t,s]=p.useState(window.innerWidth),a=()=>s(window.innerWidth);return p.useEffect(()=>(window.addEventListener("resize",a),()=>window.removeEventListener("resize",a)),[]),e.jsxs(R,{children:[e.jsxs(P,{children:[e.jsx(L,{children:"Products"}),e.jsx(I,{to:"/products",children:e.jsxs(B,{children:["Add product",e.jsx(N,{children:e.jsx("use",{href:`${d}#icon-arrow`})})]})})]}),i.length!==0?e.jsxs(e.Fragment,{children:[e.jsxs(H,{children:[e.jsx(h,{width:t<1440?"206px":"212px",children:"Title"}),e.jsx(h,{width:t<1440?"130px":"166px",children:"Category"}),e.jsx(h,{width:t<1440?"92px":"105px",children:"Calories"}),e.jsx(h,{width:t<1440?"92px":"105px",children:"Weight"}),e.jsx(h,{width:t<1440?"82px":"110px",children:"Recommend"})]}),e.jsxs(q,{children:[" ",i.map(o=>e.jsx(we,{meal:o,points:t},o._id))," "]})]}):e.jsx(O,{children:"Not found products"})]})},fe=({workout:i,points:t})=>{let{_id:s,burnedCalories:a,time:o,exercise_id:{bodyPart:x,equipment:n,name:l,target:c}}=i;const u=C(),f=j=>{u(Z(j))};return e.jsxs(A,{children:[e.jsxs(m,{children:[e.jsx(g,{children:"Body Part"}),e.jsx(w,{width:t<1440&&t>=768?"90px":t>=1440?"115px":"100%",children:x})]}),e.jsxs(m,{children:[e.jsx(g,{children:"Equipment"}),e.jsx(w,{width:t<1440&&t>=768?"132px":t>=1440?"157px":"100%",children:n})]}),e.jsxs(m,{children:[e.jsx(g,{children:"Name"}),e.jsx(w,{width:t<1440&&t>=768?"128px":t>=1440?"131px":"100%",children:l})]}),e.jsxs(F,{children:[e.jsxs(m,{children:[e.jsx(g,{children:"Target"}),e.jsx(w,{$maxwidth:"81px",width:t<1440&&t>=768?"84px":t>=1440?"106px":"100%",children:c})]}),e.jsxs(m,{children:[e.jsx(g,{size:"80px",children:"Burned Calories"}),e.jsx(w,{$maxwidth:"80px",width:t<1440&&t>=768?"78px":t>=1440?"91px":"100%",children:a})]}),e.jsxs(m,{children:[e.jsx(g,{children:"Time"}),e.jsx(w,{$maxwidth:"76px",width:t<1440&&t>=768?"72px":t>=1440?"82px":"100%",children:o})]}),e.jsx(Y,{type:"button",onClick:()=>f(s),children:e.jsx(G,{children:e.jsx("use",{href:`${d}#icon-trash`})})})]})]},s)},je=()=>{const i=D(M),[t,s]=p.useState(window.innerWidth),a=()=>s(window.innerWidth);return p.useEffect(()=>(window.addEventListener("resize",a),()=>window.removeEventListener("resize",a)),[]),e.jsxs(R,{height:"1066px",children:[e.jsxs(P,{children:[e.jsx(L,{children:"Exercises"}),e.jsx(I,{to:"/exercises",children:e.jsxs(B,{children:["Add exercise",e.jsx(N,{children:e.jsx("use",{href:`${d}#icon-arrow`})})]})})]}),i.length!==0?e.jsxs(e.Fragment,{children:[e.jsxs(H,{children:[e.jsx(h,{width:t<1440?"90px":"115px",children:"Body Part"}),e.jsx(h,{width:t<1440?"132px":"157px",children:"Equipment"}),e.jsx(h,{width:t<1440?"128px":"131px",children:"Name"}),e.jsx(h,{width:t<1440?"84px":"106px",children:"Target"}),e.jsx(h,{width:t<1440?"78px":"91px",children:"Burned Calories"}),e.jsx(h,{width:t<1440?"72px":"82px",children:"Time"})]}),e.jsxs(q,{children:[" ",i.map(o=>e.jsx(fe,{workout:o,points:t},o._id))," "]})]}):e.jsx(O,{children:"Not found exercises"})]})},ye=r.section`
display: flex;
gap: 20px;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{s as r,j as e,ae as p}from"./index-ae26fe96.js";const d=r.div`
import{s as r,j as e,ae as p}from"./index-1be14bae.js";const d=r.div`
display: flex;
gap: 8px;
margin-top: 32px;
Expand Down

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/Profile-c3888091.js → assets/Profile-c695106d.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{s as i,a as Q,b as Z,u as Y,c as S,r as h,g as ee,j as e,d as g,e as te,l as re,f as ie,h as k,i as ne,k as ae,m as oe,n as se,S as de}from"./index-ae26fe96.js";import{c as ce,a as C,b,d as le,F as T,e as pe,f as xe}from"./index.esm-2812e881.js";import{s as he,g as z,t as me,a as ge}from"./react-datepicker-d05c4cd5.js";import{f as J}from"./createClass-3ee96c4c.js";import{T as ue}from"./TitlePage-33a99b15.js";const fe=i.div`
import{s as i,a as Q,b as Z,u as Y,c as S,r as h,g as ee,j as e,d as g,e as te,l as re,f as ie,h as k,i as ne,k as ae,m as oe,n as se,S as de}from"./index-1be14bae.js";import{c as ce,a as C,b,d as le,F as T,e as pe,f as xe}from"./index.esm-3da5f119.js";import{s as he,g as z,t as me,a as ge}from"./react-datepicker-0f30db79.js";import{f as J}from"./createClass-ad8dc051.js";import{T as ue}from"./TitlePage-9840b8b3.js";const fe=i.div`
display: flex;
gap: 14px;
justify-content: center;
Expand Down
2 changes: 1 addition & 1 deletion assets/SignIn-30006680.js → assets/SignIn-82657f79.js

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

2 changes: 1 addition & 1 deletion assets/SignUp-8f31d502.js → assets/SignUp-d2dfcb1d.js

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

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{s as o,ae as e}from"./index-ae26fe96.js";import{F as r}from"./index.esm-2812e881.js";const p=o(r)`
import{s as o,ae as e}from"./index-1be14bae.js";import{F as r}from"./index.esm-3da5f119.js";const p=o(r)`
font-size: 14px;
line-height: 18px;
max-width: 335px;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{s as e,j as i}from"./index-ae26fe96.js";const n=e.h2`
import{s as e,j as i}from"./index-1be14bae.js";const n=e.h2`
color: var(--color-text);
font-size: 24px;
font-weight: 700;
Expand Down
2 changes: 1 addition & 1 deletion assets/Welcome-b90a8e2b.js → assets/Welcome-15c340fb.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{s as n,j as o,L as r,a as e}from"./index-ae26fe96.js";import{S as t,a as s,b as a,W as p}from"./WelcomeStats-dec74c58.js";const d=n.h1`
import{s as n,j as o,L as r,a as e}from"./index-1be14bae.js";import{S as t,a as s,b as a,W as p}from"./WelcomeStats-e8609aa2.js";const d=n.h1`
/* width: 335px; */
/* margin-bottom: 40px; */
font-size: 38px;
Expand Down
Loading

0 comments on commit 28ed5b3

Please sign in to comment.