upgraded news

This commit is contained in:
Saifeddine ALOUI 2024-11-21 00:11:17 +01:00
parent a5e7dace3d
commit 6a75277356
2 changed files with 18 additions and 3 deletions

View File

@ -48,7 +48,7 @@ async def get_lollms_version():
"""Get the changelog."""
base_path = Path(__file__).parent
infos = base_path/"news"/"current.html"
return infos.read_text()
return infos.read_text(encoding="utf8")
@router.get("/get_lollms_webui_version")
async def get_lollms_webui_version():

View File

@ -1,6 +1,21 @@
<div class="mb-6">
<h3 class="text-2xl font-semibold mb-2 text-indigo-600">New Feature Alert!</h3>
<p class="text-gray-700">LoLLMs UI now has a new theming system, allowing for more personalized and visually appealing interactions.</p>
<div class="bg-gradient-to-r from-purple-500 to-indigo-600 p-6 rounded-lg shadow-lg">
<h3 class="text-3xl font-bold mb-4 text-white">🎉 New Feature Alert! 🎉</h3>
<div class="bg-white p-4 rounded-lg mb-4">
<h4 class="text-xl font-semibold mb-2 text-indigo-700">🎨 LoLLMs UI Theming System</h4>
<p class="text-gray-700 mb-2">Experience a more personalized and visually appealing interaction with our new theming system!</p>
</div>
<div class="bg-white p-4 rounded-lg">
<h4 class="text-xl font-semibold mb-2 text-indigo-700">🌍 VillageLife Simulator</h4>
<p class="text-gray-700 mb-2">Dive into our new world simulation app! Solve complex problems by simulating entire societies.</p>
<p class="text-gray-600 italic mb-2">Want to find the meaning of Life, the Universe, and Everything? Simulate Earth for a few million years!</p>
<div class="flex items-center">
<p class="text-sm text-gray-500">⚠️ Watch out for Vogons!</p>
</div>
</div>
</div>
</div>
<div class="mb-6">