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
|
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);
|
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);
|
app.use(convert_time);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -8,9 +8,9 @@
|
|||||||
margin-left: 5px;
|
margin-left: 5px;
|
||||||
min-width: 150px;
|
min-width: 150px;
|
||||||
|
|
||||||
color: white;
|
color: rgb(0, 0, 0);
|
||||||
background-color: rgb(67, 66, 66);
|
background-color: rgb(255, 255, 255);
|
||||||
border: 2px solid rgb(52, 52, 52);
|
border: 1px solid rgb(160, 159, 159);
|
||||||
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
|
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
|
||||||
|
|
||||||
transition: transform 0.4s ease; /* Add transition for smooth effect */
|
transition: transform 0.4s ease; /* Add transition for smooth effect */
|
||||||
@@ -1,11 +1,12 @@
|
|||||||
.scoreboard-container {
|
.scoreboard-container {
|
||||||
overflow-x: auto; /* Enable horizontal scrolling */
|
overflow-x: auto; /* Enable horizontal scrolling */
|
||||||
white-space: nowrap; /* Prevent cards from wrapping to the next line */
|
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 */
|
/* 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 {
|
.league-container {
|
||||||
@@ -6,10 +6,10 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<!-- Render the scoreboard header on every page -->
|
<!-- Render the scoreboard header on every page -->
|
||||||
{{> scoreboard-header/scoreboard-header}}
|
{{> navigation-bar/scoreboard-header/scoreboard-header}}
|
||||||
|
|
||||||
<!-- Add your navigation -->
|
<!-- Add your navigation -->
|
||||||
{{> nav}}
|
{{> navigation-bar/nav}}
|
||||||
|
|
||||||
<!-- Render the main content of each page -->
|
<!-- Render the main content of each page -->
|
||||||
{{{body}}}
|
{{{body}}}
|
||||||
|
|||||||
@@ -7,8 +7,8 @@
|
|||||||
<link rel="stylesheet" type="text/css" href="css/home-screen.css">
|
<link rel="stylesheet" type="text/css" href="css/home-screen.css">
|
||||||
|
|
||||||
<!-- Scoreboard Header Stylesheets -->
|
<!-- Scoreboard Header Stylesheets -->
|
||||||
<link rel="stylesheet" type="text/css" href="css/scoreboard-header/scoreboard.css">
|
<link rel="stylesheet" type="text/css" href="css/navigation-bar/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/game-card.css">
|
||||||
|
|
||||||
<title>Group 6 Final Project</title>
|
<title>Group 6 Final Project</title>
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
<!-- Iterate over matches and insert a game card for each -->
|
<!-- Iterate over matches and insert a game card for each -->
|
||||||
{{#each matches}}
|
{{#each matches}}
|
||||||
{{> scoreboard-header/game-card}}
|
{{> navigation-bar/scoreboard-header/game-card}}
|
||||||
{{/each}}
|
{{/each}}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
Reference in New Issue
Block a user