diff --git a/src/Blogifier.Admin/Blogifier.Admin.csproj b/src/Blogifier.Admin/Blogifier.Admin.csproj
index 13d58480c..1b365811c 100644
--- a/src/Blogifier.Admin/Blogifier.Admin.csproj
+++ b/src/Blogifier.Admin/Blogifier.Admin.csproj
@@ -82,4 +82,5 @@
+
diff --git a/src/Blogifier.Admin/assets/gulpfile.mjs b/src/Blogifier.Admin/assets/gulpfile.mjs
index 8678d8159..47ba6db96 100644
--- a/src/Blogifier.Admin/assets/gulpfile.mjs
+++ b/src/Blogifier.Admin/assets/gulpfile.mjs
@@ -160,7 +160,7 @@ const scss = () => {
}
const watcher = () => {
- watch('./js/**/*.js', series(blogifierJs));
+ watch('./js/**/*.js', series(blogifierJs, editorJs));
watch('./scss/**/*.scss', series(scss));
};
diff --git a/src/Blogifier.Themes.Standard/Views/Themes/standard/404.cshtml b/src/Blogifier.Themes.Standard/Views/Themes/standard/404.cshtml
index bf2c8cfce..ac79f4d21 100644
--- a/src/Blogifier.Themes.Standard/Views/Themes/standard/404.cshtml
+++ b/src/Blogifier.Themes.Standard/Views/Themes/standard/404.cshtml
@@ -99,10 +99,8 @@
@_localizer["page-not-found-message"]
-
diff --git a/src/Blogifier.Themes.Standard/Views/Themes/standard/components/footer.cshtml b/src/Blogifier.Themes.Standard/Views/Themes/standard/components/footer.cshtml
index 82482dd73..0dab9d39c 100644
--- a/src/Blogifier.Themes.Standard/Views/Themes/standard/components/footer.cshtml
+++ b/src/Blogifier.Themes.Standard/Views/Themes/standard/components/footer.cshtml
@@ -1,13 +1,11 @@
@inject IStringLocalizer _localizer
@model MainModel
-
+
diff --git a/src/Blogifier.Themes.Standard/Views/Themes/standard/components/nav.cshtml b/src/Blogifier.Themes.Standard/Views/Themes/standard/components/nav.cshtml
index 2a87c7249..e3d4f9860 100644
--- a/src/Blogifier.Themes.Standard/Views/Themes/standard/components/nav.cshtml
+++ b/src/Blogifier.Themes.Standard/Views/Themes/standard/components/nav.cshtml
@@ -11,7 +11,7 @@
-
-
-
+
+
Read
-
-
+
+
diff --git a/src/Blogifier.Themes.Standard/Views/Themes/standard/post/view-list.cshtml b/src/Blogifier.Themes.Standard/Views/Themes/standard/post/view-list.cshtml
index d3e96bc11..bccb59e95 100644
--- a/src/Blogifier.Themes.Standard/Views/Themes/standard/post/view-list.cshtml
+++ b/src/Blogifier.Themes.Standard/Views/Themes/standard/post/view-list.cshtml
@@ -20,19 +20,16 @@
@post.User.NickName
-
-
-
+
+
@if (post.Categories != null)
{
-
-
+
+
@foreach (var cat in post.Categories)
{
@@ -44,10 +41,8 @@
@Html.Raw(post.Description)
Read More
-
-
+
+
diff --git a/src/Blogifier.Themes.Standard/Views/Themes/standard/profile.cshtml b/src/Blogifier.Themes.Standard/Views/Themes/standard/profile.cshtml
index a878b952c..60a91ef2d 100644
--- a/src/Blogifier.Themes.Standard/Views/Themes/standard/profile.cshtml
+++ b/src/Blogifier.Themes.Standard/Views/Themes/standard/profile.cshtml
@@ -23,14 +23,13 @@
diff --git a/src/Blogifier.Themes.Standard/assets/gulpfile.mjs b/src/Blogifier.Themes.Standard/assets/gulpfile.mjs
index d1204841d..5dcc1d51e 100644
--- a/src/Blogifier.Themes.Standard/assets/gulpfile.mjs
+++ b/src/Blogifier.Themes.Standard/assets/gulpfile.mjs
@@ -4,7 +4,6 @@ import { deleteAsync } from 'del';
import gulp from 'gulp';
import plumber from 'gulp-plumber';
-import size from 'gulp-size';
import uglify from 'gulp-uglify';
import sourcemaps from 'gulp-sourcemaps';
@@ -126,11 +125,12 @@ const svgSprite = () => {
}
})
);
- return stream.pipe(dest('dist/images'));
+ return stream.pipe(dest('dist/img'));
}
const watcher = () => {
watch('./js/**/*.js', series(rollupJs));
+ watch('./scss/**/*.scss', series(scss));
};
export default series(
diff --git a/src/Blogifier.Themes.Standard/assets/scss/layout/_nav.scss b/src/Blogifier.Themes.Standard/assets/scss/layout/_nav.scss
index e699eddb5..db7d79d56 100644
--- a/src/Blogifier.Themes.Standard/assets/scss/layout/_nav.scss
+++ b/src/Blogifier.Themes.Standard/assets/scss/layout/_nav.scss
@@ -24,6 +24,7 @@
color: #000;
background-color: var(--bs-light);
}
+
> .bi,
> img {
transform: translateY(-0.1rem);
@@ -33,11 +34,13 @@
&-link {
padding: 0 1rem;
font-weight: 500;
+
.bi-chevron-down {
width: 0.75rem;
height: 0.75rem;
}
}
+
&-button {
padding: 0;
width: 2.5rem;
@@ -45,6 +48,7 @@
.-login {
position: relative;
+
&::after {
content: "";
width: 1px;
@@ -56,15 +60,21 @@
background-color: rgba(#000, 0.1);
display: block;
}
+
.bi-box-arrow-in-right {
transform: translateX(-0.125rem);
}
}
+
@media (max-width: 767px) {
border-bottom: 1px solid rgba(#000, 0.03);
border-top: 1px solid rgba(#000, 0.03);
padding: 0.25rem 0.75rem;
margin: 0 -1.5rem 1rem;
+
+ &-link {
+ padding: 0 0 0 1rem;
+ }
}
}
diff --git a/src/Blogifier.Themes.Standard/assets/svg/box-arrow-in-right.svg b/src/Blogifier.Themes.Standard/assets/svg/box-arrow-in-right.svg
deleted file mode 100644
index 8110e3eac..000000000
--- a/src/Blogifier.Themes.Standard/assets/svg/box-arrow-in-right.svg
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
diff --git a/src/Blogifier.Themes.Standard/assets/svg/categories.svg b/src/Blogifier.Themes.Standard/assets/svg/categories.svg
deleted file mode 100644
index ab37cb450..000000000
--- a/src/Blogifier.Themes.Standard/assets/svg/categories.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
-
diff --git a/src/Blogifier.Themes.Standard/assets/svg/chevron-down.svg b/src/Blogifier.Themes.Standard/assets/svg/chevron-down.svg
deleted file mode 100644
index ab37cb450..000000000
--- a/src/Blogifier.Themes.Standard/assets/svg/chevron-down.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
-
diff --git a/src/Blogifier.Themes.Standard/assets/svg/facebook.svg b/src/Blogifier.Themes.Standard/assets/svg/facebook.svg
deleted file mode 100644
index 17de23073..000000000
--- a/src/Blogifier.Themes.Standard/assets/svg/facebook.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
-
diff --git a/src/Blogifier.Themes.Standard/assets/svg/github.svg b/src/Blogifier.Themes.Standard/assets/svg/github.svg
deleted file mode 100644
index 4332ee295..000000000
--- a/src/Blogifier.Themes.Standard/assets/svg/github.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
-
diff --git a/src/Blogifier.Themes.Standard/assets/svg/instagram.svg b/src/Blogifier.Themes.Standard/assets/svg/instagram.svg
deleted file mode 100644
index 1ed213920..000000000
--- a/src/Blogifier.Themes.Standard/assets/svg/instagram.svg
+++ /dev/null
@@ -1,17 +0,0 @@
-
-
-
diff --git a/src/Blogifier.Themes.Standard/assets/svg/search.svg b/src/Blogifier.Themes.Standard/assets/svg/search.svg
deleted file mode 100644
index eecd79338..000000000
--- a/src/Blogifier.Themes.Standard/assets/svg/search.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
-
diff --git a/src/Blogifier.Themes.Standard/assets/svg/twitter.svg b/src/Blogifier.Themes.Standard/assets/svg/twitter.svg
deleted file mode 100644
index f4ce398c9..000000000
--- a/src/Blogifier.Themes.Standard/assets/svg/twitter.svg
+++ /dev/null
@@ -1,3 +0,0 @@
-
-
-
diff --git a/src/Blogifier.Themes.Standard/assets/svg/youtube.svg b/src/Blogifier.Themes.Standard/assets/svg/youtube.svg
deleted file mode 100644
index 127459571..000000000
--- a/src/Blogifier.Themes.Standard/assets/svg/youtube.svg
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
diff --git a/src/Blogifier/Posts/PostProvider.cs b/src/Blogifier/Posts/PostProvider.cs
index 5b5993ac6..586a2583a 100644
--- a/src/Blogifier/Posts/PostProvider.cs
+++ b/src/Blogifier/Posts/PostProvider.cs
@@ -4,6 +4,7 @@
using Blogifier.Extensions;
using Blogifier.Helper;
using Blogifier.Shared;
+using Microsoft.AspNetCore.Components.Forms;
using Microsoft.EntityFrameworkCore;
using ReverseMarkdown.Converters;
using System;
@@ -241,8 +242,7 @@ public Task StateAsynct(IEnumerable ids, PostState state)
public async Task StateInternalAsynct(IQueryable query, PostState state)
{
await query.ExecuteUpdateAsync(setters =>
- setters.SetProperty(b => b.State, state)
- .SetProperty(b => b.PublishedAt, b => GetPublishedAt(b.PublishedAt, state)));
+ setters.SetProperty(b => b.State, state));
}
public async Task AddAsync(PostEditorDto postInput, int userId)