-
Notifications
You must be signed in to change notification settings - Fork 1
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
e4be5b9
commit d935e4a
Showing
3 changed files
with
121 additions
and
71 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 |
---|---|---|
@@ -1,52 +1,68 @@ | ||
<!DOCTYPE html> | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Zwift Bike Gallery</title> | ||
<style> | ||
body { | ||
font-family: Arial, sans-serif; | ||
margin: 20px; | ||
background-color: #121212; | ||
color: #e0e0e0; | ||
} | ||
.gallery { | ||
display: flex; | ||
flex-wrap: wrap; | ||
} | ||
.bike-card { | ||
border: 1px solid #444; | ||
border-radius: 8px; | ||
margin: 10px; | ||
padding: 10px; | ||
width: calc(33% - 40px); | ||
box-sizing: border-box; | ||
background-color: #1e1e1e; | ||
} | ||
.bike-card img { | ||
max-width: 100%; | ||
border-radius: 4px; | ||
} | ||
.bike-details { | ||
margin-top: 10px; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<h1>Zwift Bike Gallery</h1> | ||
<div> | ||
<label for="sortCriteria">Sort by:</label> | ||
<select id="sortCriteria"> | ||
<option value="flatBest">Best Flat Performance</option> | ||
<option value="flatWorst">Worst Flat Performance</option> | ||
<option value="climbBest">Best Climb Performance</option> | ||
<option value="climbWorst">Worst Climb Performance</option> | ||
</select> | ||
<button onclick="generateGallery()">Sort</button> | ||
</div> | ||
<div class="gallery" id="bikeGallery"></div> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta | ||
name="viewport" | ||
content="width=device-width, initial-scale=1.0" | ||
/> | ||
<title>Zwift Bike Gallery</title> | ||
<style> | ||
body { | ||
margin: 20px; | ||
background-color: #121212; | ||
color: #e0e0e0; | ||
font-family: Arial, sans-serif; | ||
} | ||
.gallery { | ||
display: flex; | ||
flex-wrap: wrap; | ||
} | ||
.bike-card { | ||
box-sizing: border-box; | ||
margin: 10px; | ||
border: 1px solid #444; | ||
border-radius: 8px; | ||
background-color: #1e1e1e; | ||
padding: 10px; | ||
width: calc(33% - 40px); | ||
} | ||
.bike-card img { | ||
border-radius: 4px; | ||
max-width: 100%; | ||
} | ||
.bike-details { | ||
margin-top: 10px; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<h1>Zwift Bike Gallery</h1> | ||
<div> | ||
<label for="sortCriteria">Sort by:</label> | ||
<select id="sortCriteria"> | ||
<option value="flatBest"> | ||
Best Flat Performance | ||
</option> | ||
<option value="flatWorst"> | ||
Worst Flat Performance | ||
</option> | ||
<option value="climbBest"> | ||
Best Climb Performance | ||
</option> | ||
<option value="climbWorst"> | ||
Worst Climb Performance | ||
</option> | ||
</select> | ||
<button onclick="generateGallery()"> | ||
Sort | ||
</button> | ||
</div> | ||
<div | ||
class="gallery" | ||
id="bikeGallery" | ||
></div> | ||
|
||
<script src="zwiftBikeGallery.js"></script> | ||
</body> | ||
<script src="zwiftBikeGallery.js"></script> | ||
</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
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