mirror of
https://github.com/TheErrorExe/blockattack
synced 2025-09-05 21:11:00 +02:00
Update news.html
This commit is contained in:
parent
d7d717fc13
commit
5d10398b2a
@ -15,6 +15,9 @@
|
|||||||
const newsContainer = document.getElementById('news-container');
|
const newsContainer = document.getElementById('news-container');
|
||||||
newsContainer.innerHTML = '';
|
newsContainer.innerHTML = '';
|
||||||
|
|
||||||
|
// Reihenfolge umkehren
|
||||||
|
news.reverse();
|
||||||
|
|
||||||
news.forEach(item => {
|
news.forEach(item => {
|
||||||
const newsItem = document.createElement('div');
|
const newsItem = document.createElement('div');
|
||||||
newsItem.style.border = '1px solid #ddd';
|
newsItem.style.border = '1px solid #ddd';
|
||||||
@ -59,7 +62,6 @@
|
|||||||
<li><a href="/about.html" style="text-decoration: none; color: #fff; margin-left: 20px;">Über uns</a></li>
|
<li><a href="/about.html" style="text-decoration: none; color: #fff; margin-left: 20px;">Über uns</a></li>
|
||||||
<li><a href="/server.html" style="text-decoration: none; color: #fff; margin-left: 20px;">Server Info</a></li>
|
<li><a href="/server.html" style="text-decoration: none; color: #fff; margin-left: 20px;">Server Info</a></li>
|
||||||
<li><a href="/news.html" style="text-decoration: none; color: #fff; margin-left: 20px;">Neuigkeiten</a></li>
|
<li><a href="/news.html" style="text-decoration: none; color: #fff; margin-left: 20px;">Neuigkeiten</a></li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</nav>
|
</nav>
|
||||||
</header>
|
</header>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user