Skip to content

Commit 1d63768

Browse files
michael-borckclaude
andcommitted
Add GitHub repository links and template generation button
- Add prominent GitHub repository link in header with GitHub icon - Add "Use This Template" button linking to GitHub template generation - Improve call-to-action section with green template button as primary action - Make buttons responsive with proper flex layout for mobile - Include proper external link attributes (target="_blank", rel="noopener noreferrer") Users can now easily: - Visit the GitHub repository from the documentation site - Generate new projects using the GitHub template feature - Access all template functionality with clear visual hierarchy 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent fe68c4e commit 1d63768

File tree

1 file changed

+25
-5
lines changed

1 file changed

+25
-5
lines changed

index.html

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,17 +74,37 @@
7474
<header class="bg-white dark:bg-neutral-950/50 shadow-sm">
7575
<div class="container mx-auto px-6 py-4 flex justify-between items-center">
7676
<h1 class="text-2xl font-bold text-neutral-900 dark:text-white">Electron Template Project</h1>
77-
<button id="theme-toggle-landing" class="p-2 rounded-md hover:bg-neutral-200 dark:hover:bg-neutral-800 text-neutral-600 dark:text-neutral-400">
78-
<svg id="theme-toggle-dark-icon-landing" class="hidden w-5 h-5" fill="currentColor" viewBox="0 0 20 20"><path d="M17.293 13.293A8 8 0 016.707 2.707a8.001 8.001 0 1010.586 10.586z"></path></svg>
79-
<svg id="theme-toggle-light-icon-landing" class="hidden w-5 h-5" fill="currentColor" viewBox="0 0 20 20"><path d="M10 2a1 1 0 011 1v1a1 1 0 11-2 0V3a1 1 0 011-1zm4 8a4 4 0 11-8 0 4 4 0 018 0zm-.464 4.95l.707.707a1 1 0 001.414-1.414l-.707-.707a1 1 0 00-1.414 1.414zm2.12-10.607a1 1 0 010 1.414l-.706.707a1 1 0 11-1.414-1.414l.707-.707a1 1 0 011.414 0zM17 11a1 1 0 100-2h-1a1 1 0 100 2h1zm-7 4a1 1 0 011 1v1a1 1 0 11-2 0v-1a1 1 0 011-1zM5.05 5.05A1 1 0 016.465 3.636l.707.707a1 1 0 01-1.414 1.414l-.707-.707a1 1 0 010-1.414zM5 11a1 1 0 100-2H4a1 1 0 100 2h1z" fill-rule="evenodd" clip-rule="evenodd"></path></svg>
80-
</button>
77+
<div class="flex items-center gap-4">
78+
<a href="https://github.com/michael-borck/electron-kit"
79+
target="_blank"
80+
rel="noopener noreferrer"
81+
class="flex items-center gap-2 px-4 py-2 bg-neutral-800 dark:bg-neutral-700 text-white rounded-lg hover:bg-neutral-700 dark:hover:bg-neutral-600 transition-colors">
82+
<svg class="w-5 h-5" fill="currentColor" viewBox="0 0 20 20">
83+
<path fill-rule="evenodd" d="M10 0C4.477 0 0 4.484 0 10.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0110 4.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.203 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.942.359.31.678.921.678 1.856 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0020 10.017C20 4.484 15.522 0 10 0z" clip-rule="evenodd"></path>
84+
</svg>
85+
<span class="hidden sm:inline">GitHub</span>
86+
</a>
87+
<button id="theme-toggle-landing" class="p-2 rounded-md hover:bg-neutral-200 dark:hover:bg-neutral-800 text-neutral-600 dark:text-neutral-400">
88+
<svg id="theme-toggle-dark-icon-landing" class="hidden w-5 h-5" fill="currentColor" viewBox="0 0 20 20"><path d="M17.293 13.293A8 8 0 016.707 2.707a8.001 8.001 0 1010.586 10.586z"></path></svg>
89+
<svg id="theme-toggle-light-icon-landing" class="hidden w-5 h-5" fill="currentColor" viewBox="0 0 20 20"><path d="M10 2a1 1 0 011 1v1a1 1 0 11-2 0V3a1 1 0 011-1zm4 8a4 4 0 11-8 0 4 4 0 018 0zm-.464 4.95l.707.707a1 1 0 001.414-1.414l-.707-.707a1 1 0 00-1.414 1.414zm2.12-10.607a1 1 0 010 1.414l-.706.707a1 1 0 11-1.414-1.414l.707-.707a1 1 0 011.414 0zM17 11a1 1 0 100-2h-1a1 1 0 100 2h1zm-7 4a1 1 0 011 1v1a1 1 0 11-2 0v-1a1 1 0 011-1zM5.05 5.05A1 1 0 016.465 3.636l.707.707a1 1 0 01-1.414 1.414l-.707-.707a1 1 0 010-1.414zM5 11a1 1 0 100-2H4a1 1 0 100 2h1z" fill-rule="evenodd" clip-rule="evenodd"></path></svg>
90+
</button>
91+
</div>
8192
</div>
8293
</header>
8394
<main class="container mx-auto px-6 py-12">
8495
<div class="text-center">
8596
<h2 class="text-4xl md:text-5xl font-extrabold text-neutral-900 dark:text-white">A Modular System for Modern Desktop Apps</h2>
8697
<p class="mt-4 max-w-2xl mx-auto text-lg text-neutral-600 dark:text-neutral-400">Build consistent, professional, and feature-rich applications for Windows, macOS, and Linux with ease.</p>
87-
<div class="mt-8 flex justify-center gap-4">
98+
<div class="mt-8 flex flex-col sm:flex-row justify-center gap-4">
99+
<a href="https://github.com/michael-borck/electron-kit/generate"
100+
target="_blank"
101+
rel="noopener noreferrer"
102+
class="flex items-center justify-center gap-2 bg-green-600 hover:bg-green-700 text-white font-bold py-3 px-6 rounded-lg shadow-lg transition-transform transform hover:scale-105">
103+
<svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24">
104+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 6v6m0 0v6m0-6h6m-6 0H6"></path>
105+
</svg>
106+
Use This Template
107+
</a>
88108
<button id="show-usage-guide" class="bg-primary-600 hover:bg-primary-700 text-white font-bold py-3 px-6 rounded-lg shadow-lg transition-transform transform hover:scale-105">View Usage Guide</button>
89109
<a href="#quick-start-readme" class="bg-secondary-600 hover:bg-secondary-700 text-white font-bold py-3 px-6 rounded-lg shadow-lg transition-transform transform hover:scale-105">Get Started</a>
90110
</div>

0 commit comments

Comments
 (0)