Repository navigation
Design and UI modernization - #758
Merged
Merged
Conversation
Refactored _Layout.cshtml navigation bars to use semantic <nav> elements and updated all Bootstrap classes and attributes to Bootstrap 5 standards. Replaced deprecated margin/padding utilities, improved responsive behavior with container-fluid, and ensured login/logout links are consistently right-aligned. Also updated nav-scroller alignment and padding classes for better accessibility and layout consistency.
Replaced "container" and "col-12" with "text-center" for cleaner centering. Adjusted placement and markup for <site-page-control> and <site-copyright> components. Footer and info sections are now consistently centered without extra Bootstrap styling.
Refactored blog post and summary layouts to use updated Bootstrap classes for improved spacing, responsiveness, and visual hierarchy. Replaced jumbotron with card in post summaries, adjusted heading levels, and reorganized metadata and sharing links for clarity and accessibility. Removed unnecessary container classes and standardized column sizing.
Replaced deprecated Bootstrap 4 classes with Bootstrap 5 versions in Archive.cshtml and Index.cshtml. Updated margin and font weight classes, and removed unused button styling for improved consistency and compatibility.
Refactored multiple views to replace legacy Bootstrap classes with Bootstrap 5 equivalents for improved consistency and accessibility. Enhanced form layouts, updated headers, improved category and comment displays, and standardized button and label styling for a more polished UI.
Removed Register.cshtml and its code-behind. Refactored admin email notification and social settings views to simplify CSS classes, improve label consistency, and update button styling for better Bootstrap compatibility.
Refactored the navigation bar from a traditional Bootstrap navbar to a modern header using flexbox and utility classes. Added FontAwesome icons to the site title and user menu. Updated navigation links for improved alignment and appearance. Authentication actions now display as a login button or a user dropdown with admin links, depending on user status.
Changed default theme to "dasblog" and replaced header icon with a custom logo image. Moved "Create Post" link to user dropdown and introduced a new UserAvatarTagHelper for displaying user avatars (Gravatar or default SVG). Added dasblog-orig.jpg for site branding.
Removed multiple admin/author links from all navigation menus and replaced them with a single "[Admin Site]" link for authorized users. Public navigation and login/logout links remain unchanged.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Classification
Design and UI modernization.
PR Summary
This pull request updates the DasBlog web application's UI to use Bootstrap 5 conventions, improves navigation, and enhances user experience and accessibility.
_Layout.cshtml: Refactored navigation bar and footer for Bootstrap 5, added user avatar dropdown for authenticated users, and improved layout structure.UserAvatarTagHelper.cs: Introduced a new tag helper to display user avatars (Gravatar or default SVG) in the navigation bar._BlogItem.cshtml,_BlogItemSummary.cshtml,_CommentPartial.cshtml): Updated to use Bootstrap 5 spacing, cards, and typography for a cleaner, more consistent appearance.dasblog-orig.jpglogo and improved category/archive page layouts.