Skip to content

Commit

Permalink
Deploying to gh-pages from @ f9f5a44 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
TaurusVB committed Sep 28, 2023
1 parent 8082bda commit f1ad4d2
Show file tree
Hide file tree
Showing 32 changed files with 1,179 additions and 1,170 deletions.
4 changes: 2 additions & 2 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<link rel="icon" type="image/svg+xml" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAZZJREFUaEPtV0tywjAMlXoCuiy9ihdwBlj1MoXLdAVnaDrjq5Qu2xPUjNOGUYIdK1Y8gYzYZIH1JL2nj41w5z+88/hBE5haQVVAFRAyoCUkJFBsrgqIKRQCqAJCAsXm81bg58U8UooWb/ZbTBkDgPpN+exV4LQxruOvWh7tmhFD9pGAT1gebTTO6B+fW7NDB6/dSPrAsqMmhqEEEGH9dLBVCP8qgdPGvJODq1tI4D+GyiF8PB/sjsbUSiDGOjWYQgHq3yHsaRKawBh1TzFCPTArBQCgNQnxa2sujeoc0AYOkutr8AEgOBGkari/qXc1OLq4TQx+MmFKMmlQhe3rBDzryawLB5INX08hX0a/AKvQ4gogV4iwz/bYY8iNwS+2BqY1Rjlq6B5ISJfqSV1kN11CXl1/H/LfWENPlEC9d5KXOVqefjKFFtsUCXTrPnob7fbX0MfFGKM1NAmzHjRNMEOed2Mk4DGGPGXn/agfi9GSOKpASXY52KoAh6WSZ1SBkuxysFUBDkslz6gCJdnlYKsCHJZKnjkDOOrAkNUq6lcAAAAASUVORK5CYII=">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Power Pulse</title>
<script type="module" crossorigin src="/september-project/assets/index-295e236b.js"></script>
<link rel="stylesheet" href="/september-project/assets/index-ed81e84a.css">
<script type="module" crossorigin src="/september-project/assets/index-5fa3f891.js"></script>
<link rel="stylesheet" href="/september-project/assets/index-f229c898.css">
</head>
<body>
<div id="root"></div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{n as i,c as e,m as p,P as o,j as u}from"./index-295e236b.js";const b=i.button`
import{n as i,c as e,m as p,P as o,j as u}from"./index-5fa3f891.js";const b=i.button`
display: inline-flex;
align-items: center;
justify-content: center;
Expand Down
93 changes: 93 additions & 0 deletions assets/BtnSubtitle-5e5bba44.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
import{n as o,m as i,c as s,P as r,r as w,j as e,s as l,L as B}from"./index-5fa3f891.js";import{F as E,a as R,c as T,b as m,d as F,E as h}from"./formik.esm-b9c5d73d.js";import{B as I}from"./BtnSubmit-47be46fe.js";import{B as A}from"./ButtonIconForInput-5971b6d7.js";import{s as j}from"./styled-components.browser.esm-b3740b0c.js";const W=o(E)`
margin-top: 28px;
${i.tablet} {
margin-top: 32px;
width: 364px;
}
`,L=o.div`
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 32px;
margin-bottom: 32px;
${i.mobile} {
gap: 33px;
margin-bottom: 34px;
}
${i.tablet} {
gap: 34px;
margin-bottom: 54px;
}
`,u=o.div`
position: relative;
width: 100%;
`,g=o(R)`
height: 42px;
width: 100%;
${i.tablet} {
height: 48px;
}
padding-left: 14px;
padding-right: 14px;
border-radius: 12px;
border: 1px solid ${s.textWhite03};
font-size: 16px;
font-weight: 400;
line-height: 150%;
outline: none;
color: ${s.textWhite06};
background-color: transparent;
&:focus-visible {
border: 1px solid ${s.orange};
}
&[data-touch=true]{
border-color: ${s.textSuccess};
}
`,b=o.div`
position: absolute;
${i.smallMobile} {
bottom: -28px;
}
${i.Mobile} {
bottom: -29px;
}
${i.tablet} {
bottom: -30px;
}
`,f=o.div`
display: flex;
align-items: center;
justify-content: center;
gap: 4px;
font-size: 12px;
color: ${s.textError};
`,Z=/^\w+@[a-zA-Z_]+?\.[a-zA-Z]{2,3}$/,C=/^(?=.*[a-zA-Z]{6,})(?=.*\d)[a-zA-Z\d]{7,}$/;function M({nameIsShown:n,btnTitle:d,onSubmit:c}){const[y,$]=w.useState(!1),[v,q]=w.useState("password"),S=t=>t?m().required("Name is required"):null,k=T().shape({name:S(n),email:m().matches(Z,{message:"Email must be valid! For example: [email protected]"}).email("Invalid email").required("Email is required"),password:m().matches(C,{message:"Password must contain 6+ letters, 1 number, and 1+ letter or number"}).required("Password is required")}),P=n?{name:"",email:"",password:""}:{email:"",password:""},z=()=>{$(t=>!t),q(t=>{if(t==="password")return"text";if(t==="text")return"password"})};return e.jsx(F,{initialValues:P,onSubmit:c,validationSchema:k,children:({handleBlur:t,touched:p,errors:x})=>e.jsxs(W,{children:[e.jsxs(L,{children:[n&&e.jsxs(u,{children:[e.jsx(g,{id:"name",type:"text",placeholder:"name",name:"name",onBlur:t,"data-touch":p.name&&!x.name}),e.jsx(b,{children:e.jsx(h,{name:"name",children:a=>e.jsxs(f,{children:[e.jsx("svg",{width:"20",height:"20",children:e.jsx("use",{href:l+"#icon-checkbox-circle-fill"})}),a]})})})]}),e.jsxs(u,{children:[e.jsx(g,{id:"email",type:"email",placeholder:"Email",name:"email",onBlur:t,"data-touch":p.email&&!x.email}),e.jsx(b,{children:e.jsx(h,{name:"email",children:a=>e.jsxs(f,{children:[e.jsx("svg",{width:"20",height:"20",children:e.jsx("use",{href:l+"#icon-checkbox-circle-fill"})}),a]})})})]}),e.jsxs(u,{children:[e.jsx(g,{id:"password",type:v,placeholder:"Password",name:"password",onBlur:t,"data-touch":p.password&&!x.password}),e.jsx(A,{type:"button",right:"16px",onClick:z,children:e.jsx("svg",{width:"20",height:"20",children:e.jsx("use",{href:l+`${y?"#icon-eye-off":"#icon-eye"}`})})}),e.jsx(b,{children:e.jsx(h,{name:"password",children:a=>e.jsxs(f,{children:[e.jsx("svg",{width:"20",height:"20",children:e.jsx("use",{href:l+"#icon-checkbox-circle-fill"})}),a]})})})]})]}),e.jsx(I,{title:d,fontSize:"20px"})]})})}M.propTypes={nameIsShown:r.bool.isRequired,btnTitle:r.string.isRequired,onSubmit:r.func.isRequired};const N=j.span`
color: ${s.textWhite06};
font-family: Roboto;
font-size: 12px;
line-height: 150%;
`,V=j(B)`
color: ${s.white};
font-family: Roboto;
font-size: 12px;
line-height: 150%;
text-decoration-line: underline;
margin-left: 5px;
`,_=j.div`
display: inline-block;
margin-top: 12px;
${i.tablet} {
padding-left: 9px;
}
`,D=({text:n,linkText:d,to:c})=>e.jsxs(_,{children:[e.jsx(N,{children:n}),e.jsx(V,{to:c,children:d})]});D.propTypes={text:r.string.isRequired,linkText:r.string.isRequired,to:r.string.isRequired};export{M as A,D as B};
93 changes: 0 additions & 93 deletions assets/BtnSubtitle-ec0ef735.js

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{n as i,c as n,P as o,j as c}from"./index-295e236b.js";const a=i.button`
import{n as i,c as n,P as o,j as c}from"./index-5fa3f891.js";const a=i.button`
position: absolute;
top: 50%;
right: ${({right:t})=>t||"0"};
Expand Down
10 changes: 5 additions & 5 deletions assets/Calendar-fd0cc06d.js → assets/Calendar-988a3d8f.js

Large diffs are not rendered by default.

Loading

0 comments on commit f1ad4d2

Please sign in to comment.