Skip to content

Commit 4758c71

Browse files
Update index.html
1 parent d19326e commit 4758c71

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

index.html

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -707,21 +707,20 @@ <h2 class="section-title">Pick Your Edition</h2>
707707
</div>
708708
<h3 class="download-title">HollyHock 2 (Latest)</h3>
709709
<p class="download-description">The stable and recommended version with full Python support and extensive library compatibility.</p>
710-
<a href="/python/install-guide" class="btn btn-primary btn-download" onclick="downloadFile('/python/PythonExtra-hh2.bin')">Download Now</a>
711-
<!-- TODO: the file would need to be pulled from relase later... -->
710+
<a href="/python/install-guide" class="btn btn-primary btn-download" onclick="downloadFile('/python/PythonExtra-hh2.bin', 'PythonExtra.bin'); return false;">Download Now</a>
712711
</div>
713712

714713
<div class="download-card">
715-
<div class="download-icon" style="opacity: 0.5;">
714+
<div class="download-icon">
716715
<svg width="32" height="32" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
717716
<path d="M12 2L2 7L12 12L22 7L12 2Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
718717
<path d="M2 17L12 22L22 17" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
719718
<path d="M2 12L12 17L22 12" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
720719
</svg>
721720
</div>
722-
<h3 class="download-title">HollyHock 3</h3>
723-
<p class="download-description">The next-generation version with experimental features. Coming soon!</p>
724-
<button class="btn btn-disabled btn-download" disabled>Coming Soon</button>
721+
<h3 class="download-title">HollyHock 3 (Beta)</h3>
722+
<p class="download-description">The next-generation version with experimental features. Now available for testing.</p>
723+
<a href="/python/install-guide" class="btn btn-primary btn-download" onclick="downloadFile('/python/PythonExtra.hh3', 'PythonExtra.hh3'); return false;">Download Beta</a>
725724
</div>
726725
</div>
727726
</div>
@@ -968,11 +967,11 @@ <h2 class="cta-title">Need Help?</h2>
968967
</footer>
969968

970969
<script>
971-
function downloadFile(url) {
970+
function downloadFile(url, saveName) {
972971
// Simulate download
973972
const link = document.createElement('a');
974973
link.href = url;
975-
link.download = 'PythonExtra.bin';
974+
link.download = saveName || 'PythonExtra.bin'; // Use provided name or fallback
976975
document.body.appendChild(link);
977976
link.click();
978977
document.body.removeChild(link);

0 commit comments

Comments
 (0)