cygnis_ai / html /github.html
Simonc-44's picture
Upload 6 files
7faeaab verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Cygnis - GitHub</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
.repo-language-color {
background-color: #3572A5;
}
.dark-mode {
background-color: #0d1117;
color: #c9d1d9;
}
.dark-mode .header {
background-color: #161b22;
border-bottom: 1px solid #30363d;
}
.dark-mode .repo-card {
background-color: #161b22;
border: 1px solid #30363d;
}
.dark-mode .tab {
border-bottom: 1px solid #30363d;
}
.dark-mode .tab-button {
color: #c9d1d9;
}
.dark-mode .tab-button.active {
border-bottom: 2px solid #f78166;
font-weight: 600;
}
.dark-mode .file-item {
border-bottom: 1px solid #30363d;
}
.dark-mode .file-item:hover {
background-color: #1f2937;
}
.animate-pulse {
animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0.5;
}
}
</style>
</head>
<body class="dark-mode font-sans">
<header class="header sticky top-0 z-50 py-3 px-4 flex items-center justify-between">
<div class="flex items-center space-x-4">
<i class="fab fa-github text-2xl text-gray-400"></i>
<div class="relative hidden md:block">
<input type="text" placeholder="Search or jump to..."
class="bg-[#0d1117] border border-[#30363d] text-sm rounded-md px-3 py-1 w-64 focus:outline-none focus:ring-1 focus:ring-blue-500">
<span class="absolute right-2 top-1 text-xs bg-[#1f2937] text-gray-400 px-1 rounded">/</span>
</div>
<nav class="hidden md:flex space-x-4 text-sm font-medium">
<a href="#" class="text-gray-300 hover:text-white">Pull requests</a>
<a href="#" class="text-gray-300 hover:text-white">Issues</a>
<a href="#" class="text-gray-300 hover:text-white">Marketplace</a>
<a href="#" class="text-gray-300 hover:text-white">Explore</a>
</nav>
</div>
<div class="flex items-center space-x-3">
<button class="text-gray-400 hover:text-white">
<i class="far fa-bell"></i>
</button>
<button class="text-gray-400 hover:text-white md:hidden">
<i class="fas fa-bars"></i>
</button>
<div class="hidden md:flex items-center space-x-2">
<button class="w-5 h-5 rounded-full bg-gray-600 animate-pulse"></button>
<span class="text-sm text-gray-300">β–Ύ</span>
</div>
</div>
</header>
<div class="container mx-auto px-4 py-6">
<div class="flex flex-col md:flex-row justify-between items-start md:items-center mb-6">
<div class="flex items-center space-x-2 mb-4 md:mb-0">
<i class="fas fa-book text-gray-400"></i>
<a href="#" class="text-sm text-blue-400 hover:underline">username</a>
<span class="text-gray-400">/</span>
<a href="#" class="text-xl font-semibold text-blue-400 hover:underline">cygnis</a>
<span class="text-xs px-2 py-0.5 rounded-full bg-gray-700 text-gray-300">Public</span>
</div>
<div class="flex space-x-2">
<button class="flex items-center space-x-1 text-sm px-3 py-1 bg-gray-800 border border-gray-600 rounded-md hover:bg-gray-700">
<i class="far fa-eye"></i>
<span>Watch</span>
<span class="text-xs bg-gray-700 px-1.5 py-0.5 rounded-full">25</span>
</button>
<button class="flex items-center space-x-1 text-sm px-3 py-1 bg-gray-800 border border-gray-600 rounded-md hover:bg-gray-700">
<i class="fas fa-code-branch"></i>
<span>Fork</span>
<span class="text-xs bg-gray-700 px-1.5 py-0.5 rounded-full">12</span>
</button>
<button class="flex items-center space-x-1 text-sm px-3 py-1 bg-gray-800 border border-gray-600 rounded-md hover:bg-gray-700">
<i class="far fa-star"></i>
<span>Star</span>
<span class="text-xs bg-gray-700 px-1.5 py-0.5 rounded-full">156</span>
</button>
</div>
</div>
<div class="tab border-b mb-6 flex space-x-4">
<button class="tab-button active pb-3 px-1 text-sm">Code</button>
<button class="tab-button pb-3 px-1 text-sm">Issues <span class="bg-gray-700 text-gray-300 px-1.5 py-0.5 rounded-full text-xs ml-1">3</span></button>
<button class="tab-button pb-3 px-1 text-sm">Pull requests <span class="bg-gray-700 text-gray-300 px-1.5 py-0.5 rounded-full text-xs ml-1">1</span></button>
<button class="tab-button pb-3 px-1 text-sm">Actions</button>
<button class="tab-button pb-3 px-1 text-sm">Projects</button>
<button class="tab-button pb-3 px-1 text-sm">Wiki</button>
<button class="tab-button pb-3 px-1 text-sm">Security</button>
<button class="tab-button pb-3 px-1 text-sm">Insights</button>
</div>
<div class="repo-card rounded-md mb-6 p-4">
<div class="flex flex-col md:flex-row justify-between items-start md:items-center mb-4">
<div>
<h2 class="text-lg font-semibold mb-1">Cygnis - AI Structure Project</h2>
<p class="text-sm text-gray-400">An AI project for structural analysis and generation</p>
</div>
<div class="flex space-x-2 mt-2 md:mt-0">
<button class="flex items-center space-x-1 text-sm px-3 py-1 bg-blue-600 text-white rounded-md hover:bg-blue-700">
<i class="fas fa-code"></i>
<span>Code</span>
</button>
<button class="flex items-center space-x-1 text-sm px-3 py-1 bg-gray-700 border border-gray-600 rounded-md hover:bg-gray-600">
<i class="fas fa-download"></i>
<span>Download</span>
</button>
</div>
</div>
<div class="flex items-center text-xs text-gray-400 mb-4">
<div class="flex items-center mr-4">
<span class="repo-language-color w-3 h-3 rounded-full mr-1"></span>
<span>Python</span>
</div>
<div class="flex items-center mr-4">
<i class="far fa-star mr-1"></i>
<span>156 stars</span>
</div>
<div class="flex items-center mr-4">
<i class="fas fa-code-branch mr-1"></i>
<span>12 forks</span>
</div>
<div class="flex items-center">
<i class="fas fa-circle text-green-500 text-xs mr-1"></i>
<span>MIT License</span>
</div>
</div>
<div class="border rounded-md overflow-hidden">
<div class="bg-gray-800 px-4 py-2 flex justify-between items-center">
<div class="flex items-center space-x-2">
<i class="fas fa-file-alt text-gray-400"></i>
<span class="text-sm">cygnis/</span>
</div>
<button class="text-xs bg-gray-700 px-2 py-1 rounded hover:bg-gray-600">
<i class="fas fa-download mr-1"></i> Download
</button>
</div>
<div class="file-list">
<div class="file-item px-4 py-3 flex items-center hover:bg-gray-800 cursor-pointer">
<i class="fas fa-folder text-blue-400 mr-3"></i>
<span class="text-sm">html/</span>
</div>
<div class="file-item px-4 py-3 flex items-center hover:bg-gray-800 cursor-pointer">
<i class="fas fa-file-alt text-gray-400 mr-3"></i>
<span class="text-sm">access.log</span>
</div>
<div class="file-item px-4 py-3 flex items-center hover:bg-gray-800 cursor-pointer">
<i class="fas fa-file-code text-yellow-400 mr-3"></i>
<span class="text-sm">server.py</span>
</div>
</div>
</div>
</div>
<div class="readme rounded-md border p-4 mb-6">
<div class="flex items-center justify-between mb-4">
<h3 class="text-lg font-semibold">
<i class="fas fa-book mr-2"></i>README.md
</h3>
<button class="text-sm bg-gray-700 px-2 py-1 rounded hover:bg-gray-600">
<i class="fas fa-pencil-alt mr-1"></i> Edit
</button>
</div>
<div class="prose prose-invert max-w-none">
<h1 class="text-2xl font-bold mb-4">Cygnis AI Structure Project</h1>
<p class="mb-4">Cygnis is an AI-powered structural analysis and generation system designed to automate and optimize structural designs.</p>
<h2 class="text-xl font-semibold mb-3">Project Structure</h2>
<pre class="bg-gray-800 p-3 rounded mb-4 overflow-x-auto"><code>cygnis/
β”œβ”€β”€ html/ ← Web files (index.html, etc.)
β”‚ └── index.html
β”œβ”€β”€ access.log ← Automatically generated access log
β”œβ”€β”€ server.py ← Main Python script</code></pre>
<h2 class="text-xl font-semibold mb-3">Features</h2>
<ul class="list-disc pl-5 mb-4">
<li>AI-powered structural analysis</li>
<li>Automated design generation</li>
<li>Real-time optimization</li>
<li>Web-based interface</li>
</ul>
<h2 class="text-xl font-semibold mb-3">Installation</h2>
<div class="bg-gray-800 p-3 rounded mb-4">
<code class="text-sm">pip install -r requirements.txt</code>
</div>
<h2 class="text-xl font-semibold mb-3">Usage</h2>
<div class="bg-gray-800 p-3 rounded mb-4">
<code class="text-sm">python server.py</code>
</div>
<h2 class="text-xl font-semibold mb-3">License</h2>
<p>MIT Β© 2023 Cygnis Team</p>
</div>
</div>
<div class="contributors rounded-md border p-4 mb-6">
<h3 class="text-lg font-semibold mb-4">Contributors <span class="text-sm text-gray-400">2</span></h3>
<div class="flex flex-wrap gap-4">
<div class="flex items-center">
<img src="https://via.placeholder.com/40" alt="Contributor" class="rounded-full w-8 h-8 mr-2">
<span class="text-sm">username</span>
</div>
<div class="flex items-center">
<img src="https://via.placeholder.com/40/3572A5" alt="Contributor" class="rounded-full w-8 h-8 mr-2">
<span class="text-sm">contributor</span>
</div>
</div>
</div>
</div>
<footer class="border-t border-gray-800 py-6 px-4 text-center text-sm text-gray-400">
<div class="container mx-auto">
<div class="flex flex-col md:flex-row justify-center items-center space-y-2 md:space-y-0 md:space-x-4">
<span>Β© 2023 Cygnis Project</span>
<span class="hidden md:block">β€’</span>
<a href="#" class="hover:text-blue-400">Terms</a>
<span class="hidden md:block">β€’</span>
<a href="#" class="hover:text-blue-400">Privacy</a>
<span class="hidden md:block">β€’</span>
<a href="#" class="hover:text-blue-400">Security</a>
<span class="hidden md:block">β€’</span>
<a href="#" class="hover:text-blue-400">Status</a>
<span class="hidden md:block">β€’</span>
<a href="#" class="hover:text-blue-400">Help</a>
</div>
<div class="mt-2">
<a href="#" class="hover:text-blue-400">
<i class="fab fa-github"></i>
</a>
</div>
</div>
</footer>
<script>
// Tab switching functionality
const tabButtons = document.querySelectorAll('.tab-button');
tabButtons.forEach(button => {
button.addEventListener('click', () => {
tabButtons.forEach(btn => btn.classList.remove('active'));
button.classList.add('active');
});
});
// Dark/light mode toggle (would need more implementation)
const modeToggle = document.querySelector('.mode-toggle');
if (modeToggle) {
modeToggle.addEventListener('click', () => {
document.body.classList.toggle('dark-mode');
});
}
// File explorer functionality could be added here
const fileItems = document.querySelectorAll('.file-item');
fileItems.forEach(item => {
item.addEventListener('click', () => {
// In a real implementation, this would navigate to the file
console.log('File clicked:', item.textContent.trim());
});
});
</script>
</body>
</html>