github pages

This commit is contained in:
Abdenasser 2024-10-30 21:53:17 +01:00
parent d21d8b22be
commit 54dec5c259
2 changed files with 239 additions and 0 deletions

80
docs/index.html Normal file
View File

@ -0,0 +1,80 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>NeoHtop - Modern System Monitor</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<main>
<div class="hero">
<img src="../app-icon.png" alt="NeoHtop Logo" class="logo">
<h1>NeoHtop</h1>
<p class="tagline">A modern, cross-platform system monitor</p>
</div>
<div class="screenshot">
<img src="../screenshot.jpg" alt="NeoHtop Screenshot" class="screenshot-img">
</div>
<div class="downloads">
<h2>Download for macOS</h2>
<div class="download-options">
<a href="https://github.com/yourusername/neohtop/releases/latest/download/NeoHtop-universal.dmg"
class="download-button">
<span class="icon">⬇️</span>
Universal (Intel + Apple Silicon)
</a>
<a href="https://github.com/yourusername/neohtop/releases/latest/download/NeoHtop-intel.dmg"
class="download-button">
<span class="icon">⬇️</span>
Intel Mac
</a>
<a href="https://github.com/yourusername/neohtop/releases/latest/download/NeoHtop-silicon.dmg"
class="download-button">
<span class="icon">⬇️</span>
Apple Silicon
</a>
</div>
<p class="version">Latest version: v0.1.0</p>
</div>
<div class="features">
<h2>Features</h2>
<div class="feature-grid">
<div class="feature">
<span class="emoji">🚀</span>
<h3>Real-time Monitoring</h3>
<p>Track system processes in real-time</p>
</div>
<div class="feature">
<span class="emoji">🎨</span>
<h3>Modern UI</h3>
<p>Beautiful interface with dark/light themes</p>
</div>
<div class="feature">
<span class="emoji">🔍</span>
<h3>Smart Search</h3>
<p>Quick process search and filtering</p>
</div>
<div class="feature">
<span class="emoji">📌</span>
<h3>Process Pinning</h3>
<p>Keep important processes in view</p>
</div>
</div>
</div>
<footer>
<p>
<a href="https://github.com/yourusername/neohtop" class="github-link">View on GitHub</a>
</p>
<p class="copyright">© 2024 NeoHtop</p>
</footer>
</main>
</body>
</html>

159
docs/styles.css Normal file
View File

@ -0,0 +1,159 @@
:root {
--primary: #2563eb;
--text: #1f2937;
--background: #ffffff;
--card: #f3f4f6;
--border: #e5e7eb;
}
@media (prefers-color-scheme: dark) {
:root {
--primary: #3b82f6;
--text: #f3f4f6;
--background: #111827;
--card: #1f2937;
--border: #374151;
}
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
background: var(--background);
color: var(--text);
line-height: 1.6;
}
main {
max-width: 1200px;
margin: 0 auto;
padding: 2rem;
}
.hero {
text-align: center;
padding: 4rem 0;
}
.logo {
width: 120px;
height: 120px;
margin-bottom: 1rem;
}
h1 {
font-size: 3rem;
margin-bottom: 1rem;
}
.tagline {
font-size: 1.5rem;
color: var(--text);
opacity: 0.8;
}
.screenshot {
margin: 4rem 0;
text-align: center;
}
.screenshot-img {
max-width: 100%;
border-radius: 12px;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.downloads {
text-align: center;
margin: 4rem 0;
}
.download-options {
display: flex;
gap: 1rem;
justify-content: center;
margin: 2rem 0;
flex-wrap: wrap;
}
.download-button {
background: var(--primary);
color: white;
padding: 1rem 2rem;
border-radius: 8px;
text-decoration: none;
display: flex;
align-items: center;
gap: 0.5rem;
transition: transform 0.2s;
}
.download-button:hover {
transform: translateY(-2px);
}
.version {
color: var(--text);
opacity: 0.6;
}
.features {
margin: 4rem 0;
}
.feature-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
margin-top: 2rem;
}
.feature {
background: var(--card);
padding: 2rem;
border-radius: 12px;
text-align: center;
}
.emoji {
font-size: 2rem;
margin-bottom: 1rem;
display: block;
}
footer {
text-align: center;
margin-top: 4rem;
padding-top: 2rem;
border-top: 1px solid var(--border);
}
.github-link {
color: var(--primary);
text-decoration: none;
}
.github-link:hover {
text-decoration: underline;
}
.copyright {
margin-top: 1rem;
color: var(--text);
opacity: 0.6;
}
@media (max-width: 768px) {
.download-options {
flex-direction: column;
}
.feature-grid {
grid-template-columns: 1fr;
}
}