- ABP Framework version: 8.2 RC4 (but seems to be the same with non RC)
- UI Type: MAUI Blazor
When you create a new MAUI Blazor solution in ABP Suite, you get this footer in the application
Have not been able to find anyway it can be removed / configured including the three buttons to the right and it also seems like the MainFooterComponent is ignored
<span class="copyright-text">@DateTime.Now.Year © MyProject</span>
Seems like this is something hard coded into the LeptonX them as they are visible on the demo site as well (where the About, Privacy and Contact buttons do nothing as well). For the free theme / ABP I could perhaps understand this but for solutions created with ABP Commercial / ABP Studio, I can't think of any customer wanting to do marketing for another company in their app. I would imagine you could download the source code for LeptonX and modify it, but that is of course something you should not need to do unless you really want to change the theme so I assume that isn't needed.
How can we get rid of this and why is it there to begin with?
Thanks.
(I think I have seen this in other non MAUI Blazor projects as well but as we are currently building a MAUI Blazor app, it is reported as such.)
5 Answer(s)
-
0
hi
You can try to override the
Footer
component in your blazor project, I will add this component in next version.MyFooter.razor
@using Volo.Abp.DependencyInjection @using Volo.Abp.AspNetCore.Components.Web.LeptonXTheme.Components.ApplicationLayout.SideMenu @inherits Footer @attribute [ExposeServices(typeof(Footer))] @attribute [Dependency(ReplaceServices = true)] <div class="lpx-footbar-container"> <div class="lpx-footbar"> <div class="lpx-footbar-copyright"> <span>@DateTime.UtcNow.Year©</span> <a href="https://leptontheme.com/" target="_blank">Lepton Theme</a> <span>by</span> <a href="https://volosoft.com/" target="_blank">Volosoft</a> </div> <div class="lpx-footbar-solo-links"> <a href="#">About</a> <a href="#">Privacy</a> <a href="#">Contact</a> </div> </div> </div>
-
0
Thanks. Will give it a try.
-
0
: )
-
0
This seems to work. Since there is a MainFooterComponent.razor file that isn't used, we updated that one with
@inherits Footer @attribute [ExposeServices(typeof(Footer))] @attribute [Dependency(ReplaceServices = true)]
which seems to work so far.
-
0
Good news.