-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixes #244 * Basic button in main page, add basic form to rate. Need to add the button in all song pages in lyrics directory. * chore: Add font awesome to every page in the lyrics directory. * chore: Add rate song btn to all pages in lyrics directory. * Basic test for Netlify forms. * Add option value as song name. The song name currently shows as [song] on netlify, instead of the song name rated.
- Loading branch information
1 parent
b45166e
commit 21c5458
Showing
10 changed files
with
132 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<link rel="stylesheet" href="styles.css" /> | ||
<title>Rate Song</title> | ||
</head> | ||
<body> | ||
<form name="contact" netlify> | ||
<p> | ||
<label class="song-name" | ||
>Song Name: | ||
<select name="song[]" multiple required> | ||
<option value="christmas-song">Christmas Song</option> | ||
<option value="baby-it's-cold-outside">Baby It's Cold Outside</option> | ||
<option value="the-most-wonderful-time-of-the-year">The Most Wonderful Time of The Year</option> | ||
<option value="last-christmas">Last Christmas</option> | ||
<option value="little-saint-nick">Little Saint Nick</option> | ||
<option value="all-i-want-for-christmas">All I Want For Christmas</option> | ||
</select></label | ||
> | ||
</p> | ||
<p> | ||
<label class="rating" | ||
>Rating - Out of 10 <input type="number" name="number" min="0" max="10" required/></label | ||
></label> | ||
</p> | ||
<p> | ||
<button class="btn" type="submit">Submit Rating</button> | ||
</p> | ||
</form> | ||
</body> | ||
</html> |
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,44 @@ | ||
.song-name, | ||
.rating { | ||
color: limegreen; | ||
} | ||
|
||
.song-name { | ||
width: 200px; | ||
} | ||
|
||
input { | ||
color: red; | ||
} | ||
|
||
.btn { | ||
background-image: linear-gradient( | ||
to right, | ||
#d31027 0%, | ||
#ea384d 51%, | ||
#d31027 100% | ||
); | ||
} | ||
.btn { | ||
margin: 10px; | ||
padding: 15px 45px; | ||
text-align: center; | ||
text-transform: uppercase; | ||
transition: 0.5s; | ||
background-size: 200% auto; | ||
color: white; | ||
box-shadow: 0 0 20px #eee; | ||
border-radius: 10px; | ||
display: block; | ||
} | ||
|
||
.btn:hover { | ||
background-position: right center; /* change the direction of the change here */ | ||
color: #fff; | ||
text-decoration: none; | ||
} | ||
|
||
body { | ||
max-width: 100%; | ||
overflow-x: hidden; | ||
} |
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