File size: 3,097 Bytes
c9f1afa |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>RepoRover - Analyze GitHub Repositories</title>
<link href="https://www.svgrepo.com/show/530491/search-alt.svg" rel="icon" type="image/svg+xml">
<script src="https://cdn.tailwindcss.com?plugins=forms,container-queries"></script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Spline+Sans:wght@400;500;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="static/css/styles.css">
</head>
<body class="bg-gray-50 text-gray-900">
<div class="flex flex-col items-center justify-center min-h-screen p-4 text-center">
<header class="mb-10">
<div class="flex items-center justify-center gap-3">
<img src="static/logo.svg" alt="RepoRover Logo" class="w-12 h-12">
<h1 class="text-5xl font-bold tracking-tight text-gray-900">RepoRover</h1>
</div>
</header>
<main class="w-full max-w-2xl">
<h2 class="text-2xl md:text-3xl font-semibold text-gray-800 mb-4">Unlock the secrets of your code.</h2>
<p class="text-lg text-gray-600 mb-8">Paste a GitHub repository URL to get a deep analysis of code quality, dependencies, and potential vulnerabilities.</p>
<form id="repo-form" class="flex flex-col sm:flex-row items-center gap-4 w-full">
<label class="sr-only" for="repo-url">GitHub Repository URL</label>
<input class="form-input flex-grow w-full px-4 py-3 text-base text-gray-700 bg-white border border-gray-300 rounded-lg shadow-sm focus:outline-none focus:ring-2 focus:ring-[var(--primary-color)] focus:border-transparent transition-shadow"
id="repo-url"
name="repo-url"
placeholder="https://github.com/user/repository"
required
type="url">
<button class="flex items-center justify-center w-full sm:w-auto px-6 py-3 bg-[var(--primary-color)] text-white text-base font-semibold rounded-lg shadow-md hover:bg-red-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-red-500 transition-colors disabled:opacity-50 disabled:cursor-not-allowed"
type="submit"
id="analyze-btn">
<svg class="w-5 h-5 mr-2" fill="none" stroke="currentColor" stroke-width="1.5" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="M13.5 4.5 21 12m0 0-7.5 7.5M21 12H3" stroke-linecap="round" stroke-linejoin="round"></path>
</svg>
Analyze
</button>
</form>
<p class="text-sm text-gray-500 mt-4">Enter a public repository URL to begin.</p>
</main>
</div>
<script src="static/js/main.js"></script>
</body>
</html> |