Skip to content

Commit

Permalink
Merge pull request #118 from RPI-ITWS/friend_tag
Browse files Browse the repository at this point in the history
Small bug fixes
  • Loading branch information
LHTY03 authored Dec 9, 2024
2 parents 8178440 + 52841b4 commit 162b865
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions Predictions/src/predictions.css
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,16 @@ body, html {
}

#header1 {
font-family: 'Orbitron', sans-serif;
font-family: Arial Black, Helvetica, sans-serif;
font-style: italic;
font-weight: bold;
display: flex;
font-size: 60px;
position: absolute;
justify-content: center;
transform: translate(-50%, -10%);
left: 50%;
color: #00ffc3;

align-items: center;
background: transparent;
}
Expand Down
2 changes: 1 addition & 1 deletion Team/Teams.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="Teams.css">
<script src="./scripts/Team.js" defer></script>
<script src="./scripts/Teams.js" defer></script>
<?php include "../php/include_header.php"?>
<title>NBA Teams</title>
</head>
Expand Down
2 changes: 1 addition & 1 deletion friend/src/friend.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function displayFriendsAndPredictions(friends) {
// Add click event and cursor style to friend name
friendNameElement.style.cursor = 'pointer';
friendNameElement.addEventListener('click', () => {
window.location.href = `../profile/profile.php?id=${friend.id}`;
window.location.href = `../Auth/Profile/profile.php?id=${friend.id}`;
});

friendSection.querySelector('.total-points').textContent =
Expand Down

0 comments on commit 162b865

Please sign in to comment.