Enhance index.html with responsive design and service cards for improved UI
This commit is contained in:
parent
0b285aef85
commit
e9b1845a4f
1 changed files with 82 additions and 5 deletions
87
cmd/app/frontend/dist/index.html
vendored
87
cmd/app/frontend/dist/index.html
vendored
|
|
@ -1,10 +1,87 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<html lang="en" class="dark">
|
||||
<head>
|
||||
<title>Core</title>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Core Framework</title>
|
||||
<script src="https://cdn.tailwindcss.com"></script>
|
||||
<script>
|
||||
tailwind.config = {
|
||||
theme: {
|
||||
extend: {
|
||||
colors: {
|
||||
'core-gray': {
|
||||
'light': '#333333',
|
||||
'DEFAULT': '#1a1a1a',
|
||||
'dark': '#0d0d0d',
|
||||
},
|
||||
'core-blue': '#00aaff',
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style>
|
||||
body {
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Core</h1>
|
||||
<body class="bg-core-gray-dark text-gray-300 flex items-center justify-center min-h-screen font-sans">
|
||||
|
||||
<div class="w-full max-w-4xl mx-auto p-8 text-center">
|
||||
|
||||
<header class="mb-12">
|
||||
<h1 class="text-5xl font-bold text-white mb-2">
|
||||
<span class="text-core-blue">Core</span> Framework
|
||||
</h1>
|
||||
<p class="text-lg text-gray-400">A modular foundation for building robust desktop applications.</p>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<h2 class="text-3xl font-semibold text-white mb-8">Loaded Services</h2>
|
||||
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
|
||||
|
||||
<!-- Config Service Card -->
|
||||
<div class="bg-core-gray p-6 rounded-lg shadow-lg border border-core-gray-light transform hover:scale-105 transition-transform duration-300">
|
||||
<div class="text-core-blue mb-4">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="h-12 w-12 mx-auto" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z" />
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z" />
|
||||
</svg>
|
||||
</div>
|
||||
<h3 class="text-xl font-bold text-white mb-2">Config</h3>
|
||||
<p class="text-gray-400">Manages application state and user preferences.</p>
|
||||
</div>
|
||||
|
||||
<!-- Display Service Card -->
|
||||
<div class="bg-core-gray p-6 rounded-lg shadow-lg border border-core-gray-light transform hover:scale-105 transition-transform duration-300">
|
||||
<div class="text-core-blue mb-4">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="h-12 w-12 mx-auto" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M9.75 17L9 20l-1 1h8l-1-1-.75-3M3 13h18M5 17h14a2 2 0 002-2V5a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z" />
|
||||
</svg>
|
||||
</div>
|
||||
<h3 class="text-xl font-bold text-white mb-2">Display</h3>
|
||||
<p class="text-gray-400">Controls windows, menus, and system tray interactions.</p>
|
||||
</div>
|
||||
|
||||
<!-- Crypt Service Card -->
|
||||
<div class="bg-core-gray p-6 rounded-lg shadow-lg border border-core-gray-light transform hover:scale-105 transition-transform duration-300">
|
||||
<div class="text-core-blue mb-4">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="h-12 w-12 mx-auto" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z" />
|
||||
</svg>
|
||||
</div>
|
||||
<h3 class="text-xl font-bold text-white mb-2">Crypt</h3>
|
||||
<p class="text-gray-400">Provides cryptographic functions and security.</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</main>
|
||||
|
||||
</div>
|
||||
|
||||
<script src="assets/app.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
Loading…
Add table
Reference in a new issue