On android galaxy a14 .python executes in termux on android fresh clean build assuming absolutely zero requirements or dependencies are installed and fully automated with working gui on device i can interact with ai to provide it tasks that it has full permissions to complete any way possible
Browse files- README.md +7 -4
- components/android-terminal.js +100 -0
- components/footer.js +75 -0
- components/navbar.js +59 -0
- index.html +117 -19
- script.js +31 -0
- style.css +38 -18
README.md
CHANGED
|
@@ -1,10 +1,13 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
|
| 4 |
-
colorFrom: yellow
|
| 5 |
colorTo: gray
|
|
|
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: PyBotler - Android AI Butler 🤖
|
| 3 |
+
colorFrom: pink
|
|
|
|
| 4 |
colorTo: gray
|
| 5 |
+
emoji: 🐳
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite-v3
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# Welcome to your new DeepSite project!
|
| 13 |
+
This project was created with [DeepSite](https://huggingface.co/deepsite).
|
components/android-terminal.js
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class AndroidTerminal extends HTMLElement {
|
| 2 |
+
connectedCallback() {
|
| 3 |
+
this.attachShadow({ mode: 'open' });
|
| 4 |
+
this.shadowRoot.innerHTML = `
|
| 5 |
+
<style>
|
| 6 |
+
.terminal-container {
|
| 7 |
+
background: #1e1e1e;
|
| 8 |
+
border-radius: 8px;
|
| 9 |
+
padding: 1rem;
|
| 10 |
+
font-family: 'Courier New', monospace;
|
| 11 |
+
color: #f0f0f0;
|
| 12 |
+
margin: 2rem 0;
|
| 13 |
+
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
| 14 |
+
}
|
| 15 |
+
.terminal-header {
|
| 16 |
+
display: flex;
|
| 17 |
+
align-items: center;
|
| 18 |
+
margin-bottom: 1rem;
|
| 19 |
+
}
|
| 20 |
+
.terminal-dots {
|
| 21 |
+
display: flex;
|
| 22 |
+
gap: 6px;
|
| 23 |
+
margin-right: 1rem;
|
| 24 |
+
}
|
| 25 |
+
.terminal-dot {
|
| 26 |
+
width: 12px;
|
| 27 |
+
height: 12px;
|
| 28 |
+
border-radius: 50%;
|
| 29 |
+
}
|
| 30 |
+
.dot-red { background: #ff5f56; }
|
| 31 |
+
.dot-yellow { background: #ffbd2e; }
|
| 32 |
+
.dot-green { background: #27c93f; }
|
| 33 |
+
.terminal-title {
|
| 34 |
+
font-size: 0.875rem;
|
| 35 |
+
color: #a0a0a0;
|
| 36 |
+
}
|
| 37 |
+
.terminal-content {
|
| 38 |
+
white-space: pre-wrap;
|
| 39 |
+
line-height: 1.5;
|
| 40 |
+
}
|
| 41 |
+
.command-line {
|
| 42 |
+
display: flex;
|
| 43 |
+
margin-top: 0.5rem;
|
| 44 |
+
}
|
| 45 |
+
.prompt {
|
| 46 |
+
color: #27c93f;
|
| 47 |
+
margin-right: 0.5rem;
|
| 48 |
+
}
|
| 49 |
+
.command-input {
|
| 50 |
+
background: transparent;
|
| 51 |
+
border: none;
|
| 52 |
+
color: #f0f0f0;
|
| 53 |
+
font-family: inherit;
|
| 54 |
+
width: 100%;
|
| 55 |
+
outline: none;
|
| 56 |
+
}
|
| 57 |
+
</style>
|
| 58 |
+
<div class="terminal-container">
|
| 59 |
+
<div class="terminal-header">
|
| 60 |
+
<div class="terminal-dots">
|
| 61 |
+
<div class="terminal-dot dot-red"></div>
|
| 62 |
+
<div class="terminal-dot dot-yellow"></div>
|
| 63 |
+
<div class="terminal-dot dot-green"></div>
|
| 64 |
+
</div>
|
| 65 |
+
<div class="terminal-title">Termux - PyBotler</div>
|
| 66 |
+
</div>
|
| 67 |
+
<div class="terminal-content" id="terminal-output">
|
| 68 |
+
$ pkg install python -y
|
| 69 |
+
$ pip install pybotler
|
| 70 |
+
$ pybotler --gui
|
| 71 |
+
</div>
|
| 72 |
+
<div class="command-line">
|
| 73 |
+
<span class="prompt">$</span>
|
| 74 |
+
<input class="command-input" type="text" placeholder="Enter command..." id="terminal-input">
|
| 75 |
+
</div>
|
| 76 |
+
</div>
|
| 77 |
+
`;
|
| 78 |
+
|
| 79 |
+
const input = this.shadowRoot.getElementById('terminal-input');
|
| 80 |
+
const output = this.shadowRoot.getElementById('terminal-output');
|
| 81 |
+
|
| 82 |
+
input.addEventListener('keypress', (e) => {
|
| 83 |
+
if (e.key === 'Enter') {
|
| 84 |
+
const command = input.value;
|
| 85 |
+
output.textContent += `\n$ ${command}\n`;
|
| 86 |
+
|
| 87 |
+
// Simulate command processing
|
| 88 |
+
if (command.startsWith('pybotler')) {
|
| 89 |
+
output.textContent += 'PyBotler AI initialized...\nReady to automate your Android tasks!';
|
| 90 |
+
} else {
|
| 91 |
+
output.textContent += 'Command executed successfully';
|
| 92 |
+
}
|
| 93 |
+
|
| 94 |
+
input.value = '';
|
| 95 |
+
output.scrollTop = output.scrollHeight;
|
| 96 |
+
}
|
| 97 |
+
});
|
| 98 |
+
}
|
| 99 |
+
}
|
| 100 |
+
customElements.define('android-terminal', AndroidTerminal);
|
components/footer.js
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class CustomFooter extends HTMLElement {
|
| 2 |
+
connectedCallback() {
|
| 3 |
+
this.attachShadow({ mode: 'open' });
|
| 4 |
+
this.shadowRoot.innerHTML = `
|
| 5 |
+
<style>
|
| 6 |
+
.footer-link {
|
| 7 |
+
transition: all 0.2s ease;
|
| 8 |
+
}
|
| 9 |
+
.footer-link:hover {
|
| 10 |
+
color: rgb(59 130 246);
|
| 11 |
+
}
|
| 12 |
+
</style>
|
| 13 |
+
<footer class="bg-white border-t border-gray-200 py-8">
|
| 14 |
+
<div class="container mx-auto px-4">
|
| 15 |
+
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
|
| 16 |
+
<div>
|
| 17 |
+
<h3 class="text-lg font-semibold text-gray-800 mb-4">AutoMind</h3>
|
| 18 |
+
<p class="text-gray-600 mb-4">Python-powered AI butler for Android automation.</p>
|
| 19 |
+
<div class="flex space-x-4">
|
| 20 |
+
<a href="#" class="text-gray-500 hover:text-primary-500">
|
| 21 |
+
<i data-feather="twitter"></i>
|
| 22 |
+
</a>
|
| 23 |
+
<a href="#" class="text-gray-500 hover:text-primary-500">
|
| 24 |
+
<i data-feather="github"></i>
|
| 25 |
+
</a>
|
| 26 |
+
<a href="#" class="text-gray-500 hover:text-primary-500">
|
| 27 |
+
<i data-feather="linkedin"></i>
|
| 28 |
+
</a>
|
| 29 |
+
</div>
|
| 30 |
+
</div>
|
| 31 |
+
|
| 32 |
+
<div>
|
| 33 |
+
<h3 class="text-lg font-semibold text-gray-800 mb-4">Product</h3>
|
| 34 |
+
<ul class="space-y-2">
|
| 35 |
+
<li><a href="#" class="footer-link text-gray-600">Features</a></li>
|
| 36 |
+
<li><a href="#" class="footer-link text-gray-600">Pricing</a></li>
|
| 37 |
+
<li><a href="#" class="footer-link text-gray-600">Documentation</a></li>
|
| 38 |
+
<li><a href="#" class="footer-link text-gray-600">Releases</a></li>
|
| 39 |
+
</ul>
|
| 40 |
+
</div>
|
| 41 |
+
|
| 42 |
+
<div>
|
| 43 |
+
<h3 class="text-lg font-semibold text-gray-800 mb-4">Company</h3>
|
| 44 |
+
<ul class="space-y-2">
|
| 45 |
+
<li><a href="#" class="footer-link text-gray-600">About</a></li>
|
| 46 |
+
<li><a href="#" class="footer-link text-gray-600">Blog</a></li>
|
| 47 |
+
<li><a href="#" class="footer-link text-gray-600">Careers</a></li>
|
| 48 |
+
<li><a href="#" class="footer-link text-gray-600">Contact</a></li>
|
| 49 |
+
</ul>
|
| 50 |
+
</div>
|
| 51 |
+
|
| 52 |
+
<div>
|
| 53 |
+
<h3 class="text-lg font-semibold text-gray-800 mb-4">Legal</h3>
|
| 54 |
+
<ul class="space-y-2">
|
| 55 |
+
<li><a href="#" class="footer-link text-gray-600">Privacy</a></li>
|
| 56 |
+
<li><a href="#" class="footer-link text-gray-600">Terms</a></li>
|
| 57 |
+
<li><a href="#" class="footer-link text-gray-600">Security</a></li>
|
| 58 |
+
</ul>
|
| 59 |
+
</div>
|
| 60 |
+
</div>
|
| 61 |
+
|
| 62 |
+
<div class="border-t border-gray-200 mt-8 pt-8 flex flex-col md:flex-row justify-between items-center">
|
| 63 |
+
<p class="text-gray-500 text-sm">© 2023 PyBotler AI. All rights reserved.</p>
|
| 64 |
+
<div class="flex space-x-6 mt-4 md:mt-0">
|
| 65 |
+
<a href="#" class="text-gray-500 hover:text-primary-500 text-sm">Privacy Policy</a>
|
| 66 |
+
<a href="#" class="text-gray-500 hover:text-primary-500 text-sm">Terms of Service</a>
|
| 67 |
+
<a href="#" class="text-gray-500 hover:text-primary-500 text-sm">Cookies</a>
|
| 68 |
+
</div>
|
| 69 |
+
</div>
|
| 70 |
+
</div>
|
| 71 |
+
</footer>
|
| 72 |
+
`;
|
| 73 |
+
}
|
| 74 |
+
}
|
| 75 |
+
customElements.define('custom-footer', CustomFooter);
|
components/navbar.js
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class CustomNavbar extends HTMLElement {
|
| 2 |
+
connectedCallback() {
|
| 3 |
+
this.attachShadow({ mode: 'open' });
|
| 4 |
+
this.shadowRoot.innerHTML = `
|
| 5 |
+
<style>
|
| 6 |
+
.nav-link {
|
| 7 |
+
transition: all 0.2s ease;
|
| 8 |
+
}
|
| 9 |
+
.nav-link:hover {
|
| 10 |
+
color: rgb(59 130 246);
|
| 11 |
+
}
|
| 12 |
+
.active {
|
| 13 |
+
color: rgb(59 130 246);
|
| 14 |
+
font-weight: 500;
|
| 15 |
+
}
|
| 16 |
+
</style>
|
| 17 |
+
<nav class="bg-white shadow-sm">
|
| 18 |
+
<div class="container mx-auto px-4">
|
| 19 |
+
<div class="flex justify-between items-center h-16">
|
| 20 |
+
<div class="flex items-center">
|
| 21 |
+
<a href="/" class="flex items-center">
|
| 22 |
+
<i data-feather="cpu" class="text-primary-500 mr-2"></i>
|
| 23 |
+
<span class="text-xl font-semibold text-gray-800">PyBotler</span>
|
| 24 |
+
</a>
|
| 25 |
+
</div>
|
| 26 |
+
|
| 27 |
+
<div class="hidden md:flex items-center space-x-8">
|
| 28 |
+
<a href="/" class="nav-link text-gray-600 active">Dashboard</a>
|
| 29 |
+
<a href="/workflows" class="nav-link text-gray-600">Workflows</a>
|
| 30 |
+
<a href="/settings" class="nav-link text-gray-600">Settings</a>
|
| 31 |
+
<a href="/help" class="nav-link text-gray-600">Help</a>
|
| 32 |
+
</div>
|
| 33 |
+
|
| 34 |
+
<div class="flex items-center space-x-4">
|
| 35 |
+
<button class="p-2 rounded-full hover:bg-gray-100">
|
| 36 |
+
<i data-feather="search" class="text-gray-500"></i>
|
| 37 |
+
</button>
|
| 38 |
+
<button class="p-2 rounded-full hover:bg-gray-100">
|
| 39 |
+
<i data-feather="bell" class="text-gray-500"></i>
|
| 40 |
+
</button>
|
| 41 |
+
<div class="relative">
|
| 42 |
+
<button class="flex items-center space-x-2 focus:outline-none">
|
| 43 |
+
<div class="w-8 h-8 rounded-full bg-primary-100 flex items-center justify-center">
|
| 44 |
+
<i data-feather="user" class="text-primary-500"></i>
|
| 45 |
+
</div>
|
| 46 |
+
</button>
|
| 47 |
+
</div>
|
| 48 |
+
</div>
|
| 49 |
+
|
| 50 |
+
<button class="md:hidden p-2 rounded-md focus:outline-none">
|
| 51 |
+
<i data-feather="menu" class="text-gray-500"></i>
|
| 52 |
+
</button>
|
| 53 |
+
</div>
|
| 54 |
+
</div>
|
| 55 |
+
</nav>
|
| 56 |
+
`;
|
| 57 |
+
}
|
| 58 |
+
}
|
| 59 |
+
customElements.define('custom-navbar', CustomNavbar);
|
index.html
CHANGED
|
@@ -1,19 +1,117 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en" class="h-full">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>PyBotler - Android AI Butler</title>
|
| 7 |
+
<link rel="stylesheet" href="style.css">
|
| 8 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 9 |
+
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 10 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 11 |
+
<script>
|
| 12 |
+
tailwind.config = {
|
| 13 |
+
theme: {
|
| 14 |
+
extend: {
|
| 15 |
+
colors: {
|
| 16 |
+
primary: {
|
| 17 |
+
50: '#f0f9ff',
|
| 18 |
+
100: '#e0f2fe',
|
| 19 |
+
500: '#3b82f6',
|
| 20 |
+
600: '#2563eb',
|
| 21 |
+
700: '#1d4ed8',
|
| 22 |
+
},
|
| 23 |
+
secondary: {
|
| 24 |
+
50: '#f5f3ff',
|
| 25 |
+
100: '#ede9fe',
|
| 26 |
+
500: '#8b5cf6',
|
| 27 |
+
600: '#7c3aed',
|
| 28 |
+
700: '#6d28d9',
|
| 29 |
+
}
|
| 30 |
+
}
|
| 31 |
+
}
|
| 32 |
+
}
|
| 33 |
+
}
|
| 34 |
+
</script>
|
| 35 |
+
</head>
|
| 36 |
+
<body class="bg-gray-50 h-full flex flex-col">
|
| 37 |
+
<custom-navbar></custom-navbar>
|
| 38 |
+
|
| 39 |
+
<main class="flex-1 container mx-auto px-4 py-8">
|
| 40 |
+
<div class="max-w-4xl mx-auto">
|
| 41 |
+
<div class="text-center mb-12">
|
| 42 |
+
<h1 class="text-4xl font-bold text-primary-700 mb-4">PyBotler - Android AI Butler</h1>
|
| 43 |
+
<p class="text-xl text-gray-600">Full automation on your Android device with Python</p>
|
| 44 |
+
</div>
|
| 45 |
+
|
| 46 |
+
<div class="grid md:grid-cols-3 gap-8 mb-12">
|
| 47 |
+
<div class="bg-white p-6 rounded-xl shadow-md border border-gray-100">
|
| 48 |
+
<div class="text-primary-500 mb-4">
|
| 49 |
+
<i data-feather="cpu" class="w-10 h-10"></i>
|
| 50 |
+
</div>
|
| 51 |
+
<h3 class="text-xl font-semibold mb-2">Local Processing</h3>
|
| 52 |
+
<p class="text-gray-600">All AI processing happens locally on your device for maximum privacy.</p>
|
| 53 |
+
</div>
|
| 54 |
+
|
| 55 |
+
<div class="bg-white p-6 rounded-xl shadow-md border border-gray-100">
|
| 56 |
+
<div class="text-primary-500 mb-4">
|
| 57 |
+
<i data-feather="zap" class="w-10 h-10"></i>
|
| 58 |
+
</div>
|
| 59 |
+
<h3 class="text-xl font-semibold mb-2">Smart Automation</h3>
|
| 60 |
+
<p class="text-gray-600">Automate repetitive tasks with intelligent AI workflows.</p>
|
| 61 |
+
</div>
|
| 62 |
+
|
| 63 |
+
<div class="bg-white p-6 rounded-xl shadow-md border border-gray-100">
|
| 64 |
+
<div class="text-primary-500 mb-4">
|
| 65 |
+
<i data-feather="settings" class="w-10 h-10"></i>
|
| 66 |
+
</div>
|
| 67 |
+
<h3 class="text-xl font-semibold mb-2">Customizable</h3>
|
| 68 |
+
<p class="text-gray-600">Tailor the AI to your specific needs and preferences.</p>
|
| 69 |
+
</div>
|
| 70 |
+
</div>
|
| 71 |
+
<div class="bg-gradient-to-r from-primary-100 to-secondary-100 rounded-xl p-8 mb-12">
|
| 72 |
+
<h2 class="text-2xl font-bold text-primary-700 mb-4">Get Started on Android</h2>
|
| 73 |
+
<p class="text-gray-700 mb-6">Run these commands in Termux to install PyBotler:</p>
|
| 74 |
+
<android-terminal></android-terminal>
|
| 75 |
+
<button class="bg-primary-500 hover:bg-primary-600 text-white font-medium py-2 px-6 rounded-lg transition duration-200 flex items-center mt-6">
|
| 76 |
+
<i data-feather="download" class="mr-2"></i> Install Guide
|
| 77 |
+
</button>
|
| 78 |
+
</div>
|
| 79 |
+
<div class="bg-white rounded-xl shadow-md overflow-hidden">
|
| 80 |
+
<div class="p-6 border-b border-gray-100">
|
| 81 |
+
<h2 class="text-2xl font-bold text-primary-700">Recent Activity</h2>
|
| 82 |
+
</div>
|
| 83 |
+
<div class="divide-y divide-gray-100">
|
| 84 |
+
<div class="p-6 flex items-center">
|
| 85 |
+
<div class="bg-primary-100 p-3 rounded-full mr-4">
|
| 86 |
+
<i data-feather="check" class="text-primary-600"></i>
|
| 87 |
+
</div>
|
| 88 |
+
<div>
|
| 89 |
+
<p class="font-medium">Email automation completed</p>
|
| 90 |
+
<p class="text-sm text-gray-500">2 minutes ago</p>
|
| 91 |
+
</div>
|
| 92 |
+
</div>
|
| 93 |
+
<div class="p-6 flex items-center">
|
| 94 |
+
<div class="bg-secondary-100 p-3 rounded-full mr-4">
|
| 95 |
+
<i data-feather="clock" class="text-secondary-600"></i>
|
| 96 |
+
</div>
|
| 97 |
+
<div>
|
| 98 |
+
<p class="font-medium">Calendar sync in progress</p>
|
| 99 |
+
<p class="text-sm text-gray-500">15 minutes ago</p>
|
| 100 |
+
</div>
|
| 101 |
+
</div>
|
| 102 |
+
</div>
|
| 103 |
+
</div>
|
| 104 |
+
</div>
|
| 105 |
+
</main>
|
| 106 |
+
|
| 107 |
+
<custom-footer></custom-footer>
|
| 108 |
+
<script src="components/navbar.js"></script>
|
| 109 |
+
<script src="components/footer.js"></script>
|
| 110 |
+
<script src="components/android-terminal.js"></script>
|
| 111 |
+
<script src="script.js"></script>
|
| 112 |
+
<script>
|
| 113 |
+
feather.replace();
|
| 114 |
+
</script>
|
| 115 |
+
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
|
| 116 |
+
</body>
|
| 117 |
+
</html>
|
script.js
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
document.addEventListener('DOMContentLoaded', function() {
|
| 2 |
+
// Initialize tooltips
|
| 3 |
+
const tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]'));
|
| 4 |
+
tooltipTriggerList.map(function (tooltipTriggerEl) {
|
| 5 |
+
return new bootstrap.Tooltip(tooltipTriggerEl);
|
| 6 |
+
});
|
| 7 |
+
|
| 8 |
+
// Smooth scrolling for anchor links
|
| 9 |
+
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
|
| 10 |
+
anchor.addEventListener('click', function (e) {
|
| 11 |
+
e.preventDefault();
|
| 12 |
+
document.querySelector(this.getAttribute('href')).scrollIntoView({
|
| 13 |
+
behavior: 'smooth'
|
| 14 |
+
});
|
| 15 |
+
});
|
| 16 |
+
});
|
| 17 |
+
|
| 18 |
+
// Dark mode toggle functionality
|
| 19 |
+
const darkModeToggle = document.getElementById('darkModeToggle');
|
| 20 |
+
if (darkModeToggle) {
|
| 21 |
+
darkModeToggle.addEventListener('click', function() {
|
| 22 |
+
document.documentElement.classList.toggle('dark');
|
| 23 |
+
localStorage.setItem('darkMode', document.documentElement.classList.contains('dark'));
|
| 24 |
+
});
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
// Check for saved dark mode preference
|
| 28 |
+
if (localStorage.getItem('darkMode') === 'true') {
|
| 29 |
+
document.documentElement.classList.add('dark');
|
| 30 |
+
}
|
| 31 |
+
});
|
style.css
CHANGED
|
@@ -1,28 +1,48 @@
|
|
|
|
|
|
|
|
| 1 |
body {
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
}
|
| 5 |
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
margin-top: 0;
|
| 9 |
}
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
margin-bottom: 10px;
|
| 15 |
-
margin-top: 5px;
|
| 16 |
}
|
| 17 |
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
margin: 0 auto;
|
| 21 |
-
padding: 16px;
|
| 22 |
-
border: 1px solid lightgray;
|
| 23 |
-
border-radius: 16px;
|
| 24 |
}
|
| 25 |
|
| 26 |
-
|
| 27 |
-
|
|
|
|
| 28 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
|
| 2 |
+
|
| 3 |
body {
|
| 4 |
+
font-family: 'Inter', sans-serif;
|
| 5 |
+
}
|
| 6 |
+
|
| 7 |
+
/* Smooth scroll behavior */
|
| 8 |
+
html {
|
| 9 |
+
scroll-behavior: smooth;
|
| 10 |
+
}
|
| 11 |
+
|
| 12 |
+
/* Custom scrollbar */
|
| 13 |
+
::-webkit-scrollbar {
|
| 14 |
+
width: 8px;
|
| 15 |
+
height: 8px;
|
| 16 |
}
|
| 17 |
|
| 18 |
+
::-webkit-scrollbar-track {
|
| 19 |
+
background: #f1f1f1;
|
|
|
|
| 20 |
}
|
| 21 |
|
| 22 |
+
::-webkit-scrollbar-thumb {
|
| 23 |
+
background: #888;
|
| 24 |
+
border-radius: 4px;
|
|
|
|
|
|
|
| 25 |
}
|
| 26 |
|
| 27 |
+
::-webkit-scrollbar-thumb:hover {
|
| 28 |
+
background: #555;
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
}
|
| 30 |
|
| 31 |
+
/* Animation for buttons */
|
| 32 |
+
.btn-animate {
|
| 33 |
+
transition: all 0.2s ease-in-out;
|
| 34 |
}
|
| 35 |
+
|
| 36 |
+
.btn-animate:hover {
|
| 37 |
+
transform: translateY(-2px);
|
| 38 |
+
}
|
| 39 |
+
|
| 40 |
+
/* Fade-in animation */
|
| 41 |
+
@keyframes fadeIn {
|
| 42 |
+
from { opacity: 0; }
|
| 43 |
+
to { opacity: 1; }
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
.fade-in {
|
| 47 |
+
animation: fadeIn 0.5s ease-in;
|
| 48 |
+
}
|