Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
e18df28
copy over dahboard project files
annaduan09 Nov 19, 2024
033b1ff
integrating firestore - write and read docs
annaduan09 Nov 19, 2024
1f1a1ce
adding menu options
annaduan09 Nov 19, 2024
25728c4
athlete info placeholders
annaduan09 Nov 19, 2024
3590395
add header inputs + auto resizing
annaduan09 Nov 20, 2024
4f5c252
-
annaduan09 Nov 21, 2024
e6341a1
functional header inputs
annaduan09 Nov 21, 2024
946f7a8
adding stat labels (test)
annaduan09 Nov 21, 2024
b669ed2
aligned header
annaduan09 Nov 21, 2024
d6c2532
header dynamic sizing
annaduan09 Nov 26, 2024
f5392a7
restructure stat_entry module, linting
annaduan09 Nov 26, 2024
60e5f6e
fixed overflow issues.
annaduan09 Nov 26, 2024
0f0b953
report building and user alerts complete
annaduan09 Nov 27, 2024
baab2fd
create athlete_report module, clean up main
annaduan09 Nov 27, 2024
16bb5a7
database stuff working, athlete reports populating
annaduan09 Nov 28, 2024
c149e56
automatic header element resizing
annaduan09 Nov 28, 2024
e88045e
chart formatting
annaduan09 Nov 28, 2024
9850712
ugly but functional tooltip
annaduan09 Nov 28, 2024
8217295
update on-field notes based on position
annaduan09 Nov 29, 2024
f468878
position notes
annaduan09 Nov 29, 2024
8c95f06
added margin
annaduan09 Nov 30, 2024
d0da923
font edits
annaduan09 Dec 1, 2024
4e83ada
reorder stat list
annaduan09 Dec 1, 2024
a4f8ff6
secondary font, reordering menu items, other aesthetic stuff
annaduan09 Dec 2, 2024
ce2b2dc
emojis
annaduan09 Dec 2, 2024
98d4c4f
change body colors
annaduan09 Dec 2, 2024
fef0908
initial position notes
annaduan09 Dec 14, 2024
0bd399d
move repos
annaduan09 Feb 1, 2025
0b799ba
uploaded all profiles (except 2020 juniors/seniors)
annaduan09 Feb 4, 2025
50ee419
test google analytics fi
annaduan09 Feb 4, 2025
a0ca412
google analytics fix 2
annaduan09 Feb 4, 2025
d584822
Revert "google analytics fix 2"
annaduan09 Feb 4, 2025
887fb84
hs stats incompatible because no position
annaduan09 Feb 4, 2025
700a1c2
changing conditions for athlete upload, changed default menu options
annaduan09 Feb 4, 2025
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
351 changes: 351 additions & 0 deletions css/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,351 @@
* {
box-sizing: border-box;
}

html, body {
margin: 0;
font-family: Poppins, sans-serif;
color: #1f1f1f;
}

.header {
display: grid;
grid-template-columns: auto 1fr auto;
align-items: center;
background-color: #1f1f1f;
}

.header-left img {
padding: 1rem;
width: 5rem;
height: auto;
}

.header-middle {
display: flex;
gap: 1rem;
align-items: center;
}

#athlete-position select,
#name-input,
#status-input,
#number-input {
font-size: 2.5rem;
font-weight: 100;
color: white;
border: none;
background-color: transparent;
height: 3rem;
line-height: 3rem;
display: flex;
align-items: center;
}

#athlete-position select {
border: none;
}

#athlete-position select:hover,
#name-input:hover,
#status-input:hover,
#number-input:hover {
color: #980000;
}

.header-right {
display: flex;
align-items: center;
gap: 1rem;
}

#load-athletes,
#download-pdf {
background-color: transparent;
color: white;
border: none;
border-radius: 4px;
padding: 0.5rem 1rem;
font-size: 1rem;
font-weight: 400;
cursor: pointer;
transition: background-color 0.2s ease;
}

#load-athletes:hover,
#download-pdf:hover {
color: #980000;
}

#save-athlete,
#clear-all {
padding: 0.5rem 1rem;
font-family: Poppins, sans-serif;
font-size: 0.75rem;
font-weight: 400;
color: white;
background-color: #011f5b;
border: none;
border-radius: 0.5rem;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
cursor: pointer;
}

