Skip to content

Commit

Permalink
website: update download icon.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Feb 11, 2025
1 parent 775d5e7 commit 537567e
Show file tree
Hide file tree
Showing 11 changed files with 31 additions and 22 deletions.
2 changes: 1 addition & 1 deletion docs/art.html
Original file line number Diff line number Diff line change
Expand Up @@ -2321,7 +2321,7 @@ <h1><a href="./index.html">Free Font 商用免费字体</a></h1>
<div>
Made by<a href="https://jaywcjlove.github.io/#/sponsor" target="_blank"> 小弟调调™ </a>with<span class="heart"></span></span>
</div>
<time datetime="Mon Feb 10 2025 23:42:00 GMT+0800 (China Standard Time)">Mon Feb 10 2025 23:42:00 GMT+0800 (China Standard Time)</time>
<time datetime="Tue Feb 11 2025 13:16:40 GMT+0800 (China Standard Time)">Tue Feb 11 2025 13:16:40 GMT+0800 (China Standard Time)</time>
</footer>
</body>
</html>
2 changes: 1 addition & 1 deletion docs/english.html
Original file line number Diff line number Diff line change
Expand Up @@ -4617,7 +4617,7 @@ <h1><a href="./index.html">Free Font 商用免费字体</a></h1>
<div>
Made by<a href="https://jaywcjlove.github.io/#/sponsor" target="_blank"> 小弟调调™ </a>with<span class="heart"></span></span>
</div>
<time datetime="Mon Feb 10 2025 23:42:00 GMT+0800 (China Standard Time)">Mon Feb 10 2025 23:42:00 GMT+0800 (China Standard Time)</time>
<time datetime="Tue Feb 11 2025 13:16:40 GMT+0800 (China Standard Time)">Tue Feb 11 2025 13:16:40 GMT+0800 (China Standard Time)</time>
</footer>
</body>
</html>
2 changes: 1 addition & 1 deletion docs/handwriting.html
Original file line number Diff line number Diff line change
Expand Up @@ -1031,7 +1031,7 @@ <h1><a href="./index.html">Free Font 商用免费字体</a></h1>
<div>
Made by<a href="https://jaywcjlove.github.io/#/sponsor" target="_blank"> 小弟调调™ </a>with<span class="heart"></span></span>
</div>
<time datetime="Mon Feb 10 2025 23:42:00 GMT+0800 (China Standard Time)">Mon Feb 10 2025 23:42:00 GMT+0800 (China Standard Time)</time>
<time datetime="Tue Feb 11 2025 13:16:40 GMT+0800 (China Standard Time)">Tue Feb 11 2025 13:16:40 GMT+0800 (China Standard Time)</time>
</footer>
</body>
</html>
2 changes: 1 addition & 1 deletion docs/hei.html
Original file line number Diff line number Diff line change
Expand Up @@ -2171,7 +2171,7 @@ <h1><a href="./index.html">Free Font 商用免费字体</a></h1>
<div>
Made by<a href="https://jaywcjlove.github.io/#/sponsor" target="_blank"> 小弟调调™ </a>with<span class="heart"></span></span>
</div>
<time datetime="Mon Feb 10 2025 23:42:00 GMT+0800 (China Standard Time)">Mon Feb 10 2025 23:42:00 GMT+0800 (China Standard Time)</time>
<time datetime="Tue Feb 11 2025 13:16:40 GMT+0800 (China Standard Time)">Tue Feb 11 2025 13:16:40 GMT+0800 (China Standard Time)</time>
</footer>
</body>
</html>
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13946,7 +13946,7 @@ <h1><a href="./index.html">Free Font 商用免费字体</a></h1>
<div>
Made by<a href="https://jaywcjlove.github.io/#/sponsor" target="_blank"> 小弟调调™ </a>with<span class="heart"> ❤</span></span>
</div>
<time datetime="Mon Feb 10 2025 23:42:00 GMT+0800 (China Standard Time)">Mon Feb 10 2025 23:42:00 GMT+0800 (China Standard Time)</time>
<time datetime="Tue Feb 11 2025 13:16:40 GMT+0800 (China Standard Time)">Tue Feb 11 2025 13:16:40 GMT+0800 (China Standard Time)</time>
</footer>
</body>
</html>
2 changes: 1 addition & 1 deletion docs/kai.html
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,7 @@ <h1><a href="./index.html">Free Font 商用免费字体</a></h1>
<div>
Made by<a href="https://jaywcjlove.github.io/#/sponsor" target="_blank"> 小弟调调™ </a>with<span class="heart"></span></span>
</div>
<time datetime="Mon Feb 10 2025 23:42:00 GMT+0800 (China Standard Time)">Mon Feb 10 2025 23:42:00 GMT+0800 (China Standard Time)</time>
<time datetime="Tue Feb 11 2025 13:16:40 GMT+0800 (China Standard Time)">Tue Feb 11 2025 13:16:40 GMT+0800 (China Standard Time)</time>
</footer>
</body>
</html>
2 changes: 1 addition & 1 deletion docs/open-source.html
Original file line number Diff line number Diff line change
Expand Up @@ -9447,7 +9447,7 @@ <h1><a href="./index.html">Free Font 商用免费字体</a></h1>
<div>
Made by<a href="https://jaywcjlove.github.io/#/sponsor" target="_blank"> 小弟调调™ </a>with<span class="heart"></span></span>
</div>
<time datetime="Mon Feb 10 2025 23:42:00 GMT+0800 (China Standard Time)">Mon Feb 10 2025 23:42:00 GMT+0800 (China Standard Time)</time>
<time datetime="Tue Feb 11 2025 13:16:40 GMT+0800 (China Standard Time)">Tue Feb 11 2025 13:16:40 GMT+0800 (China Standard Time)</time>
</footer>
</body>
</html>
13 changes: 8 additions & 5 deletions docs/preview.en.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,23 +81,26 @@ <h2>数字预览</h2>
const urlParams = new URLSearchParams(window.location.search);
const fontUrl = urlParams.get('p');
const fontName = urlParams.get('t');
const svgIcon = `<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="bi bi-file-earmark-font-fill" viewBox="0 0 16 16" height="1em" width="1em"><path d="M9.293 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.707A1 1 0 0 0 13.707 4L10 .293A1 1 0 0 0 9.293 0zM9.5 3.5v-2l3 3h-2a1 1 0 0 1-1-1zM5.057 6h5.886L11 8h-.5c-.18-1.096-.356-1.192-1.694-1.235l-.298-.01v5.09c0 .47.1.582.903.655v.5H6.59v-.5c.799-.073.898-.184.898-.654V6.755l-.293.01C5.856 6.808 5.68 6.905 5.5 8H5l.057-2z"/> </svg>`

