-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed references to old events api (#46)
* what I changed in The AboutUsSection I changed the margin top to 96 from 32 In the home page section I commented out the useEffect() that was fetching calendar events as well as the imports for said events In the events section I commented out the loading conditions as well as the conditional statements and created a div to hold all the iframes that we currently have to put in manually for all the Luma events. added const iframeStyle so you can change the height width etc of all iframes in EventsSection Carousel event thunks and event tsx files were modified by commenting out anything relying on fetching events from the google calendar api
- Loading branch information
Showing
11 changed files
with
327 additions
and
290 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,16 +1,14 @@ | ||
import { ReactNode } from 'react'; | ||
|
||
interface ConditionalProps | ||
{ | ||
interface ConditionalProps { | ||
Condition: boolean; | ||
|
||
children: ReactNode; | ||
} | ||
|
||
export default function Conditional({Condition, children} : ConditionalProps): JSX.Element | ||
{ | ||
export default function Conditional({ Condition, children }: ConditionalProps): JSX.Element { | ||
if (Condition) | ||
return (<>{children}</>); | ||
|
||
return <></>; | ||
} |
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
Oops, something went wrong.