Skip to content

Commit c373a8d

Browse files
committed
添加公告功能,优化Twikoo
1 parent ccf9caf commit c373a8d

20 files changed

Lines changed: 266 additions & 20 deletions

File tree

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ A modern, feature-rich static blog template built with [Astro](https://astro.bui
2121
[**Español**](./docs/README.es.md) /
2222
[**Русский**](./docs/README.ru.md)
2323

24-
## 🆕 What's New in v2.7
24+
## 🆕 What's New in v2.8
2525

2626
### 🎠 Carousel Optimization
2727
- **Enhanced Banner Carousel:** Improved carousel logic for better performance and smoother transitions
@@ -38,6 +38,11 @@ A modern, feature-rich static blog template built with [Astro](https://astro.bui
3838
- **Performance Improvements:** Reduced animation overhead for better user experience
3939
- **Visual Polish:** Enhanced visual feedback and interaction animations
4040

41+
### 📢 Announcement Feature
42+
- **Configurable Announcement Bar:** Added a customizable announcement bar with options for title, content, icon, type, and closable functionality.
43+
- **Flexible Positioning:** Supports positioning the close button at the bottom-right of the announcement bar.
44+
- Twikoo 评论系统显示和性能优化
45+
4146
---
4247

4348
## ✨ Features
@@ -85,7 +90,7 @@ A modern, feature-rich static blog template built with [Astro](https://astro.bui
8590

8691
1. **Clone the repository:**
8792
```bash
88-
git clone https://github.com/matsuzaka-yuki/mizuki.git
93+
git clone https://github.com/your-username/mizuki.git
8994
cd mizuki
9095
```
9196

@@ -274,3 +279,4 @@ This project is licensed under the MIT License - see the [LICENSE](LICENSE) file
274279
---
275280

276281
⭐ If you find this project helpful, please consider giving it a star!
282+

README.zh-CN.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
[**Español**](./docs/README.es.md) /
2222
[**Русский**](./docs/README.ru.md)
2323

24-
## 🆕 v2.7 版本更新
24+
## 🆕 v2.8 版本更新
2525

2626
### 🎠 轮播图优化
2727
- **增强横幅轮播:** 改进轮播逻辑,提升性能和过渡效果的流畅度
@@ -38,6 +38,13 @@
3838
- **性能提升:** 减少动画开销,提供更好的用户体验
3939
- **视觉优化:** 增强视觉反馈和交互动画效果
4040

41+
### 📢 公告功能
42+
- **可配置公告栏:** 添加了可自定义的公告栏,支持标题、内容、图标、类型和可关闭功能等选项。
43+
- **灵活定位:** 支持将关闭按钮定位在公告栏的右下角。
44+
45+
### 💬 Twikoo 评论系统优化
46+
- **显示和性能优化:** 改进了 Twikoo 评论系统的加载逻辑,解决了需要多次刷新才能显示的问题,并优化了从首页到文章页面的导航加载体验。
47+
4148
---
4249

4350
## ✨ 功能特性

docs/README.de.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Eine moderne, funktionsreiche statische Blog-Vorlage mit erweiterten Funktionen
1616
[**English**](../README.md) /
1717
[**Deutsch**](./README.de.md)
1818

19-
## 🆕 Neues in v2.7
19+
## 🆕 Neues in v2.8
2020

2121
### 🎠 Karussell-Optimierung
2222
- **Verbessertes Banner-Karussell:** Verbesserte Karussell-Logik für bessere Leistung und flüssigere Übergänge
@@ -33,6 +33,13 @@ Eine moderne, funktionsreiche statische Blog-Vorlage mit erweiterten Funktionen
3333
- **Leistungsverbesserungen:** Reduzierung des Animations-Overheads für bessere Benutzererfahrung
3434
- **Visuelle Verbesserungen:** Verbesserung von visuellem Feedback und Interaktions-Animationen
3535

36+
### 📢 Ankündigungsfunktion
37+
- **Konfigurierbare Ankündigungsleiste:** Eine anpassbare Ankündigungsleiste mit Optionen für Titel, Inhalt, Symbol, Typ und Schließfunktion wurde hinzugefügt.
38+
- **Flexible Positionierung:** Unterstützt die Positionierung der Schließen-Schaltfläche unten rechts in der Ankündigungsleiste.
39+
40+
### 💬 Twikoo Kommentar System
41+
- **Anzeige- und Leistungsoptimierung:** Verbesserte Darstellung und Leistung des Twikoo-Kommentarsystems.
42+
3643
---
3744

3845
## ✨ Funktionen

docs/README.es.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Una plantilla de blog estático moderna y rica en características con funcional
1616
[**English**](../README.md) /
1717
[**Español**](./README.es.md)
1818

19-
## 🆕 Novedades en v2.7
19+
## 🆕 Novedades en v2.8
2020

2121
### 🎠 Optimización del Carrusel
2222
- **Carrusel de banner mejorado:** Lógica de carrusel mejorada para mejor rendimiento y transiciones más suaves
@@ -33,6 +33,13 @@ Una plantilla de blog estático moderna y rica en características con funcional
3333
- **Mejoras de rendimiento:** Reducción de la sobrecarga de animación para mejor experiencia de usuario
3434
- **Mejora visual:** Mejora del feedback visual y animaciones de interacción
3535

36+
### 📢 Función de Anuncio
37+
- **Barra de Anuncios Configurable:** Se agregó una barra de anuncios personalizable con opciones para título, contenido, icono, tipo y funcionalidad de cierre.
38+
- **Posicionamiento Flexible:** Permite posicionar el botón de cierre en la parte inferior derecha de la barra de anuncios.
39+
40+
### 💬 Optimización de Comentarios Twikoo
41+
- **Optimización de visualización y rendimiento:** Mejoras en el sistema de comentarios Twikoo para una visualización más eficiente y un mejor rendimiento.
42+
3643
---
3744

3845
## ✨ Características

docs/README.fr.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Un modèle de blog statique moderne et riche en fonctionnalités avec des foncti
1616
[**English**](../README.md) /
1717
[**Français**](./README.fr.md)
1818

19-
## 🆕 Nouveautés de la v2.7
19+
## 🆕 Nouveautés de la v2.8
2020

2121
### 🎠 Optimisation du Carrousel
2222
- **Carrousel de bannière amélioré :** Amélioration de la logique du carrousel pour de meilleures performances et des transitions plus fluides
@@ -33,6 +33,13 @@ Un modèle de blog statique moderne et riche en fonctionnalités avec des foncti
3333
- **Améliorations de performance :** Réduction de la surcharge d'animation pour une meilleure expérience utilisateur
3434
- **Amélioration visuelle :** Amélioration du retour visuel et des animations d'interaction
3535

36+
### 📢 Fonction d'Annonce
37+
- **Barre d'Annonce Configurable :** Ajout d'une barre d'annonce personnalisable avec des options pour le titre, le contenu, l'icône, le type et la fonction de fermeture.
38+
- **Positionnement Flexible :** Prend en charge le positionnement du bouton de fermeture en bas à droite de la barre d'annonce.
39+
40+
### 💬 Optimisation Twikoo
41+
- **Optimisation de l'affichage et des performances :** Amélioration de la vitesse de chargement et de la réactivité du système de commentaires Twikoo.
42+
3643
---
3744

3845
## ✨ Fonctionnalités

docs/README.ja.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
[**English**](../README.md) /
1717
[**日本語**](./README.ja.md)
1818

19-
## 🆕 v2.7の新機能
19+
## 🆕 v2.8の新機能
2020

2121
### 🎠 カルーセル最適化
2222
- **強化されたバナーカルーセル:** パフォーマンスとスムーズな遷移のためのカルーセルロジックの改善
@@ -33,6 +33,13 @@
3333
- **パフォーマンス向上:** より良いユーザー体験のためのアニメーションオーバーヘッドの削減
3434
- **視覚的改善:** 視覚的フィードバックとインタラクションアニメーションの強化
3535

36+
### 📢 アナウンス機能
37+
- **設定可能なアナウンスバー:** タイトル、コンテンツ、アイコン、タイプ、クローズ可能な機能のオプションを備えたカスタマイズ可能なアナウンスバーを追加しました。
38+
- **柔軟な配置:** アナウンスバーの右下隅にクローズボタンを配置できます。
39+
40+
### 💬 コメントシステム最適化
41+
- **Twikooコメントシステムの表示とパフォーマンスの最適化**
42+
3643
---
3744

3845
## ✨ 機能

docs/README.ko.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
[**English**](../README.md) /
1717
[**한국어**](./README.ko.md)
1818

19-
## 🆕 v2.7의 새로운 기능
19+
## 🆕 v2.8의 새로운 기능
2020

2121
### 🎠 캐러셀 최적화
2222
- **향상된 배너 캐러셀:** 성능과 부드러운 전환을 위한 캐러셀 로직 개선
@@ -33,6 +33,13 @@
3333
- **성능 향상:** 더 나은 사용자 경험을 위한 애니메이션 오버헤드 감소
3434
- **시각적 개선:** 시각적 피드백 및 상호작용 애니메이션 강화
3535

36+
### 📢 공지 기능
37+
- **구성 가능한 공지 바:** 제목, 내용, 아이콘, 유형 및 닫기 기능 옵션을 포함하는 사용자 정의 가능한 공지 바를 추가했습니다.
38+
- **유연한 위치 지정:** 공지 바의 오른쪽 하단에 닫기 버튼을 배치할 수 있습니다.
39+
40+
### 💬 Twikoo 댓글 시스템 최적화
41+
- **표시 및 성능 최적화:** Twikoo 댓글 시스템의 표시 및 성능을 개선했습니다.
42+
3643
---
3744

3845
## ✨ 기능

docs/README.ru.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
[**English**](../README.md) /
1717
[**Русский**](./README.ru.md)
1818

19-
## 🆕 Новое в v2.7
19+
## 🆕 Новое в v2.8
2020

2121
### 🎠 Оптимизация Карусели
2222
- **Улучшенная карусель баннеров:** Улучшенная логика карусели для лучшей производительности и более плавных переходов
@@ -33,6 +33,13 @@
3333
- **Улучшения производительности:** Снижение накладных расходов анимации для лучшего пользовательского опыта
3434
- **Визуальные улучшения:** Улучшение визуальной обратной связи и анимаций взаимодействия
3535

36+
### 📢 Функция Объявлений
37+
- **Настраиваемая панель объявлений:** Добавлена настраиваемая панель объявлений с опциями для заголовка, содержимого, значка, типа и функции закрытия.
38+
- **Гибкое позиционирование:** Поддерживает размещение кнопки закрытия в правом нижнем углу панели объявлений.
39+
40+
### 💬 Оптимизация Комментариев Twikoo
41+
- **Оптимизация отображения и производительности:** Улучшена загрузка и рендеринг комментариев Twikoo для более плавной работы.
42+
3643
---
3744

3845
## ✨ Возможности

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "Mizuki",
33
"type": "module",
4-
"version": "2.7.0",
4+
"version": "2.8.0",
55
"scripts": {
66
"dev": "astro dev",
77
"start": "astro dev",

public/assets/js/twikoo.all.min.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)