Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added app/client/public/developer_basecamp_13.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions app/client/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,19 +73,19 @@ function App() {
<StarknetProvider>
<QueryClientProvider client={queryClient}>
<ThemeProvider theme={darkTheme}>
{/* <GenericModal
<GenericModal
id="starknet_hackathon"
open={open}
handleClose={handleClose}
handleOpen={handleOpen}
image_src="/starknet_hackathon.png"
image_alt="Starknet Hackathon: Re{ignite}"
image_src="/developer_basecamp_13.png"
image_alt="Starknet Developer Basecamp 13"
// title="Starknet Hackathon"
// date="Starting May 12"
// description="From idea to MVP: Build real solutions, form teams, and compete for prizes."
// button_text="Register for Hackathon"
link="https://www.hackquest.io/hackathons/Starknet-Hackathon-Re%7Bignite%7D?utm=starklings"
/> */}
link="https://us06web.zoom.us/webinar/register/6517491159098/WN_VnPGmzseSBmi7FkNcPpRmQ#/registration"
/>

<BasicLayout>
<>
Expand Down
13 changes: 11 additions & 2 deletions app/client/src/components/modals/GenericModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export const GenericModal = ({ id, open, handleClose, handleOpen, image_src, ima
height: "100%",
}}
>
<a href={link} style={{ display: 'block' }}>
<a href={link} target="_blank" style={{ display: 'block' }}>
<img
onClick={() => openInNewTab(link)}
src={image_src}
Expand All @@ -132,8 +132,12 @@ export const GenericModal = ({ id, open, handleClose, handleOpen, image_src, ima
onClick={handleDontShowAgain}
sx={{
color: "white",
backgroundColor: "#4862b0",
borderRadius: 2,
py: 1.5,
"&:hover": {
backgroundColor: "#5a7bd0",
},
}}
>
Don't show again
Expand Down Expand Up @@ -187,11 +191,16 @@ export const GenericModal = ({ id, open, handleClose, handleOpen, image_src, ima
variant="outlined"
onClick={handleDontShowAgain}
sx={{
borderColor: "rgba(255, 255, 255, 0.5)",
borderColor: "#4862b0",
color: "white",
backgroundColor: "#4862b0",
borderRadius: 2,
flex: "0 1 22em",
py: 1,
"&:hover": {
backgroundColor: "#5a7bd0",
borderColor: "#5a7bd0",
},
}}
>
Don't show again
Expand Down