Skip to content

Design and UI modernization - #758

Merged
poppastring merged 9 commits into
mainfrom
bootstrap-stryle-updates
Jan 17, 2026
Merged

poppastring merged 9 commits into
mainfrom
bootstrap-stryle-updates

Conversation

@poppastring

Copy link
Copy Markdown
Owner

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.
  • Blog and comment partials (_BlogItem.cshtml, _BlogItemSummary.cshtml, _CommentPartial.cshtml): Updated to use Bootstrap 5 spacing, cards, and typography for a cleaner, more consistent appearance.
  • Forms and admin pages: Standardized form and button styles to Bootstrap 5, improved accessibility, and removed the registration page.
  • Added dasblog-orig.jpg logo and improved category/archive page layouts.

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.
@poppastring
poppastring merged commit 9b28198 into main Jan 17, 2026
@poppastring
poppastring deleted the bootstrap-stryle-updates branch January 19, 2026 01:21
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

Successfully merging this pull request may close these issues.

1 participant