forked from brenoxav/expert-class-frontend
-
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.
Merge pull request brenoxav#40 from brenoxav/add-global-styles
Add global styles
- Loading branch information
Showing
49 changed files
with
773 additions
and
897 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
116 changes: 1 addition & 115 deletions
116
src/__tests__/snapTests/__snapshots__/addClassPage.snapshot.test.js.snap
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,117 +1,3 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`AddClassPage Renders the page 1`] = ` | ||
<div | ||
className="add-class-container" | ||
> | ||
<div | ||
className="main-container" | ||
> | ||
<h2 | ||
className="heading" | ||
> | ||
Add Class | ||
</h2> | ||
<form | ||
className="add-class-form" | ||
data-testid="add-class-form" | ||
onSubmit={[Function]} | ||
> | ||
<div | ||
className="inputWrapper" | ||
> | ||
<label | ||
htmlFor="title" | ||
> | ||
<input | ||
className="add-class-title" | ||
id="title" | ||
name="course[title]" | ||
onChange={[Function]} | ||
placeholder="Title" | ||
type="text" | ||
value="" | ||
/> | ||
</label> | ||
</div> | ||
<div | ||
className="inputWrapper" | ||
> | ||
<label | ||
htmlFor="description" | ||
> | ||
<input | ||
className="class-description" | ||
id="description" | ||
name="course[description]" | ||
onChange={[Function]} | ||
placeholder="Description" | ||
type="text" | ||
value="" | ||
/> | ||
</label> | ||
</div> | ||
<div | ||
className="inputWrapper" | ||
> | ||
<label | ||
htmlFor="duration" | ||
> | ||
<input | ||
className="class-duration" | ||
id="duration" | ||
name="course[duration]" | ||
onChange={[Function]} | ||
placeholder="Duration" | ||
type="number" | ||
value="" | ||
/> | ||
</label> | ||
</div> | ||
<div | ||
className="inputWrapper" | ||
> | ||
<label | ||
htmlFor="instructor" | ||
> | ||
<input | ||
className="class-instructor" | ||
id="instructor" | ||
name="course[instructor]" | ||
onChange={[Function]} | ||
placeholder="Instructor" | ||
type="text" | ||
value="" | ||
/> | ||
</label> | ||
</div> | ||
<div | ||
className="upload-box inputWrapper" | ||
> | ||
<span | ||
className="instruction" | ||
> | ||
Upload Instructor Image | ||
</span> | ||
<input | ||
accept="image/png, image/jpeg" | ||
className="instructor-image" | ||
data-testid="imageInput" | ||
id="image" | ||
name="course[image]" | ||
onChange={[Function]} | ||
placeholder="Add image" | ||
type="file" | ||
/> | ||
</div> | ||
<div> | ||
<input | ||
className="class-submit" | ||
type="submit" | ||
value="Add" | ||
/> | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
`; | ||
exports[`AddClassPage Renders the page 1`] = `null`; |
36 changes: 1 addition & 35 deletions
36
src/__tests__/snapTests/__snapshots__/removeClassPage.snapshot.test.js.snap
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,37 +1,3 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`RemoveClassPage Renders the page 1`] = ` | ||
<div | ||
className="remove-class-container" | ||
> | ||
<div | ||
className="heading" | ||
> | ||
Remove Class | ||
</div> | ||
<table | ||
className="reservations-table" | ||
> | ||
<thead> | ||
<tr> | ||
<th> | ||
Title | ||
</th> | ||
<th> | ||
Description | ||
</th> | ||
<th> | ||
Instructor | ||
</th> | ||
<th> | ||
Duration | ||
</th> | ||
<th> | ||
Action | ||
</th> | ||
</tr> | ||
</thead> | ||
<tbody /> | ||
</table> | ||
</div> | ||
`; | ||
exports[`RemoveClassPage Renders the page 1`] = `null`; |
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
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
4 changes: 3 additions & 1 deletion
4
src/common/Carousel/Swiper.css → src/common/Carousel/Swiper.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 |
---|---|---|
@@ -1,4 +1,6 @@ | ||
@import '../../styles/abstracts/variables'; | ||
|
||
#swiper-container .swiper-button-next, | ||
#swiper-container .swiper-button-prev { | ||
color: grey; | ||
color: $dark-green-full; | ||
} |
This file was deleted.
Oops, something went wrong.
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.