修改关闭按钮逻辑
This commit is contained in:
@@ -115,7 +115,8 @@ export function AgeGateDialogHost() {
|
||||
</button>
|
||||
</div>
|
||||
</section>
|
||||
<button type="button" aria-label="退出" onClick={exitSite} className="cursor-pointer size-9">
|
||||
{/* 关闭按钮(X)与“我已年满18岁-进入”一致:确认年龄并进入网站。 */}
|
||||
<button type="button" aria-label="关闭并进入网站" onClick={confirmAge} className="cursor-pointer size-9">
|
||||
<svg viewBox="0 0 44 44" className="size-full" aria-hidden="true">
|
||||
<circle cx="22" cy="22" r="21" fill="none" stroke="white" strokeWidth="2" />
|
||||
<path d="M16 16l12 12M28 16L16 28" stroke="white" strokeWidth="2" strokeLinecap="round" />
|
||||
|
||||
Reference in New Issue
Block a user