This repository was archived by the owner on Jan 10, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 288
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #236 from abpframework/gterdem/ui_update
Add demo website GitHub link to the footer
- Loading branch information
Showing
6 changed files
with
57 additions
and
26 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
apps/public-web/src/EShopOnAbp.PublicWeb/Components/Toolbar/Footer/Default.cshtml
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,10 @@ | ||
<div class="lpx-footbar-container" style="z-index: 10000; background: none !important;"> | ||
<div class="lpx-footbar"> | ||
<div class="lpx-footbar-copyright"> | ||
<span>This website is built on top of the </span> | ||
<a href="https://abp.io/" target="_blank">ABP Framework</a> | ||
<span> and the source code is available at </span> | ||
<a href="https://github.com/abpframework/eShopOnAbp" target="_blank">github.com/abpframework/eShopOnAbp</a> | ||
</div> | ||
</div> | ||
</div> |
13 changes: 13 additions & 0 deletions
13
apps/public-web/src/EShopOnAbp.PublicWeb/Components/Toolbar/Footer/FooterComponent.cs
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,13 @@ | ||
using Microsoft.AspNetCore.Mvc; | ||
using Volo.Abp.AspNetCore.Mvc; | ||
|
||
namespace EShopOnAbp.PublicWeb.Components.Toolbar.Footer | ||
{ | ||
public class FooterComponent : AbpViewComponent | ||
{ | ||
public virtual IViewComponentResult Invoke() | ||
{ | ||
return View("~/Components/Toolbar/Footer/Default.cshtml"); | ||
} | ||
} | ||
} |
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
21 changes: 19 additions & 2 deletions
21
apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/global.css
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,5 +1,22 @@ | ||
.lpx-content-container { | ||
/* hide sidebar */ | ||
.lpx-sidebar-container { | ||
z-index: 0; | ||
} | ||
|
||
.lpx-content-container { | ||
margin: 0 !important; | ||
z-index: 1100 !important; | ||
position: relative !important; | ||
} | ||
|
||
.lpx-topbar-content { | ||
padding-right: 1rem; | ||
} | ||
|
||
.logo { | ||
width: fit-content; | ||
position: sticky; | ||
top: 0; | ||
z-index: 101; | ||
padding-bottom: 2em; | ||
margin-top: -5.2em; | ||
} |