#save-athlete:hover,
#clear-all:hover {
background-color: #023b87;
box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

#save-athlete:active,
#clear-all:active {
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
background-color: #001940;
}


/* Dropdown Menu */
#dropdown-container {
position: relative;
}

.dropdown-menu {
position: absolute;
top: 100%;
left: 0;
background-color: #fff;
border: 1px solid #ccc;
border-radius: 4px;
list-style: none;
margin: 0;
padding: 0.5rem 0;
min-width: 200px;
max-height: 300px;
overflow-y: auto;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
z-index: 1000;
display: none;
}

.dropdown-menu li {
padding: 0.5rem 1rem;
cursor: pointer;
transition: background-color 0.2s ease;
}

.dropdown-menu li:hover {
background-color: #f0f0f0;
}

.hidden {
display: none;
}

.visible {
display: block;
}

fieldset > * {
margin-bottom: 0.5rem;
}

.benchmark-page {
padding: 1rem;
display: grid;
grid-template-columns: repeat(6, 1fr);
}


fieldset {
border-color: transparent;
}

ul {
font-family: Lato, sans-serif;
list-style-type: none;
padding-left: 0;
font-weight: 300;
font-size: 0.9rem;
}

li {
display: flex;
margin-bottom: 0.5rem;
justify-content: space-between;
}

label {
display: flex;
flex-direction: row;
}

.benchmark-menu input {
font-family: Lato, sans-serif;
border-color: transparent;
width: 1rem;
font-size: 0.9rem;
background-color: #f8f8f8;
border-radius: 0.35em;
font-weight: 200;
color: #4d4d57;
}

#coach-notes {
width: 15vw;
display: block;
text-align: left;
padding: 0.5rem;
overflow-wrap: break-word;
word-wrap: break-word;
overflow-y: auto;
resize: vertical;
border-color: rgb(160, 159, 159, 0.3);
color: gray;
border-width: 1px;
border-radius: 0.35em;
}

.input-wrapper {
display: flex;
flex-direction: row;
justify-content: flex-end;
width: 40%;
}

input[type="number"] {
width: 40%;
appearance: textfield;
text-align: center;
}

.unit {
font-family: Lato, sans-serif;
pointer-events: none;
align-content: center;
opacity: 0.5;
padding-left: 0.25rem;
color: #a2a2a2;
}

.benchmark-chart-area {
display: grid;
grid-column: 2 / 7;
grid-template-columns: repeat(3, 1fr);
grid-template-rows: repeat(2, 1fr);
gap: 2rem;
height: 80vh;
}

.pct-chart {
display: flex;
flex-direction: column;
background-color: white;
border-radius: 1rem;
box-shadow: 0 0 1rem rgba(7, 9, 173, 0.1);

}

.stat-category-label, label[for="coach-notes"] {
font-size: 0.75rem;
font-weight: 600;
margin-top: 1em;
text-transform: uppercase;
}

input[type="number"]:invalid {
color: salmon;
}

input[type="text"] {
border-color: transparent;
}

.header input[type="text"] {
border-color: transparent;
box-sizing: content-box;
width: auto;
}

/* Billboard Charts */

.bb text.bb-title {
font-size: 0.75rem;
font-family: Poppins, sans-serif;
font-weight: 600;
margin-top: 1em;
text-transform: uppercase;
}

.bb-text {
font-family: Poppins, sans-serif;
font-size: 1rem;
font-weight: 300;
}

.bb tspan {
font-family: Lato, sans-serif;
fill: #011f5b;
font-weight: 500;
font-size: 0.75rem;
}

.bb-axis.bb-axis-x path.domain {
opacity: 0;
}

div#radar-chart .bb-level > text:nth-child(2),
div#radar-chart .bb-text{
font-size: 0.75rem;
font-weight: 100;
}

div#radar-chart .bb-axis-0 > text:nth-child(2),
div#radar-chart .bb-axis-1 > text:nth-child(2),
div#radar-chart .bb-axis-2 > text:nth-child(2),
div#radar-chart .bb-axis-3 > text:nth-child(2) {
font-size: 0.75rem;
font-family: Poppins, sans-serif;
font-weight: 600;
text-transform: uppercase;
}