const svgIconJsdelivr = `<svg viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg" height="1em" width="1em"> <path d="M11.851 0 .811 4.02l1.56 14.7L11.85 24l9.6-5.28 1.74-14.76zm.062 4.622a6.668 6.75 0 0 1 2.666.572 12.507 12.507 0 0 0-2.59 1.95c-.045-.02-.092-.031-.138-.045a1.181 1.181 0 0 0-.346-.056c-.071 0-.141.01-.21.021a8.91 8.91 0 0 1-.615-2.318 6.668 6.75 0 0 1 1.171-.122 6.668 6.75 0 0 1 .062-.002zm-1.99.312a9.763 9.763 0 0 0 .69 2.504 1.213 1.213 0 0 0-.328.825 1.202 1.202 0 0 0 .18.63c-.937 1.294-1.656 2.803-1.905 4.31-.01.056-.013.11-.02.166-.282.09-.515.284-.656.54-.987-.333-1.885-.968-2.615-2.022a6.668 6.75 0 0 1-.026-.515 6.668 6.75 0 0 1 4.68-6.438zm5.507.709a6.668 6.75 0 0 1 2.53 2.9c-.377.953-1.049 1.892-1.893 2.727a1.242 1.242 0 0 0-.644-.184 1.243 1.243 0 0 0-.768.27 11.08 11.08 0 0 1-1.318-1.168c-.333-.35-.637-.73-.921-1.123.19-.215.31-.494.31-.802a1.2 1.2 0 0 0-.159-.586c1.058-1.008 2.112-1.67 2.863-2.034zm-3.925 1.982a.624.624 0 0 1 .346.114.624.624 0 0 1 .292.524.624.624 0 0 1-.292.524.626.626 0 0 1-.346.113.634.634 0 0 1-.638-.637c0-.355.283-.638.638-.638zm-.441 1.771a1.205 1.205 0 0 0 .675.062c.036.05.075.097.112.148a11.438 11.438 0 0 0 .921 1.119 12.103 12.103 0 0 0 1.446 1.277c-.032.11-.054.224-.054.342a1.236 1.236 0 0 0 .066.38 9.91 9.91 0 0 1-2.118 1.042c-.087.029-.173.052-.261.078a7.735 7.735 0 0 1-1.87.332 1.15 1.15 0 0 0-.66-.773c.004-.024.005-.049.01-.073.219-1.333.873-2.73 1.733-3.934zm7.272.19a6.668 6.75 0 0 1 .245 1.786 6.668 6.75 0 0 1-.259 1.856 9.993 9.993 0 0 1-1.666-.63 1.243 1.243 0 0 0-.065-.713 9.434 9.434 0 0 0 1.745-2.3zm-2.913 2.101c.367 0 .657.291.657.658s-.291.657-.657.657c-.367 0-.658-.29-.658-.657s.29-.658.658-.658zm.837 1.59a10.79 10.79 0 0 0 1.802.688 6.668 6.75 0 0 1-6.149 4.157 6.668 6.75 0 0 1-.062-.004 6.668 6.75 0 0 1-.042 0c-.087-.042-.168-.08-.266-.129-.312-.154-.667-.352-.846-.5a3.796 3.796 0 0 1-1.294-2.03c.21-.111.38-.284.487-.495a8.428 8.428 0 0 0 1.96-.306 9.11 9.11 0 0 0 .513-.154 11.083 11.083 0 0 0 2.341-1.13c.205.143.452.23.719.23a1.248 1.248 0 0 0 .837-.328zm-10.707.116a5.761 5.761 0 0 0 2.212 1.298 1.146 1.146 0 0 0 .857.87 4.602 4.602 0 0 0 1.24 2.222 6.668 6.75 0 0 1-4.31-4.39zm3.327.464c.331 0 .595.263.595.596s-.264.595-.595.595a.59.59 0 0 1-.596-.595.591.591 0 0 1 .596-.596z"/> </svg>`
const download1 = document.getElementById('download_jsdelivr');
download1.href = `https://cdn.jsdelivr.net/gh/jaywcjlove/free-font@main/docs/${fontUrl}`;
download1.innerHTML = `${svgIcon} 下载地址一:${fontName}`;
download1.innerHTML = `${svgIconJsdelivr} 下载地址一:${fontName}`;

