-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8fdd7f0
commit e004838
Showing
13 changed files
with
283 additions
and
267 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
import{j as o}from"./index-B2ltMx58.js";function n(){return o.jsx("div",{children:"404 Oops! Page Not Found!"})}export{n as default}; | ||
import{j as o}from"./index-MyG7cDGB.js";function n(){return o.jsx("div",{children:"404 Oops! Page Not Found!"})}export{n as default}; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
assets/Privacy.styled-DDyJhhL8.js → assets/Privacy.styled-5o57Onjs.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,233 @@ | ||
import{u as r,p as a,F as v,g as I,M as k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+dNyFpAB3A5Cu9nqiu9q6IFGWvokV3t3xSK45C+RUfkKEV9W5yPmaRATnKlnNIYaQchAz49ax986yhxHCvxyMdKXDdSdsEUY7w9w13V/4MfOkwVHdSwKEFrG6lZpUFropVdxb+M13Fn4l/lSYUcc+I/M0mMwBs2PrvQaQBkJA+QrFYT+64T/AIh//8QAFBEBAAAAAAAAAAAAAAAAAAAAcP/aAAgBAgEBPwAW/8QAFBEBAAAAAAAAAAAAAAAAAAAAcP/aAAgBAwEBPwAW/9k=",Q=r.li` | ||
border-radius: 1.4rem; | ||
display: flex; | ||
flex-direction: column; | ||
height: 100%; | ||
overflow: hidden; | ||
`,B=r.div` | ||
position: relative; | ||
`,W=r.img` | ||
width: 100%; | ||
height: auto; | ||
border-top-right-radius: 1.4rem; | ||
border-top-left-radius: 1.4rem; | ||
object-fit: cover; | ||
aspect-ratio: 3/2; | ||
`,U=r.div` | ||
display: flex; | ||
flex-direction: column; | ||
gap: 1.2rem; | ||
justify-content: space-between; | ||
height: 100%; | ||
padding: 1.2rem; | ||
background-color: ${o=>o.theme.colors.headerBgColor}; | ||
`,O=r.div` | ||
/* padding: 1.2rem; */ | ||
`,b=r.div` | ||
display: flex; | ||
align-items: center; | ||
justify-content: space-between; | ||
`,T=r.div` | ||
display: flex; | ||
align-items: center; | ||
`,E=r.h2` | ||
font-family: ${a}; | ||
font-weight: 500; | ||
font-size: 16px; | ||
line-height: 1.5; | ||
color: ${o=>o.theme.colors.mainTextColor}; | ||
`,u=r.span` | ||
font-family: ${a}; | ||
font-weight: 500; | ||
font-size: 16px; | ||
line-height: 1.5; | ||
color: ${o=>o.theme.colors.mainTextColor}; | ||
`,h=r.span` | ||
font-family: ${a}; | ||
font-weight: 400; | ||
font-size: 12px; | ||
line-height: 1.5; | ||
color: ${o=>o.theme.colors.mainTextColorLowOp}; | ||
`,M=r.button` | ||
border: none; | ||
outline: none; | ||
background: none; | ||
border-radius: 1.4rem; | ||
width: 100%; | ||
padding: 1.2rem; | ||
font-family: ${a}; | ||
font-weight: 600; | ||
font-size: 14px; | ||
line-height: 1.42857; | ||
color: ${o=>o.theme.colors.white}; | ||
transition: var(--primary-transition); | ||
background-color: ${o=>o.theme.colors.accentColor}; | ||
&:hover { | ||
background-color: ${o=>o.theme.colors.accentColorHover}; | ||
cursor: pointer; | ||
} | ||
`,R=r.div` | ||
position: absolute; | ||
top: 1.2rem; | ||
right: 1.2rem; | ||
`,F=r(v)` | ||
font-size: 2rem; | ||
color: ${o=>o.theme.colors.emptyHeart}; | ||
transition: all var(--primary-transition); | ||
&:hover { | ||
color: ${o=>o.theme.colors.accentColor}; | ||
cursor: pointer; | ||
} | ||
`,H=r(I)` | ||
font-size: 2rem; | ||
color: ${o=>o.theme.colors.accentColor}; | ||
transition: all var(--primary-transition); | ||
&:hover { | ||
color: ${o=>o.theme.colors.accentColorHover}; | ||
cursor: pointer; | ||
} | ||
`,K=r(k)` | ||
position: absolute; | ||
top: 50%; | ||
left: 50%; | ||
margin: 0 auto; | ||
transform: translate(-50%, -50%); | ||
border-radius: 14px; | ||
padding: 4rem; | ||
width: 54rem; | ||
height: 100%; | ||
background-color: ${o=>o.theme.colors.mainBgColor}; | ||
overflow-y: scroll; | ||
scroll-behavior: smooth; | ||
`,D=r.div``,L=r.img` | ||
width: 46rem; | ||
height: auto; | ||
border-top-right-radius: 1.4rem; | ||
border-top-left-radius: 1.4rem; | ||
`,Z=r.div` | ||
display: flex; | ||
flex-direction: column; | ||
gap: 2.4rem; | ||
margin-top: 1.4rem; | ||
`,X=r.div` | ||
display: flex; | ||
flex-direction: column; | ||
gap: 1.4rem; | ||
`,J=r.div` | ||
display: flex; | ||
flex-direction: column; | ||
gap: 0.8rem; | ||
`,z=r.div` | ||
display: flex; | ||
align-items: center; | ||
`,V=r.h3` | ||
font-family: ${a}; | ||
font-weight: 500; | ||
font-size: 1.8rem; | ||
line-height: 1.33333; | ||
color: ${o=>o.theme.colors.mainTextColor}; | ||
`,q=r.span` | ||
font-family: ${a}; | ||
font-weight: 500; | ||
font-size: 1.8rem; | ||
line-height: 1.33333; | ||
color: #121417; | ||
color: ${o=>o.theme.colors.mainTextColor}; | ||
`,A=r.span` | ||
font-family: ${a}; | ||
font-weight: 400; | ||
font-size: 12px; | ||
line-height: 1.5; | ||
color: ${o=>o.theme.colors.mainTextColorLowOp}; | ||
`,g=r.p` | ||
font-family: ${a}; | ||
font-weight: 400; | ||
font-size: 14px; | ||
line-height: 1.42857; | ||
color: ${o=>o.theme.colors.mainTextColor}; | ||
`,N=r.div` | ||
display: flex; | ||
flex-direction: column; | ||
gap: 0.8rem; | ||
position: relative; | ||
`,Y=r.div` | ||
display: flex; | ||
gap: 0.8rem; | ||
flex-wrap: wrap; | ||
`,G=r.div` | ||
border-radius: 35px; | ||
padding: 7px 14px; | ||
background-color: ${o=>o.theme.colors.headerBgColor}; | ||
font-weight: 400; | ||
font-size: 12px; | ||
line-height: 1.5; | ||
letter-spacing: -0.02em; | ||
font-family: ${a}; | ||
font-weight: 400; | ||
font-size: 14px; | ||
line-height: 1.42857; | ||
color: ${o=>o.theme.colors.mainTextColor}; | ||
`;r.div` | ||
display: flex; | ||
flex-direction: column; | ||
align-items: end; | ||
gap: 0.8rem; | ||
position: absolute; | ||
bottom: 0; | ||
right: 0; | ||
`;const f=r.span` | ||
border-radius: 35px; | ||
padding: 7px 14px; | ||
background-color: ${o=>o.theme.colors.headerBgColor}; | ||
font-weight: 400; | ||
font-size: 12px; | ||
line-height: 1.5; | ||
letter-spacing: -0.02em; | ||
font-family: ${a}; | ||
font-weight: 400; | ||
font-size: 14px; | ||
line-height: 1.42857; | ||
color: ${o=>o.theme.colors.mainTextColor}; | ||
`,C=r.span` | ||
color: ${o=>o.theme.colors.accentColor}; | ||
`,P=r.button` | ||
border: none; | ||
outline: none; | ||
background: none; | ||
background-color: ${o=>o.theme.colors.accentColor}; | ||
color: ${o=>o.theme.colors.white}; | ||
padding: 2rem 5rem; | ||
border-radius: 1.4rem; | ||
transition: all var(--primary-transition); | ||
&:hover { | ||
background-color: ${o=>o.theme.colors.accentColorHover}; | ||
cursor: pointer; | ||
} | ||
`,$=r(w)` | ||
font-size: 2.4rem; | ||
color: ${o=>o.theme.colors.mainTextColor}; | ||
position: absolute; | ||
right: 1.2rem; | ||
transition: all var(--primary-transition); | ||
&:hover { | ||
transform: rotate(90deg); | ||
color: ${o=>o.theme.colors.accentColor}; | ||
cursor: pointer; | ||
} | ||
`;function _({items:o}){const[n,c]=x.useState(!1);function i(){c(!0)}function s(){c(!1)}return e.jsxs(e.Fragment,{children:[e.jsx(M,{type:"button",onClick:i,children:"Learn More"}),e.jsx(K,{isOpen:n,onRequestClose:s,style:{overlay:{backgroundColor:"rgba(0, 0, 0, 0.5)"}},contentLabel:"Example Modal",children:e.jsxs(D,{children:[e.jsx($,{onClick:s}),e.jsx(L,{src:o.img?o.img:o.photoLink?o.photoLink:S,alt:o.make}),e.jsxs(Z,{children:[e.jsxs(X,{children:[e.jsxs(J,{children:[e.jsxs(z,{children:[e.jsx(V,{children:o.make}),e.jsxs(q,{children:[", ",o.year]})]}),e.jsxs("div",{children:[e.jsxs("div",{children:[e.jsx(A,{children:o.address}),e.jsxs(A,{children:[" | Id: ",o.id]}),e.jsxs(A,{children:[" | Year: ",o.year]}),e.jsxs(A,{children:[" | Type: ",o.type]})]}),e.jsxs("div",{children:[e.jsxs(A,{children:["Fuel Consumption: ",o.fuelConsumption]}),e.jsxs(A,{children:[" | Engine Size: ",o.engineSize]})]})]})]}),e.jsx(g,{children:o.description})]}),e.jsxs("div",{children:[e.jsx(g,{style:{fontFamily:"500"},children:"Accessories and functionalities:"}),e.jsx("div",{children:o.accessories.map((d,l)=>e.jsxs(A,{children:[d,l!==o.accessories.length-1&&e.jsx("span",{children:" | "})]},d))})]}),e.jsx("div",{children:e.jsxs(N,{children:[e.jsxs(g,{style:{fontFamily:"500"},children:["Rental Conditions:"," "]}),e.jsxs(Y,{children:[o.rentalConditions.split(` | ||
`).map((d,l)=>e.jsx(G,{children:d.trim()},l)),e.jsxs(f,{children:["Mileage:"," ",e.jsx(C,{children:parseInt(o.mileage).toLocaleString()})]}),e.jsxs(f,{children:["Price:"," ",e.jsx(C,{children:o.rentalPrice})]})]})]})}),e.jsx("div",{children:e.jsx(P,{children:"Rent A Car"})})]})]})})]})}function io({items:o,handleFavoriteToggle:n}){const[c,i]=x.useState(!1);x.useEffect(()=>{const l=(JSON.parse(localStorage.getItem("favorites"))||[]).includes(o.id);i(l)},[o.id]);function s(d){const l=JSON.parse(localStorage.getItem("favorites"))||[],m=l.indexOf(d);m!==-1?l.splice(m,1):l.push(d),localStorage.setItem("favorites",JSON.stringify(l)),i(j=>!j),n(o.id)}return e.jsxs(Q,{children:[e.jsxs(B,{children:[e.jsx(W,{src:o.img?o.img:o.photoLink?o.photoLink:S,alt:o.make}),e.jsx(R,{onClick:()=>s(o.id),children:c?e.jsx(H,{}):e.jsx(F,{})})]}),e.jsxs(U,{children:[e.jsxs(O,{children:[e.jsxs(b,{children:[e.jsxs(T,{children:[e.jsx(E,{children:o.make}),e.jsxs(u,{children:[", ",o.year]})]}),e.jsx(u,{children:o.rentalPrice})]}),e.jsxs("div",{children:[e.jsxs("div",{children:[e.jsx(h,{children:o.address}),e.jsxs(h,{children:[" | ",o.rentalCompany]})]}),e.jsxs("div",{children:[e.jsx(h,{children:o.type}),e.jsxs(h,{children:[" | ",o.model]}),e.jsxs(h,{children:[" ","| miles: ",parseInt(o.mileage).toLocaleString()]})]})]})]}),e.jsx(_,{items:o})]})]})}let p;const oo=new Uint8Array(16);function eo(){if(!p&&(p=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!p))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return p(oo)}const t=[];for(let o=0;o<256;++o)t.push((o+256).toString(16).slice(1));function ro(o,n=0){return t[o[n+0]]+t[o[n+1]]+t[o[n+2]]+t[o[n+3]]+"-"+t[o[n+4]]+t[o[n+5]]+"-"+t[o[n+6]]+t[o[n+7]]+"-"+t[o[n+8]]+t[o[n+9]]+"-"+t[o[n+10]]+t[o[n+11]]+t[o[n+12]]+t[o[n+13]]+t[o[n+14]]+t[o[n+15]]}const no=typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),y={randomUUID:no};function lo(o,n,c){if(y.randomUUID&&!n&&!o)return y.randomUUID();o=o||{};const i=o.random||(o.rng||eo)();if(i[6]=i[6]&15|64,i[8]=i[8]&63|128,n){c=c||0;for(let s=0;s<16;++s)n[c+s]=i[s];return n}return ro(i)}export{io as C,lo as v}; |
Oops, something went wrong.