/* Billboard.js Tooltip Styling */
.bb-tooltip {
padding: 10px;
font-family: Poppins, sans-serif;
font-size: 14px;
color: #011f5b;
background: #fff;
border: 1px solid #ccc;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.bb-tooltip .tooltip-title {
font-size: 0.75rem;
font-weight: 600;
margin-bottom: 0.5rem;
text-align: center;
text-transform: uppercase;
}

.bb-tooltip .tooltip-row {
display: flex;
justify-content: left;
margin-bottom: 4px;
}

.bb-tooltip .tooltip-row:last-child {
margin-bottom: 0;
}

.bb-tooltip .tooltip-label {
font-family: Lato, sans-serif;
font-weight: 400;
}

.bb-tooltip .tooltip-value {
font-family: Lato, sans-serif;
text-align: right;
}
8 changes: 8 additions & 0 deletions data/bulk uploads/jr_day_2025.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"Name": ["cole aquino", "steven armbruster", "jake blum", "collier book", "chase calarco", "quincy capogna", "nathan cichy", "joey cleaver", "quinn connors", "benjamin coryea", "rocco costello", "arthur cutler", "joseph devane jr", "jimmy dewire", "george duggins", "austin engroff", "kai erwin", "johnny garcia", "mason geyer", "anthony giorgi", "william gorman", "drew hardwick", "cooper harris", "philip hatfield", "connor hepperlen", "evan honberger", "kyle lucas", "flynn malgieri", "preston mcdaniel", "jaden mcduffie", "mikey mcmahon", "kellen murray", "xavier myers", "jake namnun", "keegan parker", "matthew plumb", "aidan reid", "jaden richberg", "brennan ringer", "michael sclafani", "henry shoemaker", "owen stecker", "noah sur", "trey tallmadge", "jack thomas", "nasir thompson", "finley torrico", "nahmir tucker", "adam vessel", "sam waldman", "caden ward", "bryce werner", "fode wilks", "bo wolford", "joseph zamot"],
"Height": [67, 70, 72, 76, 70, 74, 72, 72, 76, 67, 72, 72, 71, 73, 74, 71, 74, 68, 74, 75, 74, 76, 73, 78, 75, 67, 75, 73, 72, 73, 75, 68, 74, 72, 78, 75, 76, 71, 74, 72, 76, 71, "NA", 71, 74, 77, 74, 67, 73, 72, 74, 72, 73, 72, 67],
"Weight": [179, 188, 192, 261, 202, 194, 182, 231, 226, 177, "NA", 241, 229, 283, 197, 201, 236, 196, 280, 213, 233, 224, 297, 310, 222, 137, 264, 330, 212, 154, 295, 180, 191, 285, 242, 232, 228, 241, 219, 186, 194, 196, 178, 200, 177, 254, 261, 215, 162, 207, 219, 188, 160, 312, 222],
"Wingspan": [71, 72.5, 72, 79, 76, 72.5, 74.5, 75.5, 77, 71, 75.5, 77.5, 75, 76, 76, 71, 73, 69, 74.5, 73.5, 78, 78, 75.5, 72.5, 74, 67.5, 77, 78, 76, 76, 75, 68, 77, 77, 81.5, 74, 74, 73, 74.5, 76, 75, 73, 72, 72, 70, 75, 77.5, 76, 68, 74.5, 77, 76, 73.5, 73, 75],
"Position": ["DB", "DB", "DB", "DB", "DB", "DB", "DB", "DB", "DB", "DB", "DB", "DB", "DB", "DB", "DB", "DB", "DB", "DB", "DB", "DB", "DB", "DB", "DB", "DB", "DB", "DB", "DB", "DB", "DB", "DB", "DB", "DB", "DB", "DB", "DB", "DB", "DB", "DB", "DB", "DB", "DB", "DB", "DB", "DB", "DB", "DB", "DB", "DB", "DB", "DB", "DB", "DB", "DB", "DB", "DB"],
"Status": ["HS", "HS", "HS", "HS", "HS", "HS", "HS", "HS", "HS", "HS", "HS", "HS", "HS", "HS", "HS", "HS", "HS", "HS", "HS", "HS", "HS", "HS", "HS", "HS", "HS", "HS", "HS", "HS", "HS", "HS", "HS", "HS", "HS", "HS", "HS", "HS", "HS", "HS", "HS", "HS", "HS", "HS", "HS", "HS", "HS", "HS", "HS", "HS", "HS", "HS", "HS", "HS", "HS", "HS", "HS"]
}
Loading