Update to file structure. Every element is now in a navigation-bar folder
This commit is contained in:
@@ -82,10 +82,10 @@ app.use(express.static(path.join(__dirname, 'resources')));
|
||||
Header Scoreboard Routes
|
||||
*************************/
|
||||
|
||||
const fetchMatchesData = require('./resources/js/scoreboard-header/current-match-routes');
|
||||
const fetchMatchesData = require('./resources/js/navigation-bar/scoreboard-header/current-match-routes');
|
||||
app.use(fetchMatchesData);
|
||||
|
||||
const convert_time = require('./resources/js/scoreboard-header/convert-time');
|
||||
const convert_time = require('./resources/js/navigation-bar/scoreboard-header/convert-time');
|
||||
app.use(convert_time);
|
||||
|
||||
|
||||
|
||||
@@ -8,9 +8,9 @@
|
||||
margin-left: 5px;
|
||||
min-width: 150px;
|
||||
|
||||
color: white;
|
||||
background-color: rgb(67, 66, 66);
|
||||
border: 2px solid rgb(52, 52, 52);
|
||||
color: rgb(0, 0, 0);
|
||||
background-color: rgb(255, 255, 255);
|
||||
border: 1px solid rgb(160, 159, 159);
|
||||
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
|
||||
|
||||
transition: transform 0.4s ease; /* Add transition for smooth effect */
|
||||
@@ -1,11 +1,12 @@
|
||||
.scoreboard-container {
|
||||
overflow-x: auto; /* Enable horizontal scrolling */
|
||||
white-space: nowrap; /* Prevent cards from wrapping to the next line */
|
||||
border: 1px solid rgb(202, 2, 2);
|
||||
|
||||
background-color: rgb(98, 97, 97);
|
||||
background-color: rgb(255, 255, 255);
|
||||
|
||||
/* Inner box shadow */
|
||||
box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
|
||||
box-shadow: inset 0px 0px 15px rgba(77, 76, 76, 0.3);
|
||||
}
|
||||
|
||||
.league-container {
|
||||
@@ -6,10 +6,10 @@
|
||||
</head>
|
||||
<body>
|
||||
<!-- Render the scoreboard header on every page -->
|
||||
{{> scoreboard-header/scoreboard-header}}
|
||||
{{> navigation-bar/scoreboard-header/scoreboard-header}}
|
||||
|
||||
<!-- Add your navigation -->
|
||||
{{> nav}}
|
||||
{{> navigation-bar/nav}}
|
||||
|
||||
<!-- Render the main content of each page -->
|
||||
{{{body}}}
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
<link rel="stylesheet" type="text/css" href="css/home-screen.css">
|
||||
|
||||
<!-- Scoreboard Header Stylesheets -->
|
||||
<link rel="stylesheet" type="text/css" href="css/scoreboard-header/scoreboard.css">
|
||||
<link rel="stylesheet" type="text/css" href="css/scoreboard-header/game-card.css">
|
||||
<link rel="stylesheet" type="text/css" href="css/navigation-bar/scoreboard-header/scoreboard.css">
|
||||
<link rel="stylesheet" type="text/css" href="css/navigation-bar/scoreboard-header/game-card.css">
|
||||
|
||||
<title>Group 6 Final Project</title>
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
<!-- Iterate over matches and insert a game card for each -->
|
||||
{{#each matches}}
|
||||
{{> scoreboard-header/game-card}}
|
||||
{{> navigation-bar/scoreboard-header/game-card}}
|
||||
{{/each}}
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user