gemini-ui-revamp / index.html
oldmonk69's picture
Redesign my website
6934059 verified
raw
history blame
6.87 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Gemini - Interactive UI</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: '#4285F4', // Google Blue
secondary: '#34A853', // Google Green
}
}
}
}
</script>
<style>
.gradient-bg {
background: linear-gradient(135deg, #4285F4 0%, #34A853 100%);
}
.btn-hover:hover {
transform: translateY(-2px);
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
.transition-all {
transition: all 0.3s ease;
}
</style>
</head>
<body class="bg-gray-50 min-h-screen font-sans">
<div class="gradient-bg text-white py-4 px-6 shadow-md">
<div class="container mx-auto flex justify-between items-center">
<div class="flex items-center space-x-2">
<h1 class="text-2xl font-bold">Gemini</h1>
<span class="bg-white text-primary px-2 py-1 rounded-full text-xs font-semibold">Interactive UI</span>
</div>
<nav class="hidden md:flex space-x-6">
<a href="#" class="hover:text-gray-200 transition-all">About</a>
<a href="#" class="hover:text-gray-200 transition-all">App</a>
<a href="#" class="hover:text-gray-200 transition-all">Subscriptions</a>
<a href="#" class="hover:text-gray-200 transition-all">For Business</a>
</nav>
<button class="md:hidden">
<i data-feather="menu"></i>
</button>
</div>
</div>
<main class="container mx-auto px-4 py-12">
<div class="max-w-4xl mx-auto bg-white rounded-xl shadow-lg overflow-hidden">
<div class="p-8">
<div class="flex items-center justify-between">
<h2 class="text-3xl font-bold text-gray-800">Interactive Button & Menu Styling</h2>
<span class="bg-primary text-white px-3 py-1 rounded-full text-sm">New</span>
</div>
<div class="my-8">
<p class="text-gray-600 mb-6">This content was created by another person. It may be inaccurate or unsafe.</p>
<div class="bg-yellow-50 border-l-4 border-yellow-400 p-4 mb-6">
<div class="flex">
<div class="flex-shrink-0">
<i data-feather="alert-triangle" class="text-yellow-400"></i>
</div>
<div class="ml-3">
<p class="text-sm text-yellow-700">
Keep your personal info private. Don't share things like passwords or payment details.
</p>
</div>
</div>
</div>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div class="bg-gray-50 p-6 rounded-lg">
<h3 class="text-xl font-semibold mb-4">Code Preview</h3>
<div class="bg-gray-800 text-gray-100 p-4 rounded-md mb-4">
<code class="text-sm">
// Interactive UI Components<br>
const button = new GeminiButton();<br>
button.setTheme('modern');
</code>
</div>
<button class="bg-primary hover:bg-primary-600 text-white px-6 py-3 rounded-full transition-all btn-hover">
Try Gemini Canvas
</button>
</div>
<div class="bg-gray-50 p-6 rounded-lg">
<h3 class="text-xl font-semibold mb-4">Sign In Required</h3>
<p class="text-gray-600 mb-4">You need to sign in with your Google Account to see some features</p>
<div class="flex space-x-4">
<button class="bg-white border border-gray-300 text-gray-700 px-6 py-3 rounded-full hover:bg-gray-50 transition-all btn-hover flex items-center">
<i data-feather="user" class="mr-2"></i>
Sign in
</button>
<button class="bg-secondary hover:bg-secondary-600 text-white px-6 py-3 rounded-full transition-all btn-hover">
Continue
</button>
</div>
</div>
</div>
<div class="mt-8 pt-6 border-t border-gray-200">
<div class="flex flex-wrap items-center justify-between">
<p class="text-gray-500 text-sm">This app was created by another person</p>
<button class="text-primary hover:text-primary-600 text-sm font-medium flex items-center">
<i data-feather="flag" class="mr-1"></i>
Report unsafe content
</button>
</div>
</div>
</div>
</div>
</main>
<footer class="bg-gray-100 py-8">
<div class="container mx-auto px-4">
<div class="flex flex-col md:flex-row justify-between items-center">
<div class="mb-4 md:mb-0">
<p class="text-gray-600">© 2023 Gemini UI. All rights reserved.</p>
</div>
<div class="flex space-x-6">
<a href="#" class="text-gray-600 hover:text-primary transition-all">Terms</a>
<a href="#" class="text-gray-600 hover:text-primary transition-all">Privacy</a>
<a href="#" class="text-gray-600 hover:text-primary transition-all">Help</a>
</div>
</div>
</div>
</footer>
<script>
feather.replace();
// Mobile menu toggle functionality would go here
document.addEventListener('DOMContentLoaded', function() {
const mobileMenuButton = document.querySelector('.md\\:hidden');
// Add click handler for mobile menu
});
</script>
</body>
</html>