0

This is the tag <AntDesign.ProLayout.BasicLayout Logo="@("assets/logo.svg")" MenuData="_menuData"> When i remove the logo parameter like this: <AntDesign.ProLayout.BasicLayout MenuData="_menuData">

I get a broken image link like this: Broken image src link after remove the logo parameter

  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. – Community Aug 20 '23 at 21:17

1 Answers1

0

I think the logo cannot be removed in Ant Design Pro Layout According to their source code,

enter image description here

But you can write CSS styles to hide that. Add this style after the <AntDesign.ProLayout.BasicLayout/> tag to your Razor component

<style>
    #logo img {
        display: none;
    }
</style>

Now you can get a output like this

enter image description here

Hirusha Fernando
  • 1,156
  • 10
  • 29