generated from lighthouse-labs/scheduler
-
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
1 parent
fd97d0f
commit c47c409
Showing
9 changed files
with
150 additions
and
2 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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import React from "react"; | ||
import Button from "components/Button"; | ||
|
||
export default function Confirm(props) { | ||
|
||
return ( | ||
<main className="appointment__card appointment__card--confirm"> | ||
<h1 className="text--semi-bold">{props.message}</h1> | ||
<section className="appointment__actions"> | ||
<Button onClick={props.onCancel} danger>Cancel</Button> | ||
<Button onClick={props.onConfirm} danger>Confirm</Button> | ||
</section> | ||
</main> | ||
) | ||
} |
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,15 @@ | ||
import React from "react"; | ||
|
||
export default function Empty(props) { | ||
|
||
return ( | ||
<main className="appointmentadd"> | ||
<img | ||
className="appointmentadd-button" | ||
src="images/add.png" | ||
alt="Add" | ||
onClick={props.onAdd} | ||
/> | ||
</main> | ||
) | ||
} |
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,19 @@ | ||
import React from "react"; | ||
|
||
export default function Error(props) { | ||
|
||
return ( | ||
<main className="appointment__card appointment__card--error"> | ||
<section className="appointment__error-message"> | ||
<h1 className="text--semi-bold">Error</h1> | ||
<h3 className="text--light">{props.message}</h3> | ||
</section> | ||
<img | ||
className="appointment__error-close" | ||
src="images/close.png" | ||
alt="Close" | ||
onClick={props.onClose} | ||
/> | ||
</main> | ||
) | ||
} |
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 React from "react"; | ||
|
||
export default function Header(props) { | ||
|
||
return ( | ||
<header className="appointment__time"> | ||
<h4 className="text--semi-bold">{props.time}</h4> | ||
<hr className="appointment__separator" /> | ||
</header> | ||
) | ||
} |
Empty file.
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,30 @@ | ||
import React from "react"; | ||
|
||
export default function Show(props) { | ||
|
||
return ( | ||
<main className="appointment__card appointment__card--show"> | ||
<section className="appointment__card-left"> | ||
<h2 className="text--regular">{props.student}</h2> | ||
<section className="interviewer"> | ||
<h4 className="text--light">Interviewer</h4> | ||
<h3 className="text--regular">{props.interviewer.name}</h3> | ||
</section> | ||
</section> | ||
<section className="appointment__card-right"> | ||
<section className="appointment__actions"> | ||
<img onClick={props.onEdit} | ||
className="appointment__actions-button" | ||
src="images/edit.png" | ||
alt="Edit" | ||
/> | ||
<img onClick={props.onDelete} | ||
className="appointment__actions-button" | ||
src="images/trash.png" | ||
alt="Delete" | ||
/> | ||
</section> | ||
</section> | ||
</main> | ||
) | ||
} |
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,15 @@ | ||
import React from "react"; | ||
|
||
export default function Status(props) { | ||
|
||
return ( | ||
<main className="appointment__card appointment__card--status"> | ||
<img | ||
className="appointment__status-image" | ||
src="images/status.png" | ||
alt="Loading" | ||
/> | ||
<h1 className="text--semi-bold">{props.message}</h1> | ||
</main> | ||
) | ||
} |
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