feat(airagit): launch sovereign AiraGit portal with custom SVG button, eliminate all 404s
This commit is contained in:
1 parent
034a35d7e4
commit
ca66ca47a8
6 files changed
+432
-17
No files matched your search
Binary file not shown.
|
After Width: | Height: | Size: 168 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 180 KiB |
@@ -0,0 +1,109 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 1400 300"
|
||||
width="1400" height="300">
|
||||
|
||||
<defs>
|
||||
<linearGradient id="border" x1="0" y1="0" x2="1" y2="0">
|
||||
<stop offset="0%" stop-color="#2875FF"/>
|
||||
<stop offset="50%" stop-color="#5735F4"/>
|
||||
<stop offset="100%" stop-color="#A000F5"/>
|
||||
</linearGradient>
|
||||
|
||||
<linearGradient id="surface" x1="0" y1="0" x2="1" y2="1">
|
||||
<stop offset="0%" stop-color="#F8FAFF"/>
|
||||
<stop offset="55%" stop-color="#F0E9FF"/>
|
||||
<stop offset="100%" stop-color="#EBD5FF"/>
|
||||
</linearGradient>
|
||||
|
||||
<linearGradient id="logo" x1="0" y1="0" x2="1" y2="1">
|
||||
<stop offset="0%" stop-color="#D13EFF"/>
|
||||
<stop offset="50%" stop-color="#7732FF"/>
|
||||
<stop offset="100%" stop-color="#3024FF"/>
|
||||
</linearGradient>
|
||||
|
||||
<filter id="glow" x="-20%" y="-40%"
|
||||
width="140%" height="190%">
|
||||
<feGaussianBlur stdDeviation="12"/>
|
||||
</filter>
|
||||
</defs>
|
||||
|
||||
<!-- Background -->
|
||||
<rect width="1400" height="300" fill="none"/>
|
||||
|
||||
<!-- Shadow glow -->
|
||||
<rect x="25" y="25" width="1350" height="250"
|
||||
rx="125" fill="#8245FF"
|
||||
opacity=".22" filter="url(#glow)"/>
|
||||
|
||||
<!-- Button border -->
|
||||
<rect x="30" y="30" width="1340" height="240"
|
||||
rx="120" fill="url(#border)"/>
|
||||
|
||||
<!-- Button surface -->
|
||||
<rect x="35" y="35" width="1330" height="230"
|
||||
rx="115" fill="url(#surface)"
|
||||
stroke="#D8CCFF" stroke-width="2"/>
|
||||
|
||||
<!-- Logo background -->
|
||||
<rect x="100" y="65" width="180" height="170"
|
||||
rx="38" fill="#080019"
|
||||
stroke="#7040E9" stroke-width="2"/>
|
||||
|
||||
<!-- AiraGit original A symbol -->
|
||||
<path d="M125 198 L183 96
|
||||
Q190 85 202 85
|
||||
L235 85
|
||||
Q246 85 253 97
|
||||
L305 198
|
||||
Q312 215 293 215
|
||||
L257 215
|
||||
L220 180
|
||||
L184 215
|
||||
L139 215
|
||||
Q116 215 125 198Z"
|
||||
fill="url(#logo)"/>
|
||||
|
||||
<!-- Git branching symbol -->
|
||||
<path d="M218 119 V177"
|
||||
stroke="#080019" stroke-width="12"
|
||||
stroke-linecap="round"/>
|
||||
|
||||
<path d="M218 119 L258 158"
|
||||
stroke="#080019" stroke-width="12"
|
||||
stroke-linecap="round"/>
|
||||
|
||||
<circle cx="218" cy="112" r="13" fill="#080019"/>
|
||||
<circle cx="258" cy="158" r="13" fill="#080019"/>
|
||||
<circle cx="218" cy="203" r="13" fill="#080019"/>
|
||||
|
||||
<!-- Divider -->
|
||||
<path d="M330 85 V215"
|
||||
stroke="#A99AE6" stroke-width="5"
|
||||
stroke-linecap="round"/>
|
||||
|
||||
<!-- Aira -->
|
||||
<text x="380" y="177"
|
||||
font-family="Arial, sans-serif"
|
||||
font-size="91" font-weight="700"
|
||||
fill="#101633">Aira</text>
|
||||
|
||||
<!-- Git -->
|
||||
<text x="560" y="177"
|
||||
font-family="Arial, sans-serif"
|
||||
font-size="91" font-weight="700"
|
||||
fill="#7134E9">Git</text>
|
||||
|
||||
<!-- Source Code -->
|
||||
<text x="715" y="177"
|
||||
font-family="Arial, sans-serif"
|
||||
font-size="77" font-weight="400"
|
||||
fill="#25274D">Source Code</text>
|
||||
|
||||
<!-- Arrow -->
|
||||
<path d="M1265 125 L1298 150 L1265 175"
|
||||
fill="none" stroke="#5B20C7"
|
||||
stroke-width="9"
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"/>
|
||||
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 24 KiB |
@@ -0,0 +1,296 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" class="dark">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||
<title>AiraGit — Sovereign Code Forge | Aira Group of Technology</title>
|
||||
<link rel="icon" type="image/png" href="/assets/airagit-icon.png">
|
||||
<script src="https://cdn.tailwindcss.com"></script>
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
|
||||
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&display=swap" rel="stylesheet">
|
||||
|
||||
<style>
|
||||
:root {
|
||||
--bg-canvas: #06070a;
|
||||
--bg-panel: #0d0e15;
|
||||
--bg-card: #13141f;
|
||||
--border-soft: #232238;
|
||||
--accent-purple: #9d4edd;
|
||||
--accent-blue: #3b82f6;
|
||||
}
|
||||
body {
|
||||
background-color: var(--bg-canvas);
|
||||
color: #e2e8f0;
|
||||
font-family: 'Plus Jakarta Sans', sans-serif;
|
||||
min-height: 100vh;
|
||||
margin: 0;
|
||||
}
|
||||
.font-mono {
|
||||
font-family: 'JetBrains Mono', monospace;
|
||||
}
|
||||
.repo-active {
|
||||
background: linear-gradient(90deg, rgba(157, 78, 221, 0.18) 0%, rgba(59, 130, 246, 0.08) 100%);
|
||||
border-left: 3px solid #9d4edd;
|
||||
color: #ffffff !important;
|
||||
}
|
||||
.glow-border {
|
||||
box-shadow: 0 0 25px rgba(157, 78, 221, 0.15);
|
||||
}
|
||||
pre code {
|
||||
font-family: 'JetBrains Mono', monospace;
|
||||
font-size: 13px;
|
||||
line-height: 1.6;
|
||||
}
|
||||
/* Markdown Styles */
|
||||
.markdown-body {
|
||||
color: #cbd5e1;
|
||||
line-height: 1.7;
|
||||
}
|
||||
.markdown-body h1, .markdown-body h2, .markdown-body h3 {
|
||||
color: #ffffff;
|
||||
font-weight: 700;
|
||||
margin-top: 1.5em;
|
||||
margin-bottom: 0.6em;
|
||||
border-bottom: 1px solid var(--border-soft);
|
||||
padding-bottom: 0.3em;
|
||||
}
|
||||
.markdown-body p { margin-bottom: 1em; }
|
||||
.markdown-body pre {
|
||||
background: #090a10;
|
||||
border: 1px solid var(--border-soft);
|
||||
padding: 16px;
|
||||
border-radius: 12px;
|
||||
overflow-x: auto;
|
||||
margin-bottom: 1.2em;
|
||||
}
|
||||
.markdown-body a { color: #a855f7; text-decoration: underline; }
|
||||
.markdown-body ul, .markdown-body ol { padding-left: 24px; margin-bottom: 1em; }
|
||||
.markdown-body blockquote {
|
||||
border-left: 3px solid #a855f7;
|
||||
padding-left: 14px;
|
||||
color: #94a3b8;
|
||||
font-style: italic;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body class="flex flex-col min-h-screen">
|
||||
|
||||
<!-- Top Navigation Bar -->
|
||||
<header class="sticky top-0 z-50 bg-[#06070a]/95 backdrop-blur-md border-b border-[#232238] px-4 sm:px-8 py-3.5 flex items-center justify-between">
|
||||
<div class="flex items-center gap-4">
|
||||
<a href="/git" class="flex items-center gap-3">
|
||||
<img src="/assets/airagit-icon.png" alt="AiraGit" class="w-9 h-9 rounded-xl object-contain shadow-lg" onerror="this.src='/assets/logo.png'">
|
||||
<div>
|
||||
<div class="flex items-center gap-2">
|
||||
<span class="text-lg font-black tracking-tight text-white">Aira<span class="text-[#a855f7]">Git</span></span>
|
||||
<span class="text-[9px] font-bold bg-[#a855f7]/20 text-[#c084fc] border border-[#a855f7]/40 px-2 py-0.5 rounded-full uppercase tracking-wider">Sovereign Forge</span>
|
||||
</div>
|
||||
<p class="text-[10px] text-slate-400 font-medium">Zero Corporate Dependency • Bare-Metal Systems</p>
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="flex items-center gap-3">
|
||||
<div class="hidden md:flex items-center gap-2 px-3 py-1.5 rounded-xl bg-[#11121c] border border-[#232238] text-xs text-slate-300 font-mono">
|
||||
<span class="w-2 h-2 rounded-full bg-emerald-400 animate-pulse"></span>
|
||||
<span>9 Verified Repositories</span>
|
||||
</div>
|
||||
<a href="/" class="px-4 py-2 rounded-xl text-xs font-semibold text-slate-300 hover:text-white bg-[#131422] hover:bg-[#1a1b2e] border border-[#282740] transition flex items-center gap-1.5">
|
||||
<i class="fas fa-arrow-left text-[10px]"></i> Aira Group Portal
|
||||
</a>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<!-- Main Container -->
|
||||
<div class="flex-1 max-w-7xl w-full mx-auto px-4 sm:px-6 lg:px-8 py-6 sm:py-8 flex flex-col lg:flex-row gap-6">
|
||||
|
||||
<!-- Sidebar: Repositories List -->
|
||||
<aside class="w-full lg:w-80 shrink-0 bg-[#0d0e15] border border-[#232238] rounded-2xl p-4 flex flex-col h-auto lg:h-[calc(100vh-140px)] lg:sticky lg:top-24">
|
||||
<div class="flex items-center justify-between pb-3 mb-3 border-b border-[#232238]">
|
||||
<div class="text-xs font-bold uppercase tracking-wider text-slate-400 flex items-center gap-2">
|
||||
<i class="fas fa-folder-tree text-[#a855f7]"></i> Repositories
|
||||
</div>
|
||||
<span class="text-[10px] font-mono text-[#a855f7] bg-[#a855f7]/10 px-2 py-0.5 rounded-full">adameehanairagroup</span>
|
||||
</div>
|
||||
|
||||
<div class="space-y-1.5 overflow-y-auto flex-1 pr-1" id="repoListContainer">
|
||||
<!-- Rendered by JS -->
|
||||
</div>
|
||||
|
||||
<div class="pt-3 mt-3 border-t border-[#232238] text-[11px] text-slate-500 text-center font-mono">
|
||||
Sovereign Code Repository Engine<br>
|
||||
Founder & CEO: <strong>Er. Adam Eehan</strong>
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
<!-- Main Repository View Area -->
|
||||
<main class="flex-1 min-w-0 bg-[#0d0e15] border border-[#232238] rounded-2xl p-5 sm:p-7 glow-border flex flex-col">
|
||||
|
||||
<!-- Repository Header -->
|
||||
<div class="border-b border-[#232238] pb-5 mb-5">
|
||||
<div class="flex flex-wrap items-center justify-between gap-4 mb-2">
|
||||
<div class="flex items-center gap-2.5">
|
||||
<i class="fas fa-book-bookmark text-[#a855f7] text-xl"></i>
|
||||
<h1 class="text-2xl font-black text-white" id="repoTitle">Airalang</h1>
|
||||
<span class="text-xs px-2.5 py-0.5 rounded-full bg-blue-500/10 text-blue-400 border border-blue-500/30 font-semibold" id="repoTag">AI-Native</span>
|
||||
</div>
|
||||
|
||||
<div class="flex items-center gap-2">
|
||||
<span class="text-xs font-mono px-3 py-1.5 rounded-lg bg-[#141522] border border-[#232238] text-slate-300 flex items-center gap-1.5">
|
||||
<i class="fas fa-code-branch text-[#a855f7] text-[11px]"></i> main
|
||||
</span>
|
||||
<span class="text-xs font-mono px-3 py-1.5 rounded-lg bg-[#141522] border border-[#232238] text-amber-400 flex items-center gap-1.5">
|
||||
<i class="fas fa-star text-[11px]"></i> <span id="repoStars">42</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p class="text-sm text-slate-400 leading-relaxed mb-4" id="repoDesc">Loading...</p>
|
||||
|
||||
<!-- Clone Bar -->
|
||||
<div class="flex flex-wrap items-center gap-3 pt-3 border-t border-[#1a1b28]">
|
||||
<div class="flex-1 min-w-[240px] flex items-center bg-[#07080d] border border-[#232238] rounded-xl px-3 py-2 text-xs font-mono text-slate-300">
|
||||
<span class="text-slate-500 mr-2 select-none">HTTPS</span>
|
||||
<input type="text" id="cloneInput" readonly class="bg-transparent text-slate-300 outline-none w-full select-all font-mono">
|
||||
<button onclick="copyCloneCmd()" id="copyBtn" class="ml-2 px-2.5 py-1 rounded-lg bg-[#1b1c2c] hover:bg-[#282944] text-[#c084fc] font-semibold text-[11px] transition shrink-0">
|
||||
Copy
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<a href="#" id="downloadZipBtn" class="px-4 py-2 rounded-xl text-xs font-bold text-white bg-gradient-to-r from-[#3b82f6] to-[#9d4edd] hover:opacity-90 transition flex items-center gap-1.5 shrink-0 shadow-md">
|
||||
<i class="fas fa-download text-[11px]"></i> Download Archive (.zip)
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Navigation Tabs -->
|
||||
<div class="flex items-center gap-4 border-b border-[#232238] mb-5 text-sm font-semibold">
|
||||
<button onclick="switchTab('code')" id="tabCode" class="pb-3 border-b-2 border-[#a855f7] text-white flex items-center gap-2">
|
||||
<i class="fas fa-code text-[#a855f7]"></i> Source Code & Preview
|
||||
</button>
|
||||
<button onclick="switchTab('readme')" id="tabReadme" class="pb-3 border-b-2 border-transparent text-slate-400 hover:text-white flex items-center gap-2 transition">
|
||||
<i class="fas fa-file-lines text-slate-400"></i> README.md
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<!-- Tab Content 1: Code & File Explorer -->
|
||||
<div id="viewCode" class="space-y-4">
|
||||
<div class="bg-[#07080e] border border-[#232238] rounded-xl overflow-hidden">
|
||||
<div class="bg-[#10111a] px-4 py-2.5 border-b border-[#232238] flex items-center justify-between text-xs font-mono">
|
||||
<div class="flex items-center gap-2 text-slate-300">
|
||||
<i class="fas fa-file-code text-[#a855f7]"></i>
|
||||
<span id="codeFileName">welcome.aira</span>
|
||||
</div>
|
||||
<span class="text-[11px] text-emerald-400 font-semibold" id="codeLangBadge">Airalang</span>
|
||||
</div>
|
||||
<pre class="p-4 overflow-x-auto text-xs text-slate-300 font-mono leading-relaxed" id="codeContent"></pre>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Tab Content 2: Markdown README -->
|
||||
<div id="viewReadme" class="hidden">
|
||||
<div class="bg-[#07080e] border border-[#232238] rounded-xl p-6 sm:p-8 markdown-body" id="readmeContent">
|
||||
<!-- Rendered by marked.js -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</main>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
const reposData = [{"id": "airalang", "name": "Airalang", "tag": "AI-Native Language", "desc": "Frontier programming language designed for ultra-low latency execution and native integration with high-performance AI models.", "lang": "Airalang / C++", "stars": "42", "commits": "128", "dir": "airalang", "sample_file": "welcome.aira", "sample_code": "// AiraLang v3.8 - Sovereign AI-Native Syntax\nmodule main;\n\nimport ai.core.v1;\nimport simd.matrix;\n\nfunc entrypoint() -> Int32 {\n let aira = init_sovereign_core(\"aira-3-ultra\");\n aira.enable_simd_acceleration(131.5);\n \n print(\"\ud83c\udf1f AiraLang Sovereign Runtime Active: Zero Corporate Lock-in\");\n return 0;\n}", "readme": "<div align=\"center\">\n <table>\n <tr>\n <td align=\"center\" width=\"50%\" style=\"border: none; padding: 20px;\">\n <img src=\"assets/company-logo.png\" width=\"150\" alt=\"Aira Group of Technology Logo\" /><br><br>\n <b>Aira Group of Technology</b><br>\n <sub>Corporate Sovereign Parent</sub>\n </td>\n <td align=\"center\" width=\"50%\" style=\"border: none; padding: 20px;\">\n <img src=\"assets/aira-language-logo.svg\" width=\"150\" alt=\"AIRA Programming Language Logo\" /><br><br>\n <b>AIRA Programming Language</b><br>\n <sub>The World's 1st Sovereign AI-Native Systems Language</sub>\n </td>\n </tr>\n </table>\n\n <h1>\ud83d\udc51 AIRA</h1>\n <h3>The World's Largest Sovereign AI-Native Systems Programming Language</h3>\n\n <p>\n <a href=\"https://github.com/adameehanairagroup/Airalang\"><img src=\"https://img.shields.io/badge/Language-Aira%20100%25-ff007f.svg\" alt=\"Language: Aira\" /></a>\n <a href=\"https://github.com/adameehanairagroup/Airalang\"><img src=\"https://img.shields.io/badge/Pure%20Modules-5%2C141%20.aira-00e5ff.svg\" alt=\"Pure Modules: 5,141\" /></a>\n <a href=\"https://github.com/adameehanairagroup/Airalang\"><img src=\"https://img.shields.io/badge/Packages-2%2C808%20Folders-7c4dff.svg\" alt=\"Packages: 2,808\" /></a>\n <a href=\"https://github.com/adameehanairagroup/Airalang\"><img src=\"https://img.shields.io/badge/Lines%20of%20Code-175%2C475-success.svg\" alt=\"Lines of Code: 175,475\" /></a>\n <a href=\"https://github.com/adameehanairagroup/Airalang\"><img src=\"https://img.shields.io/badge/Self--Hosted-Stage%201%20Verified-brightgreen.svg\" alt=\"Self-Hosted\" /></a>\n <a href=\"https://github.com/adameehanairagroup/Airalang\"><img src=\"https://img.shields.io/badge/Inbuilt%20AI-Zero--Key%20Swarm-blue.svg\" alt=\"Inbuilt AI\" /></a>\n <a href=\"https://github.com/adameehanairagroup\"><img src=\"https://img.shields.io/badge/Architect-Er.%20Adam%20Eehan-gold.svg\" alt=\"Architect\" /></a>\n <a href=\"https://github.com/airagroupoftechnology\"><img src=\"https://img.shields.io/badge/Company-Aira%20Group%20of%20Technology-purple.svg\" alt=\"Company\" /></a>\n </p>\n\n <p><em>\"Code the Higher Tomorrow.\"</em></p>\n</div>\n\n---\n\n## \ud83c\udf1f What is AIRA?\n\n**AIRA** is an independent, sovereign, general-purpose systems programming language engineered from the ground up by **Er. Adam Eehan** (Founder & CEO, Aira Group of Technology). \n\nIt is the first programming language in computer science history to combine:\n1. **Zero-Key Native Artificial Intelligence (`ai.ask()`):** Artificial intelligence is not a bloated third-party SDK or pip dependency\u2014it is a first-class language runtime primitive.\n2. **The World's Largest Sovereign Standard Library:** **2,808 package directories** housing **5,141 pure `.aira` modules** spanning **175,475 lines of code**.\n3. **100.0% Single-Language Purity:** The entire repository contains **strictly `.aira` source files**\u2014zero Python, zero C, and zero external baggage.\n4. **Self-Hosted Compiler Pipeline:** Fully articulated Lexer, Parser, AST, and Codegen engines implemented natively in pure `.aira`.\n\n---\n\n## \ud83c\udfdb\ufe0f Universal Standard Library Architecture (5,141 Modules Across 2,808 Folders)\n\n| Domain Package | Modules Count | Architectural Scope & Core Capabilities |\n| :--- | :---: | :--- |\n| [\ud83e\udde0 `ai/`](./ai) | **1,120** | Deep learning layers, Transformer blocks, Diffusion, Swarm reflection, Zero-key AI |\n| [\u2699\ufe0f `sys/`](./sys) | **680** | Direct Linux ELF64 standalone binary emitters, Syscalls, Memory buffers, POSIX thread pools |\n| [\ud83d\udcd0 `math/`](./math) | **580** | High-performance tensor math, Linear algebra (SVD, QR, Eigen), Numerical calculus, FFT |\n| [\ud83d\udd10 `crypto/`](./crypto) | **500** | NIST Post-Quantum Kyber, Zero-Knowledge proofs, AES-256-GCM, RSA-4096, SHA-256/512 |\n| [\ud83d\udce1 `telecom/`](./telecom) | **380** | 3GPP 4G/5G NR Milenage, GTP-U tunneling, VoLTE SIP, B.A.T.M.A.N.-adv mesh networking |\n| [\ud83d\udcda `collections/`](./collections) | **380** | B-Trees, Red-Black Trees, Priority Heaps, Ring Buffers, Lock-Free HashMaps |\n| [\ud83c\udf10 `net/`](./net) Line truncated
|
||||
let activeRepoId = 'airalang';
|
||||
|
||||
function renderSidebar() {
|
||||
const container = document.getElementById('repoListContainer');
|
||||
container.innerHTML = '';
|
||||
reposData.forEach(r => {
|
||||
const btn = document.createElement('button');
|
||||
btn.onclick = () => selectRepo(r.id);
|
||||
btn.id = 'repo-btn-' + r.id;
|
||||
btn.className = `w-full text-left p-3 rounded-xl transition flex flex-col gap-1 text-slate-300 hover:bg-[#141522] ${r.id === activeRepoId ? 'repo-active' : ''}`;
|
||||
btn.innerHTML = `
|
||||
<div class="flex items-center justify-between">
|
||||
<span class="font-bold text-sm truncate text-white">${r.name}</span>
|
||||
<span class="text-[10px] font-mono text-slate-400"><i class="fas fa-code-commit text-[9px] text-[#a855f7]"></i> ${r.commits}</span>
|
||||
</div>
|
||||
<div class="text-[11px] text-slate-400 truncate">${r.desc}</div>
|
||||
`;
|
||||
container.appendChild(btn);
|
||||
});
|
||||
}
|
||||
|
||||
function selectRepo(id) {
|
||||
activeRepoId = id;
|
||||
window.location.hash = id;
|
||||
const repo = reposData.find(r => r.id === id) || reposData[0];
|
||||
|
||||
document.querySelectorAll('#repoListContainer button').forEach(b => b.classList.remove('repo-active'));
|
||||
const activeBtn = document.getElementById('repo-btn-' + id);
|
||||
if (activeBtn) activeBtn.classList.add('repo-active');
|
||||
|
||||
document.getElementById('repoTitle').textContent = repo.name;
|
||||
document.getElementById('repoTag').textContent = repo.tag;
|
||||
document.getElementById('repoStars').textContent = repo.stars;
|
||||
document.getElementById('repoDesc').textContent = repo.desc;
|
||||
|
||||
const cloneUrl = `https://gitlab.com/adameehantech/${repo.name}.git`;
|
||||
document.getElementById('cloneInput').value = cloneUrl;
|
||||
document.getElementById('downloadZipBtn').href = `https://gitlab.com/adameehantech/${repo.name}/-/archive/main/${repo.name}-main.zip`;
|
||||
|
||||
document.getElementById('codeFileName').textContent = repo.sample_file;
|
||||
document.getElementById('codeLangBadge').textContent = repo.lang;
|
||||
document.getElementById('codeContent').textContent = repo.sample_code;
|
||||
|
||||
if (window.marked) {
|
||||
document.getElementById('readmeContent').innerHTML = marked.parse(repo.readme || 'No README provided.');
|
||||
} else {
|
||||
document.getElementById('readmeContent').textContent = repo.readme;
|
||||
}
|
||||
}
|
||||
|
||||
function switchTab(tab) {
|
||||
const tabCode = document.getElementById('tabCode');
|
||||
const tabReadme = document.getElementById('tabReadme');
|
||||
const viewCode = document.getElementById('viewCode');
|
||||
const viewReadme = document.getElementById('viewReadme');
|
||||
|
||||
if (tab === 'code') {
|
||||
tabCode.className = 'pb-3 border-b-2 border-[#a855f7] text-white flex items-center gap-2';
|
||||
tabReadme.className = 'pb-3 border-b-2 border-transparent text-slate-400 hover:text-white flex items-center gap-2 transition';
|
||||
viewCode.classList.remove('hidden');
|
||||
viewReadme.classList.add('hidden');
|
||||
} else {
|
||||
tabReadme.className = 'pb-3 border-b-2 border-[#a855f7] text-white flex items-center gap-2';
|
||||
tabCode.className = 'pb-3 border-b-2 border-transparent text-slate-400 hover:text-white flex items-center gap-2 transition';
|
||||
viewReadme.classList.remove('hidden');
|
||||
viewCode.classList.add('hidden');
|
||||
}
|
||||
}
|
||||
|
||||
function copyCloneCmd() {
|
||||
const input = document.getElementById('cloneInput');
|
||||
input.select();
|
||||
navigator.clipboard.writeText(input.value);
|
||||
const btn = document.getElementById('copyBtn');
|
||||
btn.textContent = 'Copied!';
|
||||
btn.style.color = '#10b981';
|
||||
setTimeout(() => {
|
||||
btn.textContent = 'Copy';
|
||||
btn.style.color = '#c084fc';
|
||||
}, 2000);
|
||||
}
|
||||
|
||||
window.addEventListener('DOMContentLoaded', () => {
|
||||
renderSidebar();
|
||||
const hash = window.location.hash.replace('#', '');
|
||||
if (hash && reposData.some(r => r.id === hash)) {
|
||||
selectRepo(hash);
|
||||
} else {
|
||||
selectRepo('airalang');
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
+24
-16
@@ -619,6 +619,14 @@
|
||||
AIRA AI API
|
||||
<span class="text-[9px] font-bold bg-blue-100 text-blue-700 px-1.5 py-0.5 rounded-full uppercase border border-blue-200">REST</span>
|
||||
</a>
|
||||
<a
|
||||
href="/git"
|
||||
class="nav-link text-slate-700 hover:text-purple-700 font-semibold inline-flex items-center gap-1.5"
|
||||
>
|
||||
<span class="w-2 h-2 rounded-full bg-purple-500 animate-pulse"></span>
|
||||
AiraGit
|
||||
<span class="text-[9px] font-bold bg-purple-100 text-purple-700 px-1.5 py-0.5 rounded-full uppercase border border-purple-200">CODE</span>
|
||||
</a>
|
||||
<a
|
||||
href="#about"
|
||||
class="nav-link text-slate-700 hover:text-blue-700 font-medium"
|
||||
@@ -824,8 +832,8 @@
|
||||
<a href="https://github.com/adameehanairagroup/Aira-Mobile-App/releases/tag/v1.0.1" target="_blank" class="text-xs font-bold text-emerald-700 bg-emerald-100 hover:bg-emerald-200 px-3 py-1.5 rounded-lg flex items-center gap-1 transition">
|
||||
APK v1.0.1 <i class="fas fa-download text-[10px]"></i>
|
||||
</a>
|
||||
<a href="https://github.com/adameehanairagroup/Aira-AI-Chat" target="_blank" class="text-xs font-bold text-slate-700 bg-slate-100 hover:bg-slate-200 px-3 py-1.5 rounded-lg flex items-center gap-1 transition">
|
||||
<i class="fab fa-github"></i> Source
|
||||
<a href="/git#aira-ai-chat" class="inline-flex items-center hover:scale-[1.03] transition-transform" title="View Source on AiraGit">
|
||||
<img src="/assets/airagit.svg" alt="AiraGit Source Code" class="h-8 w-auto">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@@ -856,8 +864,8 @@
|
||||
</ul>
|
||||
</div>
|
||||
<div class="pt-4 border-t border-slate-100 flex flex-wrap items-center justify-between gap-2">
|
||||
<a href="https://github.com/adameehanairagroup/Aira-Mobile-App" target="_blank" class="text-xs font-bold text-indigo-700 bg-indigo-50 hover:bg-indigo-100 px-3 py-1.5 rounded-lg inline-flex items-center gap-1.5 transition">
|
||||
<i class="fab fa-github text-sm"></i> Mobile App Source Code
|
||||
<a href="/git#aira-mobile-app" class="inline-flex items-center hover:scale-[1.03] transition-transform" title="View Source on AiraGit">
|
||||
<img src="/assets/airagit.svg" alt="AiraGit Source Code" class="h-8 w-auto">
|
||||
</a>
|
||||
<a href="#contact" class="text-indigo-600 font-semibold hover:text-indigo-800 text-xs inline-flex items-center group">
|
||||
Order App <i class="fas fa-arrow-right ml-1 text-[10px] group-hover:translate-x-1 transition-transform"></i>
|
||||
@@ -891,8 +899,8 @@
|
||||
</ul>
|
||||
</div>
|
||||
<div class="pt-4 border-t border-slate-100 flex flex-wrap items-center justify-between gap-2">
|
||||
<a href="https://github.com/adameehanairagroup/Aira-Company-Website" target="_blank" class="text-xs font-bold text-cyan-700 bg-cyan-50 hover:bg-cyan-100 px-3 py-1.5 rounded-lg inline-flex items-center gap-1.5 transition">
|
||||
<i class="fab fa-github text-sm"></i> Portal Source Code
|
||||
<a href="/git#aira-company-website" class="inline-flex items-center hover:scale-[1.03] transition-transform" title="View Source on AiraGit">
|
||||
<img src="/assets/airagit.svg" alt="AiraGit Source Code" class="h-8 w-auto">
|
||||
</a>
|
||||
<a href="#contact" class="text-cyan-600 font-semibold hover:text-cyan-800 text-xs inline-flex items-center group">
|
||||
Launch Site <i class="fas fa-arrow-right ml-1 text-[10px] group-hover:translate-x-1 transition-transform"></i>
|
||||
@@ -931,8 +939,8 @@
|
||||
</ul>
|
||||
</div>
|
||||
<div class="pt-4 border-t border-slate-100 flex flex-wrap items-center gap-2">
|
||||
<a href="https://github.com/adameehanairagroup/Aira-Telecom" target="_blank" class="w-full text-center text-xs font-bold text-white bg-emerald-600 hover:bg-emerald-700 px-4 py-2.5 rounded-lg flex items-center justify-center gap-2 shadow-sm transition">
|
||||
<i class="fab fa-github text-sm"></i> View Aira-Telecom Source Code <i class="fas fa-arrow-up-right-from-square text-[10px]"></i>
|
||||
<a href="/git#aira-telecom" class="w-full inline-flex justify-center hover:scale-[1.02] transition-transform" title="View Source on AiraGit">
|
||||
<img src="/assets/airagit.svg" alt="AiraGit Source Code" class="h-9 sm:h-10 w-auto">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@@ -968,8 +976,8 @@
|
||||
</ul>
|
||||
</div>
|
||||
<div class="pt-4 border-t border-slate-100 flex flex-wrap items-center gap-2">
|
||||
<a href="https://github.com/adameehanairagroup/AirlysOS" target="_blank" class="w-full text-center text-xs font-bold text-white bg-purple-600 hover:bg-purple-700 px-4 py-2.5 rounded-lg flex items-center justify-center gap-2 shadow-sm transition">
|
||||
<i class="fab fa-github text-sm"></i> View Airlys OS Source Code <i class="fas fa-arrow-up-right-from-square text-[10px]"></i>
|
||||
<a href="/git#airlys-os" class="w-full inline-flex justify-center hover:scale-[1.02] transition-transform" title="View Source on AiraGit">
|
||||
<img src="/assets/airagit.svg" alt="AiraGit Source Code" class="h-9 sm:h-10 w-auto">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1005,8 +1013,8 @@
|
||||
</ul>
|
||||
</div>
|
||||
<div class="pt-4 border-t border-slate-100 flex flex-wrap items-center gap-2">
|
||||
<a href="https://github.com/adameehanairagroup/Airalang" target="_blank" class="w-full text-center text-xs font-bold text-amber-800 bg-amber-100 hover:bg-amber-200 px-4 py-2.5 rounded-lg flex items-center justify-center gap-2 shadow-sm transition">
|
||||
<i class="fab fa-github text-sm"></i> View AiraLang Source Code <i class="fas fa-arrow-up-right-from-square text-[10px]"></i>
|
||||
<a href="/git#airalang" class="w-full inline-flex justify-center hover:scale-[1.02] transition-transform" title="View Source on AiraGit">
|
||||
<img src="/assets/airagit.svg" alt="AiraGit Source Code" class="h-9 sm:h-10 w-auto">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1042,8 +1050,8 @@
|
||||
</ul>
|
||||
</div>
|
||||
<div class="pt-4 border-t border-slate-100 flex flex-wrap items-center gap-2">
|
||||
<a href="https://github.com/adameehanairagroup/Aira-Cyber-Defender-AI" target="_blank" class="flex-1 text-center text-xs font-bold text-white bg-red-600 hover:bg-red-700 px-4 py-2.5 rounded-lg flex items-center justify-center gap-2 shadow-sm transition">
|
||||
<i class="fab fa-github text-sm"></i> GitHub Repo <i class="fas fa-arrow-up-right-from-square text-[10px]"></i>
|
||||
<a href="/git#aira-cyber-defender" class="inline-flex hover:scale-[1.02] transition-transform" title="View Source on AiraGit">
|
||||
<img src="/assets/airagit.svg" alt="AiraGit Source Code" class="h-9 w-auto">
|
||||
</a>
|
||||
<a href="https://huggingface.co/airagroupoftechnology/aira-cyber-defender" target="_blank" class="text-xs font-bold text-slate-700 bg-amber-50 hover:bg-amber-100 border border-amber-200 px-3 py-2.5 rounded-lg flex items-center gap-1.5 transition">
|
||||
<img src="https://huggingface.co/front/assets/huggingface_logo-noborder.svg" class="w-4 h-4" alt="Hugging Face" /> Hugging Face
|
||||
@@ -1082,8 +1090,8 @@
|
||||
</ul>
|
||||
</div>
|
||||
<div class="pt-4 border-t border-slate-100 flex flex-wrap items-center gap-2">
|
||||
<a href="https://github.com/adameehanairagroup/AiraInternetTower" target="_blank" class="w-full text-center text-xs font-bold text-white bg-cyan-600 hover:bg-cyan-700 px-4 py-2.5 rounded-lg flex items-center justify-center gap-2 shadow-sm transition">
|
||||
<i class="fab fa-github text-sm"></i> View Aira Internet Tower Blueprint <i class="fas fa-arrow-up-right-from-square text-[10px]"></i>
|
||||
<a href="/git#aira-internet-tower" class="w-full inline-flex justify-center hover:scale-[1.02] transition-transform" title="View Source on AiraGit">
|
||||
<img src="/assets/airagit.svg" alt="AiraGit Source Code" class="h-9 sm:h-10 w-auto">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
+3
-1
@@ -4,7 +4,9 @@
|
||||
"trailingSlash": false,
|
||||
"rewrites": [
|
||||
{ "source": "/api", "destination": "/api.html" },
|
||||
{ "source": "/api/", "destination": "/api.html" }
|
||||
{ "source": "/api/", "destination": "/api.html" },
|
||||
{ "source": "/git", "destination": "/git.html" },
|
||||
{ "source": "/git/", "destination": "/git.html" }
|
||||
],
|
||||
"headers": [
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user