refactor: remove stats grid section from homepage

The stats grid section was commented out as it's no longer needed on the homepage. This cleanup improves code maintainability by removing unused UI components.
This commit is contained in:
joyzhao
2025-06-21 10:05:49 +08:00
parent b47ae190e4
commit 6d80b12855
2 changed files with 5 additions and 4 deletions

View File

@@ -266,7 +266,7 @@ const pageTitle = t('site.title');
</div>
<!-- Stats Grid -->
<div class="grid grid-cols-3 gap-4">
<!-- <div class="grid grid-cols-3 gap-4">
<div class="text-center p-4 rounded-xl bg-white/30 dark:bg-gray-700/60 backdrop-blur-sm border border-white/40 dark:border-gray-600/50 hover:bg-white/40 dark:hover:bg-gray-700/80 transition-all duration-300">
<svg class="h-8 w-8 mx-auto mb-2 text-blue-500" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 20l4-16m4 4l4 4-4 4M6 16l-4-4 4-4"></path>
@@ -302,7 +302,7 @@ const pageTitle = t('site.title');
PRs Merged
</div>
</div>
</div>
</div> -->
</div>
<!-- Right side - Skills Toolbox -->
@@ -387,6 +387,7 @@ const pageTitle = t('site.title');
<span class="px-3 py-1 bg-blue-100 dark:bg-blue-800 text-blue-800 dark:text-blue-200 text-xs rounded-full font-medium border border-blue-200 dark:border-blue-700">{t('project.tag.business')}</span>
</div>
<div class="h-48 bg-gradient-to-br from-purple-500/20 to-purple-600/20 relative overflow-hidden">
<div class="absolute inset-0 bg-gradient-to-br from-purple-500/10 to-purple-600/10 group-hover:from-purple-500/20 group-hover:to-purple-600/20 transition-colors duration-500"></div>
<div class="absolute bottom-4 left-4 right-4">

View File

@@ -266,7 +266,7 @@ const pageTitle = t('site.title');
</div>
<!-- Stats Grid -->
<div class="grid grid-cols-3 gap-4">
<!-- <div class="grid grid-cols-3 gap-4">
<div class="text-center p-4 rounded-xl bg-white/30 dark:bg-gray-700/60 backdrop-blur-sm border border-white/40 dark:border-gray-600/50 hover:bg-white/40 dark:hover:bg-gray-700/80 transition-all duration-300">
<svg class="h-8 w-8 mx-auto mb-2 text-blue-500" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 20l4-16m4 4l4 4-4 4M6 16l-4-4 4-4"></path>
@@ -302,7 +302,7 @@ const pageTitle = t('site.title');
PR合并数
</div>
</div>
</div>
</div> -->
</div>
<!-- Right side - Skills Toolbox -->