gemini-native/firstrun.html
2025-05-19 11:40:56 +01:00

122 lines
No EOL
3.6 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Gemini Native</title>
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
background-color: #f0f2f5;
color: #333;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
text-align: center;
padding: 20px;
box-sizing: border-box;
}
.container {
background-color: #ffffff;
padding: 40px;
border-radius: 12px;
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
max-width: 600px;
width: 100%;
}
h1 {
color: #1a73e8; /* Google Blue */
font-size: 28px;
margin-bottom: 20px;
}
p {
font-size: 16px;
line-height: 1.6;
margin-bottom: 15px;
}
.shortcut {
background-color: #e8f0fe;
color: #1a73e8;
padding: 3px 8px;
border-radius: 6px;
font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
font-size: 0.9em;
border: 1px solid #d2e3fc;
}
.footer-note {
font-size: 0.9em;
color: #5f6368;
margin-top: 30px;
}
.logo {
display: flex;
justify-content: center;
margin-bottom: 20px;
padding: 10px;
}
.logo img {
width: 128px;
height: 128px;
filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}
.close-button {
background-color: #1a73e8;
color: white;
border: none;
padding: 10px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin-top: 20px;
border-radius: 8px;
cursor: pointer;
transition: background-color 0.3s ease;
}
.close-button:hover {
background-color: #1558b0; /* Darker Google Blue */
}
</style>
</head>
<body>
<div class="container">
<div class="logo">
<img src="assets/icon.png" alt="Gemini Native Logo" width="64" height="64" style="margin-bottom: 20px;">
</div>
<h1>Welcome to Gemini Native!</h1>
<p>Gemini Native has successfully installed and is now running in the system tray.</p>
<p>You can quickly access Gemini using these keyboard shortcuts:</p>
<p>
Press <span class="shortcut">Super + Shift + G</span> to open and focus the Gemini window.
</p>
<p>
Press <span class="shortcut">Super + Ctrl + G</span> to open the app and paste a screenshot of your current screen directly into Gemini.
</p>
<p class="footer-note">
Click the tray icon to show or hide the main window.
</p>
<button id="closeWindowButton" class="close-button">Got it, close this window</button>
</div>
<script>
document.getElementById('closeWindowButton').addEventListener('click', () => {
window.close();
});
</script>
</body>
</html>