-
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
Showing
137 changed files
with
4,250 additions
and
3,274 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
{} | ||
{ | ||
"liveServer.settings.port": 5501 | ||
} |
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
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,97 @@ | ||
.base-card { | ||
display: flex; | ||
flex-direction: column; | ||
min-width: 100px; | ||
max-width: 100%; | ||
max-height: 100%; | ||
flex-grow: 1; | ||
background-color: #fff; | ||
border-radius: 4px; /* Replace with your theme's border radius */ | ||
justify-content: center; | ||
transition: transform 0.3s ease-in-out; | ||
position: relative; /* Ensure this is set to allow absolute children positioning */ | ||
} | ||
.base-card:hover { | ||
transform: scale(1.03); | ||
} | ||
/* BASE CARD QUANTITY */ | ||
.base-card-no-quantity { | ||
position: initial; | ||
width: 100%; | ||
height: 100%; | ||
max-height: 100%; | ||
} | ||
.card-deck { | ||
position: relative; | ||
width: calc(33.33% - 10px); | ||
} | ||
.card-deck-grid-item { | ||
flex-basis: calc( | ||
100% / 3 - 10px | ||
); /* Default showing 3 items per row, adjust gap with -10px */ | ||
max-width: calc( | ||
100% / 3 - 10px | ||
); /* Same as flex-basis, ensures compatibility */ | ||
} | ||
.card-group-flex-item { | ||
display: flex; | ||
flex-wrap: wrap; | ||
justify-content: flex-start; | ||
align-items: stretch; | ||
gap: 10px; | ||
} | ||
/* ROW: 6 cards */ | ||
@media screen and (max-width: 1400px) { | ||
/* EXPLANATION: 100% / 3 - 10px = 33.33% - 10px */ | ||
.card-deck-grid-item { | ||
flex-basis: calc(50% - 10px); | ||
max-width: calc(50% - 10px); | ||
} | ||
} | ||
/* ROW: 4 cards */ | ||
@media screen and (max-width: 1200px) { | ||
/* EXPLANATION: 100% / 3 - 10px = 33.33% - 10px */ | ||
.card-deck-grid-item { | ||
flex-basis: calc(33.33% - 12.5px); | ||
max-width: calc(33.33% - 12.5px); | ||
} | ||
} | ||
/* ROW: 4 cards */ | ||
@media screen and (max-width: 992px) { | ||
/* EXPLANATION: 100% / 4 - 10px = 25% - 10px */ | ||
.card-deck-grid-item { | ||
flex-basis: calc(50% - 15px); | ||
max-width: calc(50% - 15px); | ||
} | ||
} | ||
/* ROW: 3 cards */ | ||
@media screen and (max-width: 768px) { | ||
/* EXPLANATION: 100% / 6 - 10px = 16.66% - 10px */ | ||
.card-deck-grid-item { | ||
flex-basis: calc(50% - 25px); | ||
max-width: calc(50% - 25px); | ||
} | ||
} | ||
/* ROW: 3 cards */ | ||
@media screen and (max-width: 576px) { | ||
/* EXPLANATION: 100% / 8 - 10px = 12.5% - 10px */ | ||
.card-deck-grid-item { | ||
flex-basis: calc(100% - 20px); | ||
max-width: calc(100% - 20px); | ||
} | ||
} | ||
.card-group-flex-item:nth-child(1) { | ||
z-index: 300; | ||
} | ||
.card-group-flex-item:nth-child(2) { | ||
z-index: 200; | ||
} | ||
.card-group-flex-item:nth-child(3) { | ||
z-index: 100; | ||
} | ||
.card-group-flex-item .card-deck:not(:last-child) { | ||
margin-right: -90%; /* Overlap cards by 90% */ | ||
} | ||
.card-group-flex-item { | ||
min-width: 60%; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,17 @@ | ||
.gradient-background { | ||
background: linear-gradient(180deg, #0172af, #74febd); | ||
background-size: 120% 120%; | ||
animation: gradient-animation 8s ease infinite; | ||
} | ||
|
||
@keyframes gradient-animation { | ||
0% { | ||
background-position: 0% 50%; | ||
} | ||
50% { | ||
background-position: 100% 50%; | ||
} | ||
100% { | ||
background-position: 0% 50%; | ||
} | ||
} |
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,66 @@ | ||
// import React from 'react'; | ||
// import PersonAddIcon from '@mui/icons-material/PersonAdd'; | ||
// import PersonIcon from '@mui/icons-material/Person'; | ||
// import EmailIcon from '@mui/icons-material/Email'; | ||
// import LockIcon from '@mui/icons-material/Lock'; | ||
// import RCZodForm from './reusable/RCZodForm'; | ||
// import LoginIcon from '@mui/icons-material/Login'; | ||
|
||
// const loginFields = [ | ||
// { | ||
// name: 'username', | ||
// label: 'Username', | ||
// type: 'text', | ||
// icon: <PersonIcon />, | ||
// field: 'username', | ||
// }, | ||
// { | ||
// name: 'password', | ||
// label: 'Password', | ||
// type: 'password', | ||
// icon: <LockIcon />, | ||
// field: 'password', | ||
// }, | ||
// ]; | ||
// const signupFields = [ | ||
// { | ||
// name: 'firstName', | ||
// label: 'First Name', | ||
// type: 'text', | ||
// icon: <PersonIcon />, | ||
// field: 'firstName', | ||
// }, | ||
// { | ||
// name: 'lastName', | ||
// label: 'Last Name', | ||
// type: 'text', | ||
// icon: <PersonIcon />, | ||
// field: 'lastName', | ||
// }, | ||
// { | ||
// name: 'email', | ||
// label: 'Email', | ||
// type: 'email', | ||
// icon: <EmailIcon />, | ||
// field: 'email', | ||
// }, | ||
// ]; | ||
|
||
// const AuthForm = ({ formType }) => { | ||
// const combinedFields = [...signupFields, ...loginFields]; | ||
// const isSignup = formType === 'signupForm'; | ||
// const fields = isSignup ? combinedFields : loginFields; | ||
// const buttonLabel = isSignup ? 'Sign Up' : 'Login'; | ||
// const startIcon = isSignup ? <PersonAddIcon /> : <LoginIcon />; | ||
|
||
// return ( | ||
// <RCZodForm | ||
// schemaName={formType} | ||
// fields={fields} | ||
// buttonLabel={buttonLabel} | ||
// startIcon={startIcon} | ||
// /> | ||
// ); | ||
// }; | ||
|
||
// export default AuthForm; |
File renamed without changes.
File renamed without changes.
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,29 @@ | ||
// import React from 'react'; | ||
// import { Box, Typography } from '@mui/material'; | ||
|
||
// const CartSummary = ({ quantity, totalCost }) => { | ||
// return ( | ||
// <Box> | ||
// <Typography | ||
// variant="h6" | ||
// sx={{ | ||
// mt: 2, | ||
// fontSize: { xs: '1rem', sm: '1.25rem', md: '1.5rem' }, // Adjust font size for breakpoints | ||
// }} | ||
// > | ||
// Items: {quantity} | ||
// </Typography> | ||
// <Typography | ||
// variant="h6" | ||
// sx={{ | ||
// mt: 2, | ||
// fontSize: { xs: '1rem', sm: '1.25rem', md: '1.5rem' }, // Adjust font size for breakpoints | ||
// }} | ||
// > | ||
// Grand Total: ${totalCost} | ||
// </Typography> | ||
// </Box> | ||
// ); | ||
// }; | ||
|
||
// export default CartSummary; |
Oops, something went wrong.