- Extract logic into dedicated functions for better readability - Create handleDonationIntervalChange() as main click handler - Separate concerns: updateLinkInterval, updateAmountDisplay, switchActiveTab - Remove unnecessary comments in favor of clear function names - Update footer to link script.js instead of donation-tabs.js 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
18 lines
594 B
PHP
18 lines
594 B
PHP
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<link rel="stylesheet" href="<?= url('assets/css/style.css') ?>?version-cache-prevent<?= rand(0, 1000) ?>">
|
|
<meta name="robots" content="noindex,nofollow">
|
|
<title>
|
|
<?php if ($page->isHomePage() == false): ?>
|
|
<?= $page->title() ?> |
|
|
<?php endif ?>
|
|
<?= $site->title() ?>
|
|
</title>
|
|
|
|
<script src="<?= url('assets/js/script.js') ?>"></script>
|
|
</head>
|
|
<body data-template="<?= $page->template() ?>">
|
|
<?php snippet('nav') ?>
|