Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexandrbig1 committed Feb 22, 2024
1 parent 347d538 commit 47cc2ee
Show file tree
Hide file tree
Showing 12 changed files with 90 additions and 62 deletions.
2 changes: 1 addition & 1 deletion assets/Cart-DZMjoSHZ.js → assets/Cart-D2JC5iq7.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import{u as r,j as t}from"./index-C8YgIz7n.js";const a=r.div`
import{u as r,j as t}from"./index-ClwS1g-S.js";const a=r.div`
display: block;
`;function o(){return t.jsx(a,{children:"Cart"})}export{o as default};
2 changes: 1 addition & 1 deletion assets/Home-CUDXL56g.js → assets/Home-Dr1xfKLh.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{u as r,r as t,p as i,a,j as e,L as s,b as c,O as l,C as d}from"./index-C8YgIz7n.js";const m="/italiya/assets/paws-CFqkmwH1.png",h=r.div`
import{u as r,r as t,p as i,a,j as e,L as s,b as c,O as l,C as d}from"./index-ClwS1g-S.js";const m="/italiya/assets/paws-CFqkmwH1.png",h=r.div`
display: grid;
grid-template-columns: 1.5fr 2.5fr;
gap: 4.8rem;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import{u as o,j as t}from"./index-C8YgIz7n.js";const n=o.div`
import{u as o,j as t}from"./index-ClwS1g-S.js";const n=o.div`
display: block;
`;function s(){return t.jsx(n,{children:"404 OOops Page Not Found!"})}export{s as default};
2 changes: 1 addition & 1 deletion assets/Privacy-BSj3BSft.js → assets/Privacy-C-AnrA0Z.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import{u as r,j as a}from"./index-C8YgIz7n.js";const i=r.div`
import{u as r,j as a}from"./index-ClwS1g-S.js";const i=r.div`
display: block;
`;function s(){return a.jsx(i,{children:"Privacy"})}export{s as default};
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{G as y,u as s,c as L,r as b,s as P,d as S,b as C,j as r}from"./index-C8YgIz7n.js";function z(e){return y({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12.0007 10.5865L16.9504 5.63672L18.3646 7.05093L13.4149 12.0007L18.3646 16.9504L16.9504 18.3646L12.0007 13.4149L7.05093 18.3646L5.63672 16.9504L10.5865 12.0007L5.63672 7.05093L7.05093 5.63672L12.0007 10.5865Z"},child:[]}]})(e)}const T=s.div`
import{G as y,u as s,c as L,r as b,s as P,d as S,b as C,j as r}from"./index-ClwS1g-S.js";function z(e){return y({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{d:"M12.0007 10.5865L16.9504 5.63672L18.3646 7.05093L13.4149 12.0007L18.3646 16.9504L16.9504 18.3646L12.0007 13.4149L7.05093 18.3646L5.63672 16.9504L10.5865 12.0007L5.63672 7.05093L7.05093 5.63672L12.0007 10.5865Z"},child:[]}]})(e)}const T=s.div`
display: block;
width: 100%;
height: 100%;
Expand Down
63 changes: 39 additions & 24 deletions assets/SignIn-BXrzRj5t.js → assets/SignIn-vguAELDu.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import{u as o,p as r,L as s,j as t,H as d,e as m}from"./index-C8YgIz7n.js";import{B as i,a as c,L as p,T as l,b as h,c as x,F as g,d as u}from"./SignUp.styled-CHmOnFtP.js";const w=o(i)`
import{u as t,p as i,L as x,b as s,j as o,H as g,e as u}from"./index-ClwS1g-S.js";import{B as n,a as w,L as f,T as m,b as y,c as b,F as j,d as C,e as v,f as $}from"./SignUp.styled-CUgFwZIU.js";const S=t(n)`
display: flex;
flex-direction: column;
align-items: center;
Expand All @@ -13,7 +13,7 @@ import{u as o,p as r,L as s,j as t,H as d,e as m}from"./index-C8YgIz7n.js";impor
rgba(196, 196, 196, 0) 2%,
${e=>e.theme.colors.mainBgColor} 98%
);
`,f=o(i)`
`,T=t(n)`
display: flex;
flex-direction: column;
width: 100%;
Expand All @@ -30,12 +30,12 @@ import{u as o,p as r,L as s,j as t,H as d,e as m}from"./index-C8YgIz7n.js";impor
padding: 4rem;
max-width: 424px;
}
`;o(i)`
`;t(n)`
width: 100%;
`;const y=o(c)`
`;const k=t(w)`
width: 100%;
height: 4.9rem;
`,b=o.div`
`,I=t.div`
width: 100%;
max-width: 260px;
Expand All @@ -62,20 +62,20 @@ import{u as o,p as r,L as s,j as t,H as d,e as m}from"./index-C8YgIz7n.js";impor
&:hover {
background-color: ${e=>e.theme.colors.signUpBgHoverBtn};
}
`,j=o.span`
`,B=t.span`
color: ${e=>e.theme.colors.white};
font-family: ${r};
font-family: ${i};
font-size: 1.4rem;
text-align: center;
font-style: normal;
font-weight: 500;
line-height: normal;
letter-spacing: -0.28px;
`,v=o(p)`
`,H=t(f)`
color: ${e=>e.theme.colors.accentColor};
`,$=o(s)`
`,F=t(x)`
color: ${e=>e.theme.colors.mainHeaderTextColorLowOp};
font-family: ${r};
font-family: ${i};
font-size: 18px;
font-style: normal;
font-weight: 500;
Expand All @@ -92,11 +92,11 @@ import{u as o,p as r,L as s,j as t,H as d,e as m}from"./index-C8YgIz7n.js";impor
&.active {
color: ${e=>e.theme.colors.mainHeaderTextColor};
}
`,C=o(l)`
`,L=t(m)`
color: ${e=>e.theme.colors.blackColor};
`,S=o(l)`
`,W=t(m)`
color: ${e=>e.theme.colors.mainHeaderTextColorLowOp};
font-family: ${r};
font-family: ${i};
font-size: 18px;
font-style: normal;
font-weight: 500;
Expand All @@ -113,7 +113,7 @@ import{u as o,p as r,L as s,j as t,H as d,e as m}from"./index-C8YgIz7n.js";impor
&.active {
color: ${e=>e.theme.colors.mainHeaderTextColor};
}
`,a=o(h)`
`,l=t(y)`
width: 100%;
max-width: 260px;
Expand All @@ -128,33 +128,48 @@ import{u as o,p as r,L as s,j as t,H as d,e as m}from"./index-C8YgIz7n.js";impor
input {
border-radius: 0.4rem;
color: ${e=>e.theme.colors.mainHeaderTextColor};
font-family: ${r};
font-family: ${i};
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: normal;
letter-spacing: -0.28px;
border-radius: 4px;
transition: all var(--primary-transition);
outline: 1px solid
${e=>e.error?e.theme.colors.errorColor:e.theme.colors.accentColor};
${e=>e.error?e.theme.colors.errorColor:e.theme.colors.inputColor};
box-shadow: 0px 4px 16px 0px rgba(22, 22, 22, 0.08);
&:focus-within {
outline: none;
/* border: 1px solid transparent; */
}
&::placeholder {
color: ${e=>e.theme.colors.mainHeaderTextColor};
font-family: ${r};
font-family: ${i};
font-style: normal;
font-weight: 400;
line-height: normal;
letter-spacing: -0.28px;
font-size: 1.4rem;
}
}
`,T=o.div`
fieldset {
border: 1px solid
${e=>e.error?e.theme.colors.errorColor:e.theme.colors.inputColor};
}
&:hover fieldset {
border: none;
}
&:focus-within fieldset {
border: 1px solid
${e=>e.error?e.theme.colors.errorColor:e.theme.colors.inputColor};
}
`,z=t.div`
position: relative;
width: 100%;
max-width: 256px;
Expand All @@ -166,26 +181,26 @@ import{u as o,p as r,L as s,j as t,H as d,e as m}from"./index-C8YgIz7n.js";impor
@media (min-width: 768px) {
max-width: 344px;
}
`;o.span`
`,E=t.span`
position: absolute;
top: 50%;
right: 1.2rem;
transform: translateY(-35%);
font-size: 2rem;
color: ${e=>e.theme.colors.white};
color: ${e=>e.theme.colors.mainHeaderTextColorLowOp};
&:hover {
cursor: pointer;
}
`;o.p`
`,d=t.p`
position: absolute;
top: -0.4rem;
right: 0;
color: red;
color: ${e=>e.theme.colors.errorColor};
font-size: 1rem;
@media (min-width: 768px) {
font-size: 1.2rem;
}
`;const k=u({breakpoints:{values:{xs:0,sm:550,md:960,lg:1280,xl:1920}}});function I(e){return t.jsxs(C,{variant:"body2",align:"center",...e,style:{fontSize:"1rem"},children:["Alex Smagin © ",t.jsx(v,{color:"inherit",href:"https://alexandrbig1.github.io/italiya/",target:"_blank",children:"Italiya"})," ",new Date().getFullYear(),"."]})}function z(){function e(n){n.preventDefault(),console.log(n)}return t.jsxs(t.Fragment,{children:[t.jsx(d,{children:t.jsxs(m,{children:[t.jsx("title",{children:"Italiya - Sign In"}),t.jsx("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),t.jsx("meta",{property:"og:url",content:"https://alexandrbig1.github.io/italiya/"}),t.jsx("meta",{name:"description",content:"Sign in to Italiya's Whisker Wonders website and explore a world of cat-themed treasures."}),t.jsx("meta",{property:"og:title",content:"Italiya's Whisker Wonders - Sign In"}),t.jsx("meta",{property:"og:type",content:"website"}),t.jsx("meta",{property:"og:description",content:"Sign in to Italiya's Whisker Wonders website and explore a world of cat-themed treasures."})]})}),t.jsx(x,{theme:k,children:t.jsxs(w,{children:[t.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",padding:"1.2rem"},children:t.jsxs(f,{children:[t.jsxs(i,{style:{display:"flex",alignItems:"center",gap:"1.4rem",position:"relative"},children:[t.jsx($,{to:"/italiya/signup",children:"Sign Up"}),t.jsx(S,{variant:"h5",children:"Sign In"})]}),t.jsxs(i,{component:"form",onSubmit:e,noValidate:!0,sx:{mt:2,width:{sm:"376px",xs:"312px"}},children:[t.jsx(g,{children:t.jsx(a,{margin:"normal",required:!0,fullWidth:!0,id:"email",placeholder:"Enter your email",name:"email",autoComplete:"email",autoFocus:!0})}),t.jsx(T,{children:t.jsx(a,{placeholder:"Confirm a password",variant:"outlined",margin:"normal",required:!0,fullWidth:!0,name:"password",id:"password",autoComplete:"current-password"})}),t.jsx(b,{children:t.jsx(y,{type:"submit",color:"inherit",children:t.jsx(j,{children:"Log In Now"})})})]})]})}),t.jsx(I,{sx:{mt:8,mb:4}})]})})]})}export{z as default};
`,P=$({breakpoints:{values:{xs:0,sm:550,md:960,lg:1280,xl:1920}}});function O(e){return o.jsxs(L,{variant:"body2",align:"center",...e,style:{fontSize:"1rem"},children:["Alex Smagin © ",o.jsx(H,{color:"inherit",href:"https://alexandrbig1.github.io/italiya/",target:"_blank",children:"Italiya"})," ",new Date().getFullYear(),"."]})}function U(){const[e,c]=s.useState(!1),[r,q]=s.useState({}),h=()=>{c(!e)};function p(a){a.preventDefault(),console.log(a)}return o.jsxs(o.Fragment,{children:[o.jsx(g,{children:o.jsxs(u,{children:[o.jsx("title",{children:"Italiya - Sign In"}),o.jsx("meta",{name:"viewport",content:"width=device-width, initial-scale=1.0"}),o.jsx("meta",{property:"og:url",content:"https://alexandrbig1.github.io/italiya/"}),o.jsx("meta",{name:"description",content:"Sign in to Italiya's Whisker Wonders website and explore a world of cat-themed treasures."}),o.jsx("meta",{property:"og:title",content:"Italiya's Whisker Wonders - Sign In"}),o.jsx("meta",{property:"og:type",content:"website"}),o.jsx("meta",{property:"og:description",content:"Sign in to Italiya's Whisker Wonders website and explore a world of cat-themed treasures."})]})}),o.jsx(b,{theme:P,children:o.jsxs(S,{children:[o.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",padding:"1.2rem"},children:o.jsxs(T,{children:[o.jsxs(n,{style:{display:"flex",alignItems:"center",gap:"1.4rem",position:"relative"},children:[o.jsx(W,{variant:"h5",children:"Sign In"}),o.jsx(F,{to:"/italiya/signup",children:"Sign Up"})]}),o.jsxs(n,{component:"form",onSubmit:p,noValidate:!0,sx:{mt:2,width:{sm:"376px",xs:"312px"}},children:[o.jsxs(j,{children:[o.jsx(l,{margin:"normal",required:!0,fullWidth:!0,id:"email",placeholder:"Enter your email",name:"email",autoComplete:"email",autoFocus:!0,error:!!r.email}),r.email&&o.jsx(d,{children:r.email})]}),o.jsxs(z,{children:[o.jsx(l,{placeholder:"Confirm a password",variant:"outlined",margin:"normal",required:!0,fullWidth:!0,name:"password",id:"password",autoComplete:"current-password",type:e?"text":"password",error:!!r.password}),r.password&&o.jsx(d,{children:r.password}),o.jsx(E,{onClick:h,children:e?o.jsx(C,{}):o.jsx(v,{})})]}),o.jsx(I,{children:o.jsx(k,{type:"submit",color:"inherit",children:o.jsx(B,{children:"Log In Now"})})})]})]})}),o.jsx(O,{sx:{mt:8,mb:4}})]})})]})}export{U as default};
1 change: 0 additions & 1 deletion assets/SignUp-DZgsOSAA.js

This file was deleted.

Loading

0 comments on commit 47cc2ee

Please sign in to comment.