const svgIconGithack = `<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 128 128" height="1em" width="1em"><path d="m318 977c-115-40-206-115-269-221-30-51-16-64 45-43l46 16v-62c1-84 14-135 43-164 20-20 42-26 138-39 161-20 245-39 399-91 98-33 152-46 198-47 62-1 65 0 95 37 27 31 38 37 71 37 46 0 158 22 153 30-1 3-26 53-56 112-107 215-253 343-484 425-58 20-96 26-192 30-107 3-128 1-187-20zm114-22c-52-24-91-53-134-96-48-49-56-55-43-29 44 85 145 160 215 160 33-1 30-3-38-35zm236 4c9-1-12-7-48-15-88-19-165-59-217-110-48-48-56-46-18 6 33 45 106 95 157 108 67 17 82 20 96 16 8-2 21-4 30-5zm-445-72c-27-29-55-63-62-76-7-12-15-20-18-17-10 9 46 94 79 120 54 42 54 29 1-27zm610 1c14-11 3-13-65-13-96 0-155-19-224-71-33-25-42-29-34-15 14 27 65 65 120 90 52 24 175 29 203 9zm152-108 20-21-25 9c-83 30-221 17-311-29-32-16-40-17-31-6 16 19 91 57 136 68 17 5 67 6 111 4 63-4 83-9 100-25zm-575-56c89-21 231-90 315-154 99-75 165-117 227-141 29-11 55-23 57-25 3-2-6-15-19-29-34-37-100-34-225 10-140 50-270 81-410 100-151 20-152 21-170 55-19 37-21 186-2 193 27 11 166 6 227-9zm611-40c52-15 89-38 89-55 0-4-21 1-46 12-83 37-166 41-289 14-27-6-28-5-10 6 62 39 169 49 256 23zm67-135c34-11 69-30 77-42 8-11 13-22 12-24-2-1-35 11-75 27-39 17-110 36-159 44l-88 14 86 1c62 1 102-5 147-20z" transform="matrix(.1 0 0 -.1 0 128)"/></svg>`;
const download2 = document.getElementById('download_githack');
download2.href = `https://raw.githack.com/jaywcjlove/free-font/main/docs/${fontUrl}`;
download2.innerHTML = `${svgIcon} 下载地址二:${fontName}`;
download2.innerHTML = `${svgIconGithack} 下载地址二:${fontName}`;

