-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added basic layout to get started more easily on developing the front…
…-end.
- Loading branch information
Showing
14 changed files
with
150 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
@page "/activities" | ||
|
||
<h3>Activities</h3> | ||
|
||
<ol> | ||
@foreach (var activity in RecentActivities) | ||
{ | ||
<li>@activity</li> | ||
} | ||
</ol> | ||
|
||
@code { | ||
|
||
public List<string> RecentActivities = new List<string>() | ||
{ | ||
"@brands hit a new PB! 60kg on the Bench Press.", | ||
"@meneerovereem set a new goal for himself. 0 -> 1 boulder trails" | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,6 @@ | |
|
||
<h1>GainsTracker Dashboard</h1> | ||
|
||
Gainer time | ||
<p>Gainer time</p> | ||
|
||
hav fun joyo :D |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
@page "/logging" | ||
|
||
<h3>LogPopup</h3> | ||
|
||
<p>No clue how popups work yet, so that's something to find out :D</p> | ||
|
||
@code { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
@page "/profile" | ||
|
||
<h3>UserProfile</h3> | ||
|
||
@code { | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,33 @@ | ||
<nav class="flex-column"> | ||
<nav class="nav-bar"> | ||
@* Dashboard *@ | ||
<div class="nav-item"> | ||
<NavLink class="nav-link" href="dashboard" Match="NavLinkMatch.All"> | ||
Dashboard | ||
<p class="nav-icon">|^|</p> | ||
<p class="nav-description">Dashboard</p> | ||
</NavLink> | ||
</div> | ||
|
||
@* Log *@ | ||
<div class="nav-item"> | ||
<NavLink class="nav-link" href="login"> | ||
Login page | ||
<NavLink class="nav-link" href="logging"> | ||
<p class="nav-icon">[|</p> | ||
<p class="nav-description">Logging</p> | ||
</NavLink> | ||
</div> | ||
|
||
@* Activity *@ | ||
<div class="nav-item"> | ||
<NavLink class="nav-link" href="activities"> | ||
<p class="nav-icon">^</p> | ||
<p class="nav-description">Activities</p> | ||
</NavLink> | ||
</div> | ||
|
||
@* Profile *@ | ||
<div class="nav-item"> | ||
<NavLink class="nav-link" href="profile"> | ||
<p class="nav-icon">O</p> | ||
<p class="nav-description">Profile</p> | ||
</NavLink> | ||
</div> | ||
</nav> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,36 @@ | ||
.nav-bar { | ||
display: flex; | ||
justify-content: space-evenly; | ||
} | ||
|
||
.nav-item { | ||
display: inline-block; | ||
font-size: 0.9rem; | ||
background-color: var(--primary-color); | ||
padding: 1.5rem; | ||
cursor: pointer; | ||
} | ||
|
||
::deep .nav-link { | ||
display: block; | ||
font-size: 1.5rem; | ||
text-decoration: none; | ||
padding: 2.5rem; | ||
} | ||
|
||
.nav-item:hover { | ||
background-color: lightgreen; | ||
} | ||
|
||
.nav-description { | ||
display: none; | ||
} | ||
|
||
/* For tablet up to desktop */ | ||
@media only screen and (min-width: 600px) { | ||
.nav-icon { | ||
display: none; | ||
} | ||
|
||
.nav-description { | ||
display: block; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,10 @@ | ||
/* The global styling that applies throughout the whole UI. */ | ||
/* The global styling that applies throughout the whole UI. */ | ||
|
||
body { | ||
margin: 0; | ||
} | ||
|
||
/* unclicked -> hover -> clicked -> visited link style */ | ||
a:link, a:hover, a:active, a:visited { | ||
text-decoration: none; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters