Skip to content

Commit

Permalink
Merge pull request #16 from Trafix120/Fix-Layout
Browse files Browse the repository at this point in the history
Fixed Layout and Home Page Views
  • Loading branch information
erland-syafiq authored Sep 18, 2023
2 parents 20c7a08 + 829dc07 commit 3b2aaf6
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 10 deletions.
9 changes: 6 additions & 3 deletions Views/Home/Index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
margin-bottom: 40px;
}
.heroBtn {
.heroBtn{
text-decoration: none;
display: inline-block;
margin-top: 10px;
Expand All @@ -53,7 +53,6 @@
height: 410px;
background-color: rgba(58, 80, 107, 32%);
}
</style>
Expand All @@ -72,7 +71,11 @@
<h4>
The premier Model United Nation conference for high school students
</h4>
<a class="heroBtn btn-primary" asp-area="Identity" asp-page="/Account/Register"><h4>Register Here</h4></a>
<a class="btn btn-primary btn-lg heroBtn" asp-area="" asp-controller="Applicants" asp-action="Create">
<h4>
Register Here
</h4>
</a>
</div>
<div class="heroBackground"></div>
</section>
16 changes: 10 additions & 6 deletions Views/Shared/_Layout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
margin-right: 15px;
}
button.navbar-toggler {
background-color: var(--secondary-background);
}
</style>

</head>
Expand Down Expand Up @@ -82,17 +86,17 @@
<img src="/Images/Logo.png" />
<h4>VTMUNC 2024</h4>
</div>
<p>
<p>
Virginia Tech, Blacksburg, VA 24061 <br>
chargedaffairs@vtmunc.org
</p>

<p class="disclaimerText">
Although this organization has members who are Virginia Tech students and may have University employees
associated or engaged in its activities and affairs, the organization is not a part of or an agency of
the University. It is a separate and independent organization which is responsible for and manages its
own activities and affairs. The University does not direct, supervise or control the organization and is
not responsible for the organization's contracts, acts or omissions. the VTMUNC secretariat reserves the
Although this organization has members who are Virginia Tech students and may have University employees
associated or engaged in its activities and affairs, the organization is not a part of or an agency of
the University. It is a separate and independent organization which is responsible for and manages its
own activities and affairs. The University does not direct, supervise or control the organization and is
not responsible for the organization's contracts, acts or omissions. the VTMUNC secretariat reserves the
right to change website contents at any given time.
</p>

Expand Down
2 changes: 1 addition & 1 deletion Views/Shared/_LoginPartial.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

@if (SignInManager.IsSignedIn(User))
{
if (User.IsInRole("Secretariat"))
if (User.IsInRole("Secretariat") || User.IsInRole("Admin"))
{
<a class="nav-link customFont" asp-area="" asp-controller="Applicants" asp-action="Index">Dashboard</a>
}
Expand Down

0 comments on commit 3b2aaf6

Please sign in to comment.