-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #45 from Sun-Mountain/export-to-sched
Export to sched
- Loading branch information
Showing
18 changed files
with
599 additions
and
105 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import { Dispatch, SetStateAction } from "react"; | ||
|
||
export interface HomePageProps { | ||
faves: number[]; | ||
setFaves: Dispatch<SetStateAction<number[]>>; | ||
} | ||
|
||
export interface ExportPageProps { | ||
faves: number[]; | ||
setFaves: Dispatch<SetStateAction<number[]>>; | ||
} |
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,4 +1,5 @@ | ||
export * from '@/assets/interfaces/Component'; | ||
export * from '@/assets/interfaces/Data'; | ||
export * from '@/assets/interfaces/Event'; | ||
export * from '@/assets/interfaces/Filter'; | ||
export * from '@/assets/interfaces/Filter'; | ||
export * from '@/assets/interfaces/Page'; |
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,5 +1,6 @@ | ||
@import './content.scss'; | ||
@import './favorites.scss'; | ||
@import './navigation.scss'; | ||
@import './schedule.scss'; | ||
@import './table.scss'; | ||
@import './ui.scss'; |
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 |
---|---|---|
|
@@ -45,4 +45,8 @@ | |
.favorite-actions { | ||
display: flex; | ||
justify-content: space-between; | ||
} | ||
|
||
.export-btn { | ||
margin-bottom: 10px; | ||
} |
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,115 @@ | ||
.schedule-container { | ||
padding: 10px 25px; | ||
} | ||
|
||
.schedule-list-time { | ||
.time-title { | ||
background-color: $time-label-bg; | ||
color: $time-label-color; | ||
font-weight: 700; | ||
padding: 2px 5px; | ||
} | ||
|
||
.fave-list { | ||
display: flex; | ||
flex-wrap: wrap; | ||
} | ||
|
||
.fave-list-item { | ||
color: $fave-item-color; | ||
margin: 10px; | ||
width: 100%; | ||
|
||
.badge-container { | ||
display: flex; | ||
flex-wrap: wrap; | ||
padding: 15px 5px 0 5px; | ||
} | ||
|
||
.conflicts-btn { | ||
border-radius: 5px 5px !important; | ||
color: $conflict-btn-color; | ||
font-size: 14px; | ||
float: right; | ||
} | ||
|
||
.conflicts-list { | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
|
||
.conflicts-text { | ||
font-size: 14px; | ||
color: $french; | ||
text-align: right; | ||
} | ||
|
||
.fave-header { | ||
display: flex; | ||
flex-wrap: wrap; | ||
justify-content: space-between; | ||
} | ||
|
||
.fave-game-id { | ||
font-size: 16px; | ||
} | ||
|
||
.fave-card-title { | ||
font-weight: 700; | ||
font-size: 17px; | ||
} | ||
|
||
.fave-details { | ||
color: $details-color; | ||
display: flex; | ||
flex-wrap: wrap; | ||
font-size: 15px; | ||
justify-content: space-between; | ||
} | ||
|
||
.fave-system { | ||
color: $details-color; | ||
font-size: 15px; | ||
} | ||
|
||
.badges-and-details { | ||
display: flex; | ||
flex-wrap: wrap; | ||
justify-content: space-between; | ||
} | ||
|
||
.fave-badge { | ||
border-radius: 5px 5px; | ||
display: flex; | ||
font-size: 14px; | ||
padding: 5px 10px 5px 7px; | ||
} | ||
|
||
.fave-badge+.fave-badge { | ||
margin-left: 25px; | ||
} | ||
|
||
.badge-icon { | ||
margin-right: 5px; | ||
} | ||
|
||
.sold-out-badge { | ||
background-color: $sold-out-badge-bg; | ||
color: $light-color; | ||
} | ||
|
||
.diff-day-badge { | ||
background-color: $diff-day-badge-bg; | ||
color: $light-color; | ||
} | ||
|
||
.materials-badge { | ||
background-color: $materials-badge-bg; | ||
} | ||
|
||
.tournament-badge { | ||
background-color: $tournament-badge-bg; | ||
color: $light-color; | ||
} | ||
} | ||
} |
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,62 @@ | ||
import FilterAltIcon from '@mui/icons-material/FilterAlt'; | ||
import AccessTimeFilledIcon from '@mui/icons-material/AccessTimeFilled'; | ||
|
||
import DrawerComponent from '@/components/UI/Drawer'; | ||
import EventCategoryFilters from '@/components/EventCategoryFilters'; | ||
import TimeFilters from '@/components/TimeFilters'; | ||
|
||
import { DrawerFiltersProps } from '@/assets/interfaces'; | ||
|
||
export default function DrawerFilters ({ | ||
handleFilter, | ||
ageReqList, | ||
xpReqList, | ||
eventTypeList, | ||
gameSystemList, | ||
groupsList, | ||
locationList, | ||
tournamentFilter, | ||
setTournamentFilter, | ||
earliestStartTime, | ||
setEarliestStartTime, | ||
latestStartTime, | ||
setLatestStartTime, | ||
durationFilter, | ||
setDurationFilter | ||
}: DrawerFiltersProps) { | ||
return ( | ||
<> | ||
<div className='drawer-container'> | ||
<DrawerComponent icon={<FilterAltIcon />} buttonText='Filter By Event Category'> | ||
<div id='filter-drawer-content-wrapper'> | ||
<EventCategoryFilters | ||
handleFilter={handleFilter} | ||
ageReqList={ageReqList} | ||
xpReqList={xpReqList} | ||
eventTypeList={eventTypeList} | ||
gameSystemList={gameSystemList} | ||
groupsList={groupsList} | ||
locationList={locationList} | ||
tournamentFilter={tournamentFilter} | ||
setTournamentFilter={setTournamentFilter} | ||
/> | ||
</div> | ||
</DrawerComponent> | ||
</div> | ||
<div className='drawer-container'> | ||
<DrawerComponent icon={<AccessTimeFilledIcon />} buttonText='Filter By Time'> | ||
<div id='filter-drawer-content-wrapper'> | ||
<TimeFilters | ||
earliestStartTime={earliestStartTime} | ||
setEarliestStartTime={setEarliestStartTime} | ||
latestStartTime={latestStartTime} | ||
setLatestStartTime={setLatestStartTime} | ||
durationFilter={durationFilter} | ||
setDurationFilter={setDurationFilter} | ||
/> | ||
</div> | ||
</DrawerComponent> | ||
</div> | ||
</> | ||
) | ||
} |
Oops, something went wrong.
25e1cd9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
gen-con-cal – ./
www.genconcal.com
gen-con-cal.vercel.app
gen-con-cal-git-main-sun-mountain.vercel.app
gen-con-cal-sun-mountain.vercel.app
genconcal.com