Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

default view component doesn't link correctly + #34

Open
Tholdrin opened this issue Jun 29, 2021 · 1 comment
Open

default view component doesn't link correctly + #34

Tholdrin opened this issue Jun 29, 2021 · 1 comment

Comments

@Tholdrin
Copy link

I'm at a loss, following tutorial (ASP.NET Core Fundamentals part 6) - step by step and have several issues.
1.) footer covers over the generated cards in /Lists
2.) The footer with a total number of restaurants generated in a default view component and a link to Lists - doesn't actually link where it's supposed to but instead to whatever page you're currently on instead.

The only difference in code is using class 'card' instead of 'well' and 'Panel' as BS5 no longer supports those.

@ShawnOrr
Copy link

ShawnOrr commented Jul 9, 2021

  1. This is a css issue that's not covered in the tutorial. If you go to wwwroot > css > site.css and remove the position property from the .footer class, this will fix the issue. For the time being at least.

  2. Make sure the path for the link is "/Restaurants/List".
    There are @Model restaurants here. <a asp-page="/Restaurants/List">View All</a>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants