Skip to content

Commit 36ec9ca

Browse files
committed
cleanup: remove duplicate GitHub and npm buttons from header
- Remove the old GitHub repository and npm package buttons from header section - Keep only the clean navigation bar at the top - Eliminate visual redundancy and improve page layout - Maintain single source of navigation links in the top navbar This cleanup ensures users aren't confused by duplicate navigation elements and provides a cleaner, more professional appearance.
1 parent 118319e commit 36ec9ca

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

website/index.html

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1131,35 +1131,6 @@
11311131
<header>
11321132
<h1>UserScript Template</h1>
11331133
<p>现代化油猴脚本开发模板 - 支持模块化开发、热加载、npm包管理</p>
1134-
1135-
<div class="github-stats">
1136-
<a href="https://github.com/JSREI/userscript-template" target="_blank" class="github-link">
1137-
<span class="text">
1138-
<svg viewBox="0 0 16 16">
1139-
<path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"></path>
1140-
</svg>
1141-
GitHub 仓库
1142-
</span>
1143-
<span class="star-count">
1144-
<svg viewBox="0 0 16 16">
1145-
<path d="M8 .25a.75.75 0 01.673.418l1.882 3.815 4.21.612a.75.75 0 01.416 1.279l-3.046 2.97.719 4.192a.75.75 0 01-1.088.791L8 12.347l-3.766 1.98a.75.75 0 01-1.088-.79l.72-4.194L.818 6.374a.75.75 0 01.416-1.28l4.21-.611L7.327.668A.75.75 0 018 .25z"></path>
1146-
</svg>
1147-
<span id="header-star-count">Loading...</span>
1148-
</span>
1149-
</a>
1150-
1151-
<a href="https://www.npmjs.com/package/@javascript-reverse-engineering-infrastructure/create-userscript" target="_blank" class="github-link" style="background: linear-gradient(135deg, #cb3837, #ff6b6b);">
1152-
<span class="text">
1153-
<svg viewBox="0 0 24 24" style="width: 20px; height: 20px;">
1154-
<path d="M1.763 0C.786 0 0 .786 0 1.763v20.474C0 23.214.786 24 1.763 24h20.474c.977 0 1.763-.786 1.763-1.763V1.763C24 .786 23.214 0 22.237 0zM5.13 5.323l13.837.019-.009 13.836h-3.464l.01-10.382h-3.456L12.04 19.17H5.113z" fill="currentColor"/>
1155-
</svg>
1156-
npm 包
1157-
</span>
1158-
<span class="star-count">
1159-
<span>v1.0.0</span>
1160-
</span>
1161-
</a>
1162-
</div>
11631134
<div class="nav-container">
11641135
<nav>
11651136
<ul>

0 commit comments

Comments
 (0)