// const svgIcon = `<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="bi bi-file-earmark-font-fill" viewBox="0 0 16 16" height="1em" width="1em"><path d="M9.293 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.707A1 1 0 0 0 13.707 4L10 .293A1 1 0 0 0 9.293 0zM9.5 3.5v-2l3 3h-2a1 1 0 0 1-1-1zM5.057 6h5.886L11 8h-.5c-.18-1.096-.356-1.192-1.694-1.235l-.298-.01v5.09c0 .47.1.582.903.655v.5H6.59v-.5c.799-.073.898-.184.898-.654V6.755l-.293.01C5.856 6.808 5.68 6.905 5.5 8H5l.057-2z"/> </svg>`
// const download3 = document.getElementById('download_netlify');
// download3.href = `https://freefont.netlify.app/${fontUrl}`;
// download3.innerHTML = `${svgIcon} 下载地址三:${fontName}`;

const svgIconGithub = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" height="1em" width="1em"> <path fill="currentColor" d="M32 0C14 0 0 14 0 32c0 21 19 30 22 30 2 0 2-1 2-2v-5c-7 2-10-2-11-5 0 0 0-1-2-3-1-1-5-3-1-3 3 0 5 4 5 4 3 4 7 3 9 2 0-2 2-4 2-4-8-1-14-4-14-15 0-4 1-7 3-9 0 0-2-4 0-9 0 0 5 0 9 4 3-2 13-2 16 0 4-4 9-4 9-4 2 7 0 9 0 9 2 2 3 5 3 9 0 11-7 14-14 15 1 1 2 3 2 6v8c0 1 0 2 2 2 3 0 22-9 22-30C64 14 50 0 32 0Z"/> </svg>`;
const download4 = document.getElementById('download_github');
download4.href = `https://github.com/jaywcjlove/free-font/raw/main/docs/${fontUrl}`;
download4.innerHTML = `${svgIcon} 下载地址四:${fontName}`;
download4.innerHTML = `${svgIconGithub} 下载地址四:${fontName}`;

