87 lines
2.1 KiB
HTML
87 lines
2.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>News - ReviveSparc</title>
|
|
<link rel="stylesheet" href="style.css">
|
|
</head>
|
|
<body>
|
|
|
|
<div id="header">
|
|
<div class="inner">
|
|
<h1><a href="index.html">ReviveSparc</a></h1>
|
|
<p class="subtitle">An open-source OpenSPARC ISA reimplementation</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="nav">
|
|
<div class="inner">
|
|
<ul>
|
|
<li><a href="index.html">Home</a></li>
|
|
<li><a href="about.html">About</a></li>
|
|
<li><a href="download.html">Download</a></li>
|
|
<li><a href="docs.html">Docs</a></li>
|
|
<li><a href="news.html" class="active">News</a></li>
|
|
<li><a href="roadmap.html">Roadmap</a></li>
|
|
<li><a href="screenshots.html">Screenshots</a></li>
|
|
<li><a href="community.html">Community</a></li>
|
|
<li><a href="sponsors.html">Sponsors</a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="main">
|
|
|
|
<h2>News & Releases</h2>
|
|
|
|
<div id="news-container">
|
|
<p class="meta">Loading...</p>
|
|
</div>
|
|
|
|
<h3>RSS Feed</h3>
|
|
<p>Subscribe to the <a href="#">RSS feed</a> for release announcements and project updates.</p>
|
|
|
|
</div>
|
|
|
|
<div id="footer">
|
|
<p>ReviveSparc is released under the BSD 2-Clause License.</p>
|
|
</div>
|
|
|
|
<script type="text/json" id="news-data">[
|
|
{
|
|
"date": "2026-06-15",
|
|
"title": "ReviveSparc Initial Development",
|
|
"body": "The project has officially started. We are currently in the research phase, working hard to make this work.",
|
|
"link": "index.html",
|
|
"linkText": "Read More"
|
|
}
|
|
]</script>
|
|
|
|
<script>
|
|
function renderNews() {
|
|
var container = document.getElementById("news-container");
|
|
var entries = JSON.parse(document.getElementById("news-data").textContent);
|
|
var html = "";
|
|
entries.forEach(function (e) {
|
|
html += '<div class="news-item">';
|
|
html += '<span class="date">' + e.date + '</span>';
|
|
html += '<h3>' + e.title + '</h3>';
|
|
html += '<p>' + e.body + '</p>';
|
|
if (e.items && e.items.length) {
|
|
html += '<ul>';
|
|
e.items.forEach(function (item) { html += '<li>' + item + '</li>'; });
|
|
html += '</ul>';
|
|
}
|
|
if (e.link) {
|
|
html += '<p><a href="' + e.link + '">' + (e.linkText || e.link) + '</a></p>';
|
|
}
|
|
html += '</div>';
|
|
});
|
|
container.innerHTML = html;
|
|
}
|
|
renderNews();
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|