File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
src/LinkDotNet.Blog.Web/Features
Admin/BlogPostEditor/Components Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1919 <div class =" d-flex justify-content-between align-items-center mb-4" >
2020 <h2 class =" fw-bold text-primary mb-0" >@Title </h2 >
2121 <div class =" d-flex gap-2" >
22- <span class =" badge text-dark px-3 py-2 fw-medium" >
22+ <span class =" badge text-body-secondary px-3 py-2 fw-medium" >
2323 @GetStatusText()
2424 </span >
2525 @if (model .IsDirty )
5555 </div >
5656
5757 <div class =" p-4 border-bottom" >
58- <label class =" form-label fw-bold text-dark mb-3" >Short Description</label >
58+ <label class =" form-label fw-bold mb-3" >Short Description</label >
5959 <MarkdownTextArea Id =" short" Class =" form-control border-0 shadow-none"
6060 Rows =" 4" Placeholder =" Write a compelling summary..."
6161 @bind-Value =" @model.ShortDescription"
6464 </div >
6565
6666 <div class =" p-4 position-relative" >
67- <label class =" form-label fw-bold text-dark mb-3" >
67+ <label class =" form-label fw-bold mb-3" >
6868 Content <span class =" badge bg-secondary ms-2 fw-medium" >@ReadingTimeCalculator.GetWordCount(model.Content) words</span >
6969 <span class =" badge bg-info ms-1 fw-medium" >~@GetEstimatedReadTime() min read</span >
7070 </label >
Original file line number Diff line number Diff line change 2323 <div class =" col-2 col-sm-1" >
2424 @if (! string .IsNullOrEmpty (post .PreviewImageUrl ))
2525 {
26- <img src =" @post.PreviewImageUrl"
27- alt =" @post.Title"
26+ <img src =" @post.PreviewImageUrl"
27+ alt =" @post.Title"
2828 class =" img-fluid rounded w-100 aspect-ratio-1x1"
2929 loading =" lazy"
3030 onerror =" this.onerror=null; this.src='@(post.PreviewImageUrlFallback ?? " assets /image-placeholder.webp " )';" >
4242 <p class =" mb-1 small text-body-secondary" >
4343 @MarkdownConverter.ToPlainString(post.ShortDescription)
4444 </p >
45- <div class =" text-dark-emphasis d-flex flex-wrap gap-2 mt-1" >
45+ <div class =" text-body-secondary d-flex flex-wrap gap-2 mt-1" >
4646 <div class =" me-2" >
4747 <span class =" date" ></span >
4848 <span class =" ms-1" >@post.UpdatedDate.ToShortDateString() </span >
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ else if (BlogPost is not null)
4646 <div class =" blog-inner-content" >
4747 <header class =" text-center" >
4848 <h1 class =" fw-bold" >@BlogPost.Title </h1 ></header >
49- <div class =" text-dark-emphasis d-flex flex-wrap align-items-center gap-3 meta-info" >
49+ <div class =" text-body-secondary d-flex flex-wrap align-items-center gap-3 meta-info" >
5050 <div class =" d-inline-flex align-items-center" >
5151 <span class =" date me-1" ></span >
5252 <span >@BlogPost.UpdatedDate.ToShortDateString() </span >
You can’t perform that action at this time.
0 commit comments