const preview = document.getElementById('preview')
if (preview && fontName) {
Expand Down Expand Up @@ -172,7 +175,7 @@ <h2>数字预览</h2>
<div>
Made by<a href="https://jaywcjlove.github.io/#/sponsor" target="_blank"> 小弟调调™ </a>with<span class="heart"></span></span>
</div>
<time datetime="Mon Feb 10 2025 23:42:00 GMT+0800 (China Standard Time)">Mon Feb 10 2025 23:42:00 GMT+0800 (China Standard Time)</time>
<time datetime="Tue Feb 11 2025 13:16:40 GMT+0800 (China Standard Time)">Tue Feb 11 2025 13:16:40 GMT+0800 (China Standard Time)</time>
</footer>
</body>
</html>
13 changes: 8 additions & 5 deletions docs/preview.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,23 +93,26 @@ <h2>数字预览</h2>
const urlParams = new URLSearchParams(window.location.search);
const fontUrl = urlParams.get('p');
const fontName = urlParams.get('t');
const svgIcon = `<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="bi bi-file-earmark-font-fill" viewBox="0 0 16 16" height="1em" width="1em"><path d="M9.293 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.707A1 1 0 0 0 13.707 4L10 .293A1 1 0 0 0 9.293 0zM9.5 3.5v-2l3 3h-2a1 1 0 0 1-1-1zM5.057 6h5.886L11 8h-.5c-.18-1.096-.356-1.192-1.694-1.235l-.298-.01v5.09c0 .47.1.582.903.655v.5H6.59v-.5c.799-.073.898-.184.898-.654V6.755l-.293.01C5.856 6.808 5.68 6.905 5.5 8H5l.057-2z"/> </svg>`

const svgIconJsdelivr = `<svg viewBox="0 0 24 24" fill="currentColor" xmlns="http://www.w3.org/2000/svg" height="1em" width="1em"> <path d="M11.851 0 .811 4.02l1.56 14.7L11.85 24l9.6-5.28 1.74-14.76zm.062 4.622a6.668 6.75 0 0 1 2.666.572 12.507 12.507 0 0 0-2.59 1.95c-.045-.02-.092-.031-.138-.045a1.181 1.181 0 0 0-.346-.056c-.071 0-.141.01-.21.021a8.91 8.91 0 0 1-.615-2.318 6.668 6.75 0 0 1 1.171-.122 6.668 6.75 0 0 1 .062-.002zm-1.99.312a9.763 9.763 0 0 0 .69 2.504 1.213 1.213 0 0 0-.328.825 1.202 1.202 0 0 0 .18.63c-.937 1.294-1.656 2.803-1.905 4.31-.01.056-.013.11-.02.166-.282.09-.515.284-.656.54-.987-.333-1.885-.968-2.615-2.022a6.668 6.75 0 0 1-.026-.515 6.668 6.75 0 0 1 4.68-6.438zm5.507.709a6.668 6.75 0 0 1 2.53 2.9c-.377.953-1.049 1.892-1.893 2.727a1.242 1.242 0 0 0-.644-.184 1.243 1.243 0 0 0-.768.27 11.08 11.08 0 0 1-1.318-1.168c-.333-.35-.637-.73-.921-1.123.19-.215.31-.494.31-.802a1.2 1.2 0 0 0-.159-.586c1.058-1.008 2.112-1.67 2.863-2.034zm-3.925 1.982a.624.624 0 0 1 .346.114.624.624 0 0 1 .292.524.624.624 0 0 1-.292.524.626.626 0 0 1-.346.113.634.634 0 0 1-.638-.637c0-.355.283-.638.638-.638zm-.441 1.771a1.205 1.205 0 0 0 .675.062c.036.05.075.097.112.148a11.438 11.438 0 0 0 .921 1.119 12.103 12.103 0 0 0 1.446 1.277c-.032.11-.054.224-.054.342a1.236 1.236 0 0 0 .066.38 9.91 9.91 0 0 1-2.118 1.042c-.087.029-.173.052-.261.078a7.735 7.735 0 0 1-1.87.332 1.15 1.15 0 0 0-.66-.773c.004-.024.005-.049.01-.073.219-1.333.873-2.73 1.733-3.934zm7.272.19a6.668 6.75 0 0 1 .245 1.786 6.668 6.75 0 0 1-.259 1.856 9.993 9.993 0 0 1-1.666-.63 1.243 1.243 0 0 0-.065-.713 9.434 9.434 0 0 0 1.745-2.3zm-2.913 2.101c.367 0 .657.291.657.658s-.291.657-.657.657c-.367 0-.658-.29-.658-.657s.29-.658.658-.658zm.837 1.59a10.79 10.79 0 0 0 1.802.688 6.668 6.75 0 0 1-6.149 4.157 6.668 6.75 0 0 1-.062-.004 6.668 6.75 0 0 1-.042 0c-.087-.042-.168-.08-.266-.129-.312-.154-.667-.352-.846-.5a3.796 3.796 0 0 1-1.294-2.03c.21-.111.38-.284.487-.495a8.428 8.428 0 0 0 1.96-.306 9.11 9.11 0 0 0 .513-.154 11.083 11.083 0 0 0 2.341-1.13c.205.143.452.23.719.23a1.248 1.248 0 0 0 .837-.328zm-10.707.116a5.761 5.761 0 0 0 2.212 1.298 1.146 1.146 0 0 0 .857.87 4.602 4.602 0 0 0 1.24 2.222 6.668 6.75 0 0 1-4.31-4.39zm3.327.464c.331 0 .595.263.595.596s-.264.595-.595.595a.59.59 0 0 1-.596-.595.591.591 0 0 1 .596-.596z"/> </svg>`
const download1 = document.getElementById('download_jsdelivr');
download1.href = `https://cdn.jsdelivr.net/gh/jaywcjlove/free-font@main/docs/${fontUrl}`;
download1.innerHTML = `${svgIcon} 下载地址一:${fontName}`;
download1.innerHTML = `${svgIconJsdelivr} 下载地址一:${fontName}`;

const svgIconGithack = `<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 128 128" height="1em" width="1em"><path d="m318 977c-115-40-206-115-269-221-30-51-16-64 45-43l46 16v-62c1-84 14-135 43-164 20-20 42-26 138-39 161-20 245-39 399-91 98-33 152-46 198-47 62-1 65 0 95 37 27 31 38 37 71 37 46 0 158 22 153 30-1 3-26 53-56 112-107 215-253 343-484 425-58 20-96 26-192 30-107 3-128 1-187-20zm114-22c-52-24-91-53-134-96-48-49-56-55-43-29 44 85 145 160 215 160 33-1 30-3-38-35zm236 4c9-1-12-7-48-15-88-19-165-59-217-110-48-48-56-46-18 6 33 45 106 95 157 108 67 17 82 20 96 16 8-2 21-4 30-5zm-445-72c-27-29-55-63-62-76-7-12-15-20-18-17-10 9 46 94 79 120 54 42 54 29 1-27zm610 1c14-11 3-13-65-13-96 0-155-19-224-71-33-25-42-29-34-15 14 27 65 65 120 90 52 24 175 29 203 9zm152-108 20-21-25 9c-83 30-221 17-311-29-32-16-40-17-31-6 16 19 91 57 136 68 17 5 67 6 111 4 63-4 83-9 100-25zm-575-56c89-21 231-90 315-154 99-75 165-117 227-141 29-11 55-23 57-25 3-2-6-15-19-29-34-37-100-34-225 10-140 50-270 81-410 100-151 20-152 21-170 55-19 37-21 186-2 193 27 11 166 6 227-9zm611-40c52-15 89-38 89-55 0-4-21 1-46 12-83 37-166 41-289 14-27-6-28-5-10 6 62 39 169 49 256 23zm67-135c34-11 69-30 77-42 8-11 13-22 12-24-2-1-35 11-75 27-39 17-110 36-159 44l-88 14 86 1c62 1 102-5 147-20z" transform="matrix(.1 0 0 -.1 0 128)"/></svg>`;
const download2 = document.getElementById('download_githack');
download2.href = `https://raw.githack.com/jaywcjlove/free-font/main/docs/${fontUrl}`;
download2.innerHTML = `${svgIcon} 下载地址二:${fontName}`;
download2.innerHTML = `${svgIconGithack} 下载地址二:${fontName}`;

// const svgIcon = `<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" class="bi bi-file-earmark-font-fill" viewBox="0 0 16 16" height="1em" width="1em"><path d="M9.293 0H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V4.707A1 1 0 0 0 13.707 4L10 .293A1 1 0 0 0 9.293 0zM9.5 3.5v-2l3 3h-2a1 1 0 0 1-1-1zM5.057 6h5.886L11 8h-.5c-.18-1.096-.356-1.192-1.694-1.235l-.298-.01v5.09c0 .47.1.582.903.655v.5H6.59v-.5c.799-.073.898-.184.898-.654V6.755l-.293.01C5.856 6.808 5.68 6.905 5.5 8H5l.057-2z"/> </svg>`
// const download3 = document.getElementById('download_netlify');
// download3.href = `https://freefont.netlify.app/${fontUrl}`;
// download3.innerHTML = `${svgIcon} 下载地址三:${fontName}`;

const svgIconGithub = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" height="1em" width="1em"> <path fill="currentColor" d="M32 0C14 0 0 14 0 32c0 21 19 30 22 30 2 0 2-1 2-2v-5c-7 2-10-2-11-5 0 0 0-1-2-3-1-1-5-3-1-3 3 0 5 4 5 4 3 4 7 3 9 2 0-2 2-4 2-4-8-1-14-4-14-15 0-4 1-7 3-9 0 0-2-4 0-9 0 0 5 0 9 4 3-2 13-2 16 0 4-4 9-4 9-4 2 7 0 9 0 9 2 2 3 5 3 9 0 11-7 14-14 15 1 1 2 3 2 6v8c0 1 0 2 2 2 3 0 22-9 22-30C64 14 50 0 32 0Z"/> </svg>`;
const download4 = document.getElementById('download_github');
download4.href = `https://github.com/jaywcjlove/free-font/raw/main/docs/${fontUrl}`;
download4.innerHTML = `${svgIcon} 下载地址四:${fontName}`;
download4.innerHTML = `${svgIconGithub} 下载地址四:${fontName}`;

const preview = document.getElementById('preview')
if (preview && fontName) {
Expand Down Expand Up @@ -184,7 +187,7 @@ <h2>数字预览</h2>
<div>
Made by<a href="https://jaywcjlove.github.io/#/sponsor" target="_blank"> 小弟调调™ </a>with<span class="heart"></span></span>
</div>
<time datetime="Mon Feb 10 2025 23:42:00 GMT+0800 (China Standard Time)">Mon Feb 10 2025 23:42:00 GMT+0800 (China Standard Time)</time>
<time datetime="Tue Feb 11 2025 13:16:40 GMT+0800 (China Standard Time)">Tue Feb 11 2025 13:16:40 GMT+0800 (China Standard Time)</time>
</footer>
</body>
</html>
2 changes: 1 addition & 1 deletion docs/song.html
Original file line number Diff line number Diff line change
Expand Up @@ -1361,7 +1361,7 @@ <h1><a href="./index.html">Free Font 商用免费字体</a></h1>
<div>
Made by<a href="https://jaywcjlove.github.io/#/sponsor" target="_blank"> 小弟调调™ </a>with<span class="heart"> ❤</span></span>
</div>
<time datetime="Mon Feb 10 2025 23:42:00 GMT+0800 (China Standard Time)">Mon Feb 10 2025 23:42:00 GMT+0800 (China Standard Time)</time>
<time datetime="Tue Feb 11 2025 13:16:40 GMT+0800 (China Standard Time)">Tue Feb 11 2025 13:16:40 GMT+0800 (China Standard Time)</time>
</footer>
</body>
</html>
Loading

0 comments on commit 537567e

Please sign in to comment.