Code and file framework updates

This commit is contained in:
Lucas Patenaude
2024-04-24 03:08:57 -06:00
parent 7581f679d8
commit af6f4fbe9f
9 changed files with 15 additions and 32 deletions

View File

@@ -1,5 +0,0 @@
body {
/* background-image: url('./../img/grass-background.png'); Specify the path to your background image */
/* background-repeat: repeat; Set the background image to repeat both horizontally and vertically */
/* background-size: 1000px; Set the size of the background image for each repeat */
}

View File

@@ -1,7 +1,7 @@
/* Add logo font face */ /* Add logo font face */
@font-face { @font-face {
font-family: 'Scottsdale-Italic'; font-family: 'Scottsdale-Italic';
src: url('../fonts/Scottsdale-Italic.ttf') format('truetype'); src: url('../../fonts/Scottsdale-Italic.ttf') format('truetype');
} }
.sticky { .sticky {
@@ -66,12 +66,3 @@
} }
#line {
height: 100%; /* spans the entire height of the navigation bar */
width: 10px;
background-color: white; /* makes the line white */
transform: skewx(-20deg); /* rotates the line by 20 degrees */
transform-origin: top left; /* sets the rotation origin to top left */
margin-left: 10px; /* Add margin to separate the line from the logo */
}

View File

@@ -6,11 +6,8 @@
<!--------------- CSS Stylesheets ----------------> <!--------------- CSS Stylesheets ---------------->
<!-- CSS on All Pages -->
<link rel="stylesheet" type="text/css" href="/css/all-pages-style.css">
<!-- Linking forms.css --> <!-- Linking forms.css -->
<link rel="stylesheet" type="text/css" href="/css/login_and_registration.css"> <link rel="stylesheet" type="text/css" href="/css/login-and-registration/login_and_registration.css">
<!-- Navigation Bar Stylesheets --> <!-- Navigation Bar Stylesheets -->
<link rel="stylesheet" type="text/css" href="/css/navigation-bar/navigation-bar.css"> <link rel="stylesheet" type="text/css" href="/css/navigation-bar/navigation-bar.css">

View File

@@ -0,0 +1,12 @@
<!-- Linking forms.css -->
<div class="login-page account-info-card" id="login-page">
<div class="form-container" id="login-form">
<a id="username">Username: {{user.username}}</a>
<a style="text-decoration: underline;">Favorite Teams:</a> <br>
{{#each fav_teams}}
<img id="teamlogo" src="{{this.teamlogo}}" alt="teamlogo">
<span>{{this.teamname}}</span> <br>
{{/each}}
<a class="nav-link" href="/logout">Logout</a>
</div>
</div>

View File

@@ -1,12 +0,0 @@
<!-- Linking forms.css -->
<div class="login-page account-info-card" id="login-page">
<div class="form-container" id="login-form">
<a id="username">Username: {{user.username}}</a>
<a style="text-decoration: underline;">Favorite Teams:</a> <br>
{{#each fav_teams}}
<img id="teamlogo" src="{{this.teamlogo}}" alt="teamlogo">
<span>{{this.teamname}}</span> <br>
{{/each}}
<a class="nav-link" href = "/logout">Logout</a>
</div>
</div>

View File

@@ -67,7 +67,7 @@
{{#if user.username}} {{#if user.username}}
<div class="account-portal" id="login-container"> <div class="account-portal" id="login-container">
{{> navigation-bar/accountinfo}} {{> navigation-bar/account-screen}}
</div> </div>
{{else}} {{else}}
<div class="account-portal" id="login-container"> <div class="account-portal" id="login-container">