feat(site): implement dynamic client OS negotiation for Hero and CTA download buttons
Some checks failed
deploy-site-windows / deploy-win (push) Waiting to run
deploy-site / deploy (push) Failing after 24s

This commit is contained in:
Yun Chan 2026-08-20 22:57:38 +09:00
parent 4865387d7f
commit 55d03baf6b
5 changed files with 280 additions and 16 deletions

View file

@ -3,6 +3,7 @@ import type { ReactNode } from 'react'
interface GlowButtonProps {
children: ReactNode
href?: string
download?: string
variant?: 'primary' | 'secondary'
size?: 'md' | 'lg'
className?: string
@ -11,6 +12,7 @@ interface GlowButtonProps {
export function GlowButton({
children,
href,
download,
variant = 'primary',
size = 'md',
className = '',
@ -31,7 +33,7 @@ export function GlowButton({
if (href) {
return (
<a href={href} className={cls}>
<a href={href} download={download} className={cls}>
<span className="relative z-10">{children}</span>
</a>
)
@ -43,3 +45,4 @@ export function GlowButton({
</button>
)
}