Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add event org form field #71

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
10 changes: 10 additions & 0 deletions app/components/conferences/create/EventBasicDetails.js
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,16 @@ export const EventBasicCreate = ({ setDraft, handleToast }) => {
onChange={handleChange}
/>
</Form.Group>
<Form.Group className="mb-3">
<Form.Label>Event Organization*</Form.Label>
<Form.Control
required
name="owner-name"
type="text"
placeholder="ABC Corp."
onChange={handleChange}
/>
</Form.Group>
<Form.Group className="mb-3">
<Form.Label>Event Organizer logo</Form.Label>
<Form.Control
Expand Down
2 changes: 1 addition & 1 deletion app/components/conferences/display/EventHeader.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const MdEventHeader = ({ event, error }) => {
<Col fluid="true">
{/* <Image src={event.data.attributes["original-image-url"]} fluid /> */}
</Col>
<Col className="mt-1" md={5} sm={5} style={{backdropFilter: "blur(45px)"}}>
<Col md={5} sm={5} style={{backdropFilter: "blur(45px)"}}>
<Row>
<h5>{event.data.attributes.name}</h5>
<p>
Expand Down
4 changes: 2 additions & 2 deletions app/components/conferences/display/EventShow.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export const EventShow = ({ event, error, speaker, prsession }) => {

const isSmallScreen = useMediaQuery("(max-width: 576px)");

const isMdScreen = useMediaQuery("(min-width: 768px)");
const isMdScreen = useMediaQuery("(max-width: 768px)");

return (
<Card className={styles.event_show_root}>
Expand All @@ -59,7 +59,7 @@ export const EventShow = ({ event, error, speaker, prsession }) => {
<div className={styles.event_logo}>
<Image src={event.data.attributes["logo-url"]} width={100} />
</div>
<div className={styles.event_organizer_header}><h6> Organizer </h6></div>
<div className={styles.event_organizer_header}><h6> {event.data.attributes["owner-name"]} </h6></div>
</Stack>
</Tab>
<Tab eventKey="sessions" title="Sessions">
Expand Down
9 changes: 8 additions & 1 deletion app/styles/event.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,14 @@
}
}

@media (min-width: 576px) and (max-width: 992px) {
@media (min-width: 576px) and (max-width: 768px) {
.event_custom_container{
max-width: 100vw;
}
.event_banner{
padding: 0;
min-width: 79vw;
}
.speaker_intro {
display: flex;
flex-direction: row;
